Skip to content

Commit

Permalink
docs: remove client-usage sections that no longer apply (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
larkee committed Jun 5, 2020
1 parent 6ec64d8 commit 16a812f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions docs/client-usage.rst
Expand Up @@ -16,17 +16,6 @@ and creating other objects:
from google.cloud import spanner
client = spanner.Client()
Long-lived Defaults
-------------------

When creating a :class:`~google.cloud.spanner_v1.client.Client`, the
``user_agent`` and ``timeout_seconds`` arguments have sensible
defaults
(:data:`~google.cloud.spanner_v1.client.DEFAULT_USER_AGENT` and
:data:`~google.cloud.spanner_v1.client.DEFAULT_TIMEOUT_SECONDS`).
However, you may over-ride them and these will be used throughout all API
requests made with the ``client`` you create.

Configuration
-------------

Expand Down Expand Up @@ -62,18 +51,6 @@ Configuration
Be sure to use the **Project ID**, not the **Project Number**.


Warnings about Multiprocessing
------------------------------

.. warning::
When using multiprocessing, the application may hang if a
:class:`Client <google.cloud.spanner_v1.client.Client>` instance is created
before :class:`multiprocessing.Pool` or :class:`multiprocessing.Process`
invokes :func:`os.fork`. The issue is under investigation, but may be only
happening on Macintosh and not Linux. See `GRPC/GRPC#12455
<https://github.com/grpc/grpc/issues/12455#issuecomment-348578950>`_ for
more information.

Next Step
---------

Expand Down

0 comments on commit 16a812f

Please sign in to comment.