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

feat!: Begin using new microgenerator for v2 firestore #91

Merged
merged 15 commits into from Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .coveragerc
Expand Up @@ -19,7 +19,9 @@
branch = True

[report]
fail_under = 100
# TODO(https://github.com/googleapis/python-firestore/issues/92): raise this
# coverage back to 100%
fail_under = 97
show_missing = True
exclude_lines =
# Re-enable the standard pragma
Expand Down
2 changes: 1 addition & 1 deletion .flake8
Expand Up @@ -16,7 +16,7 @@

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E266, E501, W503
ignore = E203, E231, E266, E501, W503
crwilcox marked this conversation as resolved.
Show resolved Hide resolved
exclude =
# Exclude generated code.
**/proto/**
Expand Down
8 changes: 1 addition & 7 deletions docs/index.rst
@@ -1,12 +1,6 @@
.. include:: README.rst

.. note::

Because the firestore client uses :mod:`grpcio` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.Pool` or
:class:`multiprocessing.Process`.
.. include:: multiprocessing.rst

API Reference
-------------
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/firestore.py
Expand Up @@ -23,7 +23,7 @@
from google.cloud.firestore_v1 import DELETE_FIELD
from google.cloud.firestore_v1 import DocumentReference
from google.cloud.firestore_v1 import DocumentSnapshot
from google.cloud.firestore_v1 import enums
from google.cloud.firestore_v1 import DocumentTransform
from google.cloud.firestore_v1 import ExistsOption
from google.cloud.firestore_v1 import GeoPoint
from google.cloud.firestore_v1 import Increment
Expand All @@ -50,7 +50,7 @@
"DELETE_FIELD",
"DocumentReference",
"DocumentSnapshot",
"enums",
"DocumentTransform",
"ExistsOption",
"GeoPoint",
"Increment",
Expand Down
Empty file.
142 changes: 0 additions & 142 deletions google/cloud/firestore_admin_v1/gapic/enums.py

This file was deleted.