Skip to content

Commit

Permalink
Pick up stub docstring fix in GAPIC generator. (#6988)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Dec 18, 2018
1 parent 6b7d6cf commit 0282e96
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def channel(self):

@property
def get_document(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.get_document`.
Gets a single document.
Expand All @@ -111,7 +111,7 @@ def get_document(self):

@property
def list_documents(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.list_documents`.
Lists documents.
Expand All @@ -124,7 +124,7 @@ def list_documents(self):

@property
def create_document(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.create_document`.
Creates a new document.
Expand All @@ -137,7 +137,7 @@ def create_document(self):

@property
def update_document(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.update_document`.
Updates or inserts a document.
Expand All @@ -150,7 +150,7 @@ def update_document(self):

@property
def delete_document(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.delete_document`.
Deletes a document.
Expand All @@ -163,7 +163,7 @@ def delete_document(self):

@property
def batch_get_documents(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.batch_get_documents`.
Gets multiple documents.
Expand All @@ -179,7 +179,7 @@ def batch_get_documents(self):

@property
def begin_transaction(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.begin_transaction`.
Starts a new transaction.
Expand All @@ -192,7 +192,7 @@ def begin_transaction(self):

@property
def commit(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.commit`.
Commits a transaction, while optionally updating documents.
Expand All @@ -205,7 +205,7 @@ def commit(self):

@property
def rollback(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.rollback`.
Rolls back a transaction.
Expand All @@ -218,7 +218,7 @@ def rollback(self):

@property
def run_query(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.run_query`.
Runs a query.
Expand All @@ -231,7 +231,7 @@ def run_query(self):

@property
def write(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.write`.
Streams batches of document updates and deletes, in order.
Expand All @@ -244,7 +244,7 @@ def write(self):

@property
def listen(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.listen`.
Listens to changes.
Expand All @@ -257,7 +257,7 @@ def listen(self):

@property
def list_collection_ids(self):
"""Return the gRPC stub for {$apiMethod.name}.
"""Return the gRPC stub for :meth:`FirestoreClient.list_collection_ids`.
Lists all the collection IDs underneath a document.
Expand Down
36 changes: 24 additions & 12 deletions firestore/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,26 +1,38 @@
{
"updateTime": "2018-12-18T15:42:58.363352Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.3",
"dockerImage": "googleapis/artman@sha256:bfb92654b4a77368471f70e2808eaf4e60f263b9559f27bb3284097322787bf1"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "36f292faa9a7bffae6abef4885a2ec7936dc47a6",
"internalRef": "222122496"
"sha": "c04bc0dc0a9164d924a9ab923fd6845b4ae6a7ab",
"internalRef": "225851467"
}
},
{
"git": {
"name": "googleapis-private",
"remote": "https://github.com/googleapis/googleapis-private.git",
"sha": "05e2ff6ef669808daed3c3b2f97eec514bd18d76",
"internalRef": "222154680"
"template": {
"name": "python_library",
"origin": "synthtool.gcp",
"version": "2018.12.6"
}
},
}
],
"destinations": [
{
"generator": {
"name": "artman",
"version": "0.16.0",
"dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b"
"client": {
"source": "googleapis",
"apiName": "firestore",
"apiVersion": "v1beta1",
"language": "python",
"generator": "gapic",
"config": "google/firestore/artman_firestore.yaml"
}
}
]
Expand Down

0 comments on commit 0282e96

Please sign in to comment.