-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add means to Duplicate connections from UI #15574
Add means to Duplicate connections from UI #15574
Conversation
…creating-duplicate-connection-in-ui
@ryanahamilton @ashb Bumping y'all on this since you're code owners here. I think the code looks solid (nice job on the string update logic @pateash). My only nitpick is if |
I have the same feeling as @jhtimmins : should it be snakecase Another thing is: can you also a test case to cover the duplicate logic? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As others have said, we should have it as _copy
not _Copy
.
Additionally, it should be copy1
not copy(1)
so it can be set via env vars if has to. (You can't put ()
in env var names, so AIRFLOW_CONN_FOO_COPY(1)
would not be possible
Co-authored-by: Ash Berlin-Taylor <[email protected]>
…github.com/pateash/airflow into #12401-creating-duplicate-connection-in-ui
…creating-duplicate-connection-in-ui
…-in-ui' into #12401-creating-duplicate-connection-in-ui
Thanks All for valuable comments, |
@ryanahamilton @ashb |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Can you please rebase and solve conflicts @pateash ? |
@ashb -> any more comments or can we merge it ? |
@ashb can you check whether your requested changes have been addressed? |
Co-authored-by: Ash Berlin-Taylor <[email protected]>
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
…creating-duplicate-connection-in-ui
@jyotsa09 |
We should detect this and show a better error message. @jyotsa09 Could you file an issue for this? |
closes: #12401
Description