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

Fix metaclass-related pytype issues · Issue #93 · google/python-spanner-orm · GitHub

Fix metaclass-related pytype issues #93

Description

PR #92 adds # type: ignore to some metaclass related issues. This issue is to track the removal of those ignores.

For the issue in spanner_orm/tests/metadata_test.py, the issue seems to be that whilecls.meta is set in the metaclass' __new__, pytype is interpreting the return type annotation of __getattr__ as the type which cls.meta must be.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL