Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SHGoldfarb opened this issue Aug 8, 2024 · 0 comments
Open

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

SHGoldfarb opened this issue Aug 8, 2024 · 0 comments

Comments

@SHGoldfarb
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant