dstandish commented on PR #32820: URL: https://github.com/apache/airflow/pull/32820#issuecomment-1652054360
@uranusjr thank you very much for taking the time. some of the things you pointed out, i.e. mutating the object after instantiation, are a consequence of the fact that we can set the task as teardown after instantiation. just a few comments on the reason for this... setup and teardown are more like "dependencies" i.e. task relationships than they are individual task attrs. so it makes sense to be able to define those characteristics at the same time and place as you do your arrowing. e.g. being a teardown doesn't quite make complete sense until you declare which setup a teardown is for. thus the setup must exist before we associate it with a teardown etc. there are a few other cases where setting this (or at least being _able_ to set this) on _instances_ rather than at init time is convenient. thoughts? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
