Skip to content
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

fix: Fix client template type hints #593

Merged
merged 4 commits into from
Sep 15, 2020

Conversation

dpcollins-google
Copy link
Contributor

This template causes type errors because it declares the type of a parameter to be an imported file. Remove the confusion here, and also correctly annotate some possibly-None parameters.

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 14, 2020
@dpcollins-google
Copy link
Contributor Author

Will fix build errors due to aliasing name.

@dpcollins-google
Copy link
Contributor Author

Will fix build errors due to aliasing name.

fixed

@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #593 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #593   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1519      1519           
  Branches       309       309           
=========================================
  Hits          1519      1519           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea6ca42...9785480. Read the comment docs.

Copy link
Contributor

@software-dov software-dov left a comment

Choose a reason for hiding this comment

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

LGTM. Could you please apply these changes to 'ads-templates/.../client.py.j2' as well?

@dpcollins-google
Copy link
Contributor Author

LGTM. Could you please apply these changes to 'ads-templates/.../client.py.j2' as well?

Done. Should be ready to merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants