Skip to content

Conversation

@mik-laj
Copy link
Member

@mik-laj mik-laj commented Apr 16, 2020

Fix for: https://issues.apache.org/jira/browse/AIRFLOW-2153

Make sure to mark the boxes below before creating PR: [x]


In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.
Read the Pull Request Guidelines for more information.

@mik-laj mik-laj added the provider:google Google (including GCP) related issues label Apr 16, 2020
Copy link
Member

@turbaszek turbaszek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small suggestions otherwise LGTM

Comment on lines 695 to 696
elif isinstance(value, bool):
if value: # pylint: disable=too-many-nested-blocks
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
elif isinstance(value, bool):
if value: # pylint: disable=too-many-nested-blocks
elif isinstance(value, bool) and value:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here value is True will also work

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Did you know that you can already add suggestions on multiple lines?
https://github.blog/changelog/2020-02-26-multi-line-code-suggestions-beta/
Demo:
#8394 (comment)
Thanks to this, you can quickly edit files from Web UI.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I know

Co-Authored-By: Tomek Urbaszek <tomasz.urbaszek@polidea.com>
@mik-laj mik-laj changed the title Allow allow multiple extra_packages in Dataflow Allow multiple extra_packages in Dataflow Apr 20, 2020
@mik-laj mik-laj merged commit 5d3a7ee into apache:master Apr 20, 2020
@mik-laj mik-laj deleted the dataflow-multiple-extra-2 branch April 20, 2020 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants