Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-04-07 Thread via GitHub
potiuk commented on PR #38015: URL: https://github.com/apache/airflow/pull/38015#issuecomment-2041529236 > If we can add the newsfragtment on the docs this woul dbe great for others potentially stumbling into it. Agree :) -- This is an automated message from the Apache Git

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-04-07 Thread via GitHub
jscheffl commented on PR #38015: URL: https://github.com/apache/airflow/pull/38015#issuecomment-2041524410 Thanks @potiuk for the detailled background. Convinced. And believe me, I did not want to revert and call for an RC4 - if we can add the newsfragtment on the docs this woul dbe great

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-04-07 Thread via GitHub
potiuk commented on PR #38015: URL: https://github.com/apache/airflow/pull/38015#issuecomment-2041517914 I think a little bit more context is needed on that one, becuase this is a follow-up and really fix of another problem introdued in 2.8 in https://github.com/apache/airflow/pull/33430 (

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-04-07 Thread via GitHub
jscheffl commented on PR #38015: URL: https://github.com/apache/airflow/pull/38015#issuecomment-2041348474 Uh, oh, late to the party. I noticed this change which - after some reading - really looks understandable. But when testing 2.9.0RC2 I had a lot of broken DAGs and it felt to be like a

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-22 Thread via GitHub
boring-cyborg[bot] commented on PR #38015: URL: https://github.com/apache/airflow/pull/38015#issuecomment-2015977471 Awesome work, congrats on your first merged pull request! You are invited to check our [Issue Tracker](https://github.com/apache/airflow/issues) for additional contributions.

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-22 Thread via GitHub
potiuk merged PR #38015: URL: https://github.com/apache/airflow/pull/38015 -- 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: commits-unsubscr...@airflow.a

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-16 Thread via GitHub
kevinalh commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1527170374 ## airflow/decorators/base.py: ## @@ -208,11 +208,35 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-12 Thread via GitHub
uranusjr commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1521948279 ## airflow/decorators/base.py: ## @@ -208,11 +208,35 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-12 Thread via GitHub
uranusjr commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1521947442 ## tests/decorators/test_python.py: ## @@ -259,6 +259,16 @@ def add_number(num: int) -> int: add_number() add_number("test") +def test_fa

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-12 Thread via GitHub
uranusjr commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1521946748 ## airflow/decorators/base.py: ## @@ -208,11 +208,35 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-11 Thread via GitHub
kevinalh commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1520710330 ## airflow/decorators/base.py: ## @@ -208,11 +208,36 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-11 Thread via GitHub
Taragolis commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1519372994 ## airflow/decorators/base.py: ## @@ -208,11 +208,36 @@ def __init__( # since values for those will be provided when the task is run. Since # we'r

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-10 Thread via GitHub
kevinalh commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1518928827 ## airflow/decorators/base.py: ## @@ -208,11 +208,25 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-10 Thread via GitHub
kevinalh commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1518928827 ## airflow/decorators/base.py: ## @@ -208,11 +208,25 @@ def __init__( # since values for those will be provided when the task is run. Since # we're

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-09 Thread via GitHub
potiuk commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1518758684 ## airflow/decorators/base.py: ## @@ -208,11 +208,25 @@ def __init__( # since values for those will be provided when the task is run. Since # we're n

Re: [PR] Don't allow defaults other than None in context parameters, and improve error message [airflow]

2024-03-09 Thread via GitHub
potiuk commented on code in PR #38015: URL: https://github.com/apache/airflow/pull/38015#discussion_r1518758684 ## airflow/decorators/base.py: ## @@ -208,11 +208,25 @@ def __init__( # since values for those will be provided when the task is run. Since # we're n