Skip to content

Commit

Permalink
feat: add inline type hints and pytype ci (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Aug 6, 2020
1 parent 4256a85 commit afff842
Show file tree
Hide file tree
Showing 36 changed files with 497 additions and 271 deletions.
4 changes: 4 additions & 0 deletions google/cloud/firestore.py
Expand Up @@ -46,6 +46,10 @@
from google.cloud.firestore_v1 import Watch
from google.cloud.firestore_v1 import WriteBatch
from google.cloud.firestore_v1 import WriteOption
from typing import List

__all__: List[str]
__version__: str


__all__ = [
Expand Down
Expand Up @@ -28,8 +28,8 @@
from google.auth import credentials # type: ignore
from google.oauth2 import service_account # type: ignore

from google.api_core import operation as ga_operation
from google.api_core import operation_async
from google.api_core import operation as ga_operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.firestore_admin_v1.services.firestore_admin import pagers
from google.cloud.firestore_admin_v1.types import field
from google.cloud.firestore_admin_v1.types import field as gfa_field
Expand Down
Expand Up @@ -30,9 +30,9 @@
from google.auth.exceptions import MutualTLSChannelError # type: ignore
from google.oauth2 import service_account # type: ignore

from google.api_core import operation as ga_operation
from google.api_core import operation
from google.api_core import operation_async
from google.api_core import operation as ga_operation # type: ignore
from google.api_core import operation # type: ignore
from google.api_core import operation_async # type: ignore
from google.cloud.firestore_admin_v1.services.firestore_admin import pagers
from google.cloud.firestore_admin_v1.types import field
from google.cloud.firestore_admin_v1.types import field as gfa_field
Expand Down
Expand Up @@ -18,7 +18,7 @@
import abc
import typing

from google import auth
from google import auth # type: ignore
from google.api_core import exceptions # type: ignore
from google.api_core import operations_v1 # type: ignore
from google.auth import credentials # type: ignore
Expand Down
4 changes: 4 additions & 0 deletions google/cloud/firestore_v1/__init__.py
Expand Up @@ -97,6 +97,10 @@
# from .types.write import DocumentDelete
# from .types.write import DocumentRemove
from .types.write import DocumentTransform
from typing import List

__all__: List[str]
__version__: str

# from .types.write import ExistenceFilter
# from .types.write import Write
Expand Down

0 comments on commit afff842

Please sign in to comment.