Content-Length: 389205 | pFad | http://github.com/chemelnucfin/google-cloud-python/commit/a62931abc51cb37c2205870ff126b86b23a10842

F3 Fix build issue with datastore docs. (#4633) · chemelnucfin/google-cloud-python@a62931a · GitHub
Skip to content

Commit a62931a

Browse files
authored
Fix build issue with datastore docs. (googleapis#4633)
Also: - Fix an ambiguous name (`type`) in Pub / Sub (was introduced because I merged with the docs build failing) - Marking the `dataproc` version as `.dev1`
1 parent 56864fc commit a62931a

File tree

3 files changed

+16
-26
lines changed

3 files changed

+16
-26
lines changed

dataproc/google/cloud/dataproc_v1/gapic/cluster_controller_client.py

Lines changed: 14 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def update_cluster(self,
276276
}
277277
}
278278
}
279+
279280
Similarly, to change the number of preemptible workers in a cluster to 5,
280281
the ``update_mask`` parameter would be
281282
``config.secondary_worker_config.num_instances``, and the ``PATCH`` request
@@ -290,30 +291,19 @@ def update_cluster(self,
290291
}
291292
}
292293
}
293-
<strong>Note:</strong> Currently, only the following fields can be updated:
294-
295-
<table>
296-
<tbody>
297-
<tr>
298-
<td><strong>Mask</strong></td>
299-
<td><strong>Purpose</strong></td>
300-
</tr>
301-
<tr>
302-
<td><strong><em>labels</em></strong></td>
303-
<td>Update labels</td>
304-
</tr>
305-
<tr>
306-
<td><strong><em>config.worker_config.num_instances</em></strong></td>
307-
<td>Resize primary worker group</td>
308-
</tr>
309-
<tr>
310-
<td><strong><em>config.secondary_worker_config.num_instances</em></strong></td>
311-
<td>Resize secondary worker group</td>
312-
</tr>
313-
</tbody>
314-
</table>
315-
If a dict is provided, it must be of the same form as the protobuf
316-
message :class:`~google.cloud.dataproc_v1.types.FieldMask`
294+
295+
.. note::
296+
297+
Currently, only the following fields can be updated:
298+
299+
* ``labels``: Update labels
300+
* ``config.worker_config.num_instances``: Resize primary
301+
worker group
302+
* ``config.secondary_worker_config.num_instances``: Resize
303+
secondary worker group
304+
305+
If a dict is provided, it must be of the same form as the protobuf
306+
message :class:`~google.cloud.dataproc_v1.types.FieldMask`
317307
retry (Optional[google.api_core.retry.Retry]): A retry object used
318308
to retry requests. If ``None`` is specified, requests will not
319309
be retried.

dataproc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
setup(
3636
name='google-cloud-dataproc',
37-
version='0.1.0',
37+
version='0.1.0.dev1',
3838
author='Google LLC',
3939
author_email='googleapis-packages@google.com',
4040
classifiers=[

pubsub/google/cloud/pubsub_v1/publisher/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class Client(object):
4343
Args:
4444
batch_settings (~google.cloud.pubsub_v1.types.BatchSettings): The
4545
settings for batch publishing.
46-
batch_class (Optional[type]): A class that describes how to handle
46+
batch_class (Optional[Type]): A class that describes how to handle
4747
batches. You may subclass the
4848
:class:`.pubsub_v1.publisher.batch.base.BaseBatch` class in
4949
order to define your own batcher. This is primarily provided to

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/chemelnucfin/google-cloud-python/commit/a62931abc51cb37c2205870ff126b86b23a10842

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy