Karthikeyan Singaravelan

Results 129 comments of Karthikeyan Singaravelan

This is done in dataclasses at https://github.com/python/cpython/blob/8ab5b7eecaa1a1a249afbd3bf8358ce2b12e4713/Lib/dataclasses.py#L1089-L1092 where `__match_args__` is set depending upon match_args parameter value.

There is no backwards compatibility issue but some users wanted an option to turn it off. Detailed discussion : https://bugs.python.org/issue43764 I added support for attrs too to support pattern matching....

Off topic but dataclasses also supports kw_only and slots too . Doc issue https://bugs.python.org/issue43997

This could be similar to https://github.com/wemake-services/wemake-python-styleguide/issues/1652. There were some changes to ast.Subscript that could be causing this https://bugs.python.org/issue40430

CPython has done several tweaks to get better results. IMO, it's better to use the suggestions from the compiler itself to avoid any discrepancy and to avoid reimplementing/maintaining the algorithm....

1. For mapped tasks render might need to retrieve `template_fields` from task instead of `task.__class__` and rendered task needs to be used so that the values are displayed for mapped...

As per my debugging I guess the `NOTSET` object being set is different across task runs in the scheduler is different causing conditionals to return False. The exact case reported...

I guess the issue occurs that after setting state the subdags are cleared with `only_failed` as always True. Hence if the state being set is failed then it goes on...

Related PR for more discussion : https://github.com/apache/airflow/pull/13037

Another scenario is that when the `task_1` being set to mark as failed is already in failed state and downstream task `task_2` also marked as failure already. Then marking the...