FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Make pytype infer the correct instance attribute type. by dseomn · Pull Request #98 · google/python-spanner-orm · GitHub

Make pytype infer the correct instance attribute type. - #98

Merged
dseomn merged 1 commit into
masterfrom
field-types
Oct 8, 2020
Merged

dseomn merged 1 commit into
masterfrom
field-types

Conversation

dseomn commented Oct 8, 2020

Copy link
Copy Markdown
Contributor

Fields have class attributes of type Field, but instance attributes of
the specific field type (int, str, etc.) This commit is a hack to get
instance attributes to play nicely with pytype. See #97 for a better
long-term solution.

Addresses #93.

Fields have class attributes of type Field, but instance attributes of
the specific field type (int, str, etc.) This commit is a hack to get
instance attributes to play nicely with pytype. See #97 for a better
long-term solution.

Addresses #93.
dseomn requested a review from dgorelik October 8, 2020 20:40
google-cla Bot added the cla: yes label Oct 8, 2020

dseomn commented Oct 8, 2020

Copy link
Copy Markdown
Contributor Author

Tests and pytype both pass locally.

dseomn merged commit 60b334e into master Oct 8, 2020
dseomn deleted the field-types branch October 8, 2020 21:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL