Skip to content

Conversation

@tseaver
Copy link
Contributor

@tseaver tseaver commented May 7, 2019

Forward when constructing GAPIC API client object.

Toward #7825.

Forward when constructing GAPIC API client object.

Toward #7825.
@tseaver tseaver added the api: firestore Issues related to the Firestore API. label May 7, 2019
@tseaver tseaver requested a review from tswast May 7, 2019 19:38
@tseaver tseaver requested a review from crwilcox as a code owner May 7, 2019 19:38
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 7, 2019
database (Optional[str]): The database name that the client targets.
For now, :attr:`DEFAULT_DATABASE` (the default value) is the
only valid database.
client_info (Optional[google.api_core.client_info.ClientInfo]):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be documented as a google.api_core.gapic_v1.client_info.ClientInfo, instead?

Same comment as #7876 (comment)

def test_constructor_explicit(self):
credentials = _make_credentials()
database = "now-db"
client_info = mock.Mock()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autospec?

@tseaver tseaver merged commit 953ba1d into googleapis:master May 8, 2019
@tseaver tseaver deleted the 7825-firestore-client_info-support branch May 8, 2019 15:51
parthea pushed a commit that referenced this pull request Nov 24, 2025
Forward when constructing GAPIC API client object.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the Firestore API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants