Skip to content

DocumentReference.get() does not support optional arguments #86

@SHGoldfarb

Description

@SHGoldfarb

Reference:

def get(self) -> DocumentSnapshot:
return DocumentSnapshot(self, get_by_path(self._data, self._path))

The get method should support optional field_paths, transaction, retry and timeout arguments as documented here

get(
    field_paths: typing.Optional[typing.Iterable[str]] = None,
    transaction=None,
    retry: google.api_core.retry.retry_unary.Retry = _MethodDefault._DEFAULT_VALUE,
    timeout: typing.Optional[float] = None,
) -> google.cloud.firestore_v1.base_document.DocumentSnapshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions