Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect return type in update_database_ddl() docs #41

@IlyaFaer

Description

@IlyaFaer

In update_database_ddl() method docs it's said:

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:

: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.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions