Code Monkey home page Code Monkey logo

Comments (11)

dstandish avatar dstandish commented on May 26, 2024 1

i was more curious about "the only question is whether we can cut it now or not"

i guess what you mean is, whether we can remove it immediately, or we simply deprecate it and leave it

from airflow.

dstandish avatar dstandish commented on May 26, 2024 1

I think we probably could just remove it. It would be sorta not too bad if someone was actually using it because the cluster would no run I think
so hopefully they'd discover very early in pre-upgrade testing
BUT it probably also doesn't hurt too much to just mark deprecated. @jedcunningham wdyt

from airflow.

abhishekbhakat avatar abhishekbhakat commented on May 26, 2024

We can close the PR #38709 if we decide to strip this feature completely.

from airflow.

abhishekbhakat avatar abhishekbhakat commented on May 26, 2024

cc @dstandish

from airflow.

jedcunningham avatar jedcunningham commented on May 26, 2024

I also commented in the PR, but I think we should just keep it scoped to TaskHandlerWithCustomFormatter (it's already documented that way fwiw). My 2c.

from airflow.

jedcunningham avatar jedcunningham commented on May 26, 2024

So the question is whether we can cut it now or not. It'd be possible for a user to swap in TaskHandlerWithCustomFormatter in airflow_local_settings, right?

I say we mark it as deprecated. Not sure on the removal though.

from airflow.

dstandish avatar dstandish commented on May 26, 2024

So the question is whether we can cut it now or not. It'd be possible for a user to swap in TaskHandlerWithCustomFormatter in airflow_local_settings, right?

sorry didn't understand @jedcunningham can you clarify?

from airflow.

abhishekbhakat avatar abhishekbhakat commented on May 26, 2024

I think we can remove it cause anyway it is unreachable code. So we can be sure no one is using it.

from airflow.

abhishekbhakat avatar abhishekbhakat commented on May 26, 2024

It'd be possible for a user to swap in TaskHandlerWithCustomFormatter in airflow_local_settings, right?

Nah, it's inheriting StreamHandler which is not at all used for Task logs. Task logs are only FileHandlers. So no matter what settings we use in airflow_local_settings this will never work.

from airflow.

jedcunningham avatar jedcunningham commented on May 26, 2024

So the question is whether we can cut it now or not. It'd be possible for a user to swap in TaskHandlerWithCustomFormatter in airflow_local_settings, right?

sorry didn't understand @jedcunningham can you clarify?

If a user has replaced FileTaskHandler with TaskHandlerWithCustomFormatter for the task handler in airflow_local_settings, does it work?

from airflow.

jedcunningham avatar jedcunningham commented on May 26, 2024

Yep exactly.

from airflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.