-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.
Description
In update_database_ddl()
method docs it's said:
python-spanner/google/cloud/spanner_admin_database_v1/gapic/database_admin_client.py
Lines 478 to 479 in e378ba0
Returns: | |
A :class:`~google.cloud.spanner_admin_database_v1.types._OperationFuture` instance. |
But looks like in fact in returns google.api_core.operation.Operation
:
It's documented correctly in method Database.update_ddl()
, which calls update_database_ddl()
and returns it's return value:
python-spanner/google/cloud/spanner_v1/database.py
Lines 372 to 373 in e378ba0
:rtype: :class:`google.api_core.operation.Operation` | |
:returns: an operation instance |
It's the only place where update_database_ddl()
is called, so I assume we can safely change return type in docs.
Metadata
Metadata
Assignees
Labels
api: spannerIssues related to the googleapis/python-spanner API.Issues related to the googleapis/python-spanner API.type: docsImprovement to the documentation for an API.Improvement to the documentation for an API.