Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs: add multiprocessing note (via synth) (#10)
Browse files Browse the repository at this point in the history
Release-As: 0.2.0
  • Loading branch information
yoshi-automation committed May 13, 2020
1 parent 6516e44 commit 6527890
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
4 changes: 3 additions & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.. include:: README.rst

.. include:: multiprocessing.rst

Api Reference
-------------
.. toctree::
Expand All @@ -16,4 +18,4 @@ For a list of all ``google-cloud-access-approval`` releases:
.. toctree::
:maxdepth: 2

changelog
changelog
7 changes: 7 additions & 0 deletions docs/multiprocessing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. note::

Because this 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`.
3 changes: 1 addition & 2 deletions google/cloud/accessapproval_v1/proto/accessapproval_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1435,8 +1435,7 @@
{
"DESCRIPTOR": _ACCESSAPPROVALSETTINGS,
"__module__": "google.cloud.accessapproval_v1.proto.accessapproval_pb2",
"__doc__": """Settings on a Project/Folder/Organization related to
Access Approval.
"__doc__": """Settings on a Project/Folder/Organization related to Access Approval.
Attributes:
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@
{
"git": {
"name": ".",
"remote": "git@github.com:googleapis/python-access-approval",
"sha": "acb4951680f6337c4d8333ad3ee73f46e17eea8d"
"remote": "https://github.com/googleapis/python-access-approval.git",
"sha": "6516e44eaab81987d606b6f04ae716eaa64d8ed4"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "756b174de4a122461993c1c583345533d819936d",
"internalRef": "308824110"
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
"internalRef": "310660461"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "01b6f23d24b27878b48667ce597876d66b59780e"
"sha": "4fa923bd3dafb91df8613accbe2230299cc5b98e"
}
}
],
Expand Down

0 comments on commit 6527890

Please sign in to comment.