Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E266, E501, W503
ignore = E203, E231, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
Expand Down
8 changes: 1 addition & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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.

Loading