Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8ca8cf2

Browse files
chore: use gapic-generator-python 0.62.1 (#574)
- [ ] Regenerate this pull request now.fix: resolve DuplicateCredentialArgs error when using credentials_filecommitter: partheaPiperOrigin-RevId: 425964861Source-Link:googleapis/googleapis@84b1a5aSource-Link:googleapis/googleapis-gen@4fb761bCopy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGZiNzYxYmJkODUwNmFjMTU2ZjQ5YmFjNWYxODMwNmFhOGViM2FhOCJ9
1 parentd136dfd commit8ca8cf2

File tree

15 files changed

+320
-87
lines changed

15 files changed

+320
-87
lines changed

‎google/pubsub_v1/services/publisher/async_client.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ async def create_topic(
248248
A topic resource.
249249
"""
250250
# Create or coerce a protobuf request object.
251-
#Sanity check: If we got a request object, we should *not* have
251+
#Quick check: If we got a request object, we should *not* have
252252
# gotten any keyword arguments that map to the request.
253253
has_flattened_params=any([name])
254254
ifrequestisnotNoneandhas_flattened_params:
@@ -393,7 +393,7 @@ async def publish(
393393
Response for the Publish method.
394394
"""
395395
# Create or coerce a protobuf request object.
396-
#Sanity check: If we got a request object, we should *not* have
396+
#Quick check: If we got a request object, we should *not* have
397397
# gotten any keyword arguments that map to the request.
398398
has_flattened_params=any([topic,messages])
399399
ifrequestisnotNoneandhas_flattened_params:
@@ -479,7 +479,7 @@ async def get_topic(
479479
A topic resource.
480480
"""
481481
# Create or coerce a protobuf request object.
482-
#Sanity check: If we got a request object, we should *not* have
482+
#Quick check: If we got a request object, we should *not* have
483483
# gotten any keyword arguments that map to the request.
484484
has_flattened_params=any([topic])
485485
ifrequestisnotNoneandhas_flattened_params:
@@ -563,7 +563,7 @@ async def list_topics(
563563
564564
"""
565565
# Create or coerce a protobuf request object.
566-
#Sanity check: If we got a request object, we should *not* have
566+
#Quick check: If we got a request object, we should *not* have
567567
# gotten any keyword arguments that map to the request.
568568
has_flattened_params=any([project])
569569
ifrequestisnotNoneandhas_flattened_params:
@@ -656,7 +656,7 @@ async def list_topic_subscriptions(
656656
657657
"""
658658
# Create or coerce a protobuf request object.
659-
#Sanity check: If we got a request object, we should *not* have
659+
#Quick check: If we got a request object, we should *not* have
660660
# gotten any keyword arguments that map to the request.
661661
has_flattened_params=any([topic])
662662
ifrequestisnotNoneandhas_flattened_params:
@@ -753,7 +753,7 @@ async def list_topic_snapshots(
753753
754754
"""
755755
# Create or coerce a protobuf request object.
756-
#Sanity check: If we got a request object, we should *not* have
756+
#Quick check: If we got a request object, we should *not* have
757757
# gotten any keyword arguments that map to the request.
758758
has_flattened_params=any([topic])
759759
ifrequestisnotNoneandhas_flattened_params:
@@ -841,7 +841,7 @@ async def delete_topic(
841841
sent along with the request as metadata.
842842
"""
843843
# Create or coerce a protobuf request object.
844-
#Sanity check: If we got a request object, we should *not* have
844+
#Quick check: If we got a request object, we should *not* have
845845
# gotten any keyword arguments that map to the request.
846846
has_flattened_params=any([topic])
847847
ifrequestisnotNoneandhas_flattened_params:

‎google/pubsub_v1/services/publisher/client.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def create_topic(
497497
A topic resource.
498498
"""
499499
# Create or coerce a protobuf request object.
500-
#Sanity check: If we got a request object, we should *not* have
500+
#Quick check: If we got a request object, we should *not* have
501501
# gotten any keyword arguments that map to the request.
502502
has_flattened_params=any([name])
503503
ifrequestisnotNoneandhas_flattened_params:
@@ -627,7 +627,7 @@ def publish(
627627
Response for the Publish method.
628628
"""
629629
# Create or coerce a protobuf request object.
630-
#Sanity check: If we got a request object, we should *not* have
630+
#Quick check: If we got a request object, we should *not* have
631631
# gotten any keyword arguments that map to the request.
632632
has_flattened_params=any([topic,messages])
633633
ifrequestisnotNoneandhas_flattened_params:
@@ -699,7 +699,7 @@ def get_topic(
699699
A topic resource.
700700
"""
701701
# Create or coerce a protobuf request object.
702-
#Sanity check: If we got a request object, we should *not* have
702+
#Quick check: If we got a request object, we should *not* have
703703
# gotten any keyword arguments that map to the request.
704704
has_flattened_params=any([topic])
705705
ifrequestisnotNoneandhas_flattened_params:
@@ -773,7 +773,7 @@ def list_topics(
773773
774774
"""
775775
# Create or coerce a protobuf request object.
776-
#Sanity check: If we got a request object, we should *not* have
776+
#Quick check: If we got a request object, we should *not* have
777777
# gotten any keyword arguments that map to the request.
778778
has_flattened_params=any([project])
779779
ifrequestisnotNoneandhas_flattened_params:
@@ -856,7 +856,7 @@ def list_topic_subscriptions(
856856
857857
"""
858858
# Create or coerce a protobuf request object.
859-
#Sanity check: If we got a request object, we should *not* have
859+
#Quick check: If we got a request object, we should *not* have
860860
# gotten any keyword arguments that map to the request.
861861
has_flattened_params=any([topic])
862862
ifrequestisnotNoneandhas_flattened_params:
@@ -943,7 +943,7 @@ def list_topic_snapshots(
943943
944944
"""
945945
# Create or coerce a protobuf request object.
946-
#Sanity check: If we got a request object, we should *not* have
946+
#Quick check: If we got a request object, we should *not* have
947947
# gotten any keyword arguments that map to the request.
948948
has_flattened_params=any([topic])
949949
ifrequestisnotNoneandhas_flattened_params:
@@ -1021,7 +1021,7 @@ def delete_topic(
10211021
sent along with the request as metadata.
10221022
"""
10231023
# Create or coerce a protobuf request object.
1024-
#Sanity check: If we got a request object, we should *not* have
1024+
#Quick check: If we got a request object, we should *not* have
10251025
# gotten any keyword arguments that map to the request.
10261026
has_flattened_params=any([topic])
10271027
ifrequestisnotNoneandhas_flattened_params:

‎google/pubsub_v1/services/publisher/transports/grpc.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def __init__(
162162
ifnotself._grpc_channel:
163163
self._grpc_channel=type(self).create_channel(
164164
self._host,
165+
# use the credentials which are saved
165166
credentials=self._credentials,
166-
credentials_file=credentials_file,
167+
# Set ``credentials_file`` to ``None`` here as
168+
# the credentials that we saved earlier should be used.
169+
credentials_file=None,
167170
scopes=self._scopes,
168171
ssl_credentials=self._ssl_channel_credentials,
169172
quota_project_id=quota_project_id,

‎google/pubsub_v1/services/publisher/transports/grpc_asyncio.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,11 @@ def __init__(
207207
ifnotself._grpc_channel:
208208
self._grpc_channel=type(self).create_channel(
209209
self._host,
210+
# use the credentials which are saved
210211
credentials=self._credentials,
211-
credentials_file=credentials_file,
212+
# Set ``credentials_file`` to ``None`` here as
213+
# the credentials that we saved earlier should be used.
214+
credentials_file=None,
212215
scopes=self._scopes,
213216
ssl_credentials=self._ssl_channel_credentials,
214217
quota_project_id=quota_project_id,

‎google/pubsub_v1/services/schema_service/async_client.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ async def create_schema(
260260
A schema resource.
261261
"""
262262
# Create or coerce a protobuf request object.
263-
#Sanity check: If we got a request object, we should *not* have
263+
#Quick check: If we got a request object, we should *not* have
264264
# gotten any keyword arguments that map to the request.
265265
has_flattened_params=any([parent,schema,schema_id])
266266
ifrequestisnotNoneandhas_flattened_params:
@@ -332,7 +332,7 @@ async def get_schema(
332332
A schema resource.
333333
"""
334334
# Create or coerce a protobuf request object.
335-
#Sanity check: If we got a request object, we should *not* have
335+
#Quick check: If we got a request object, we should *not* have
336336
# gotten any keyword arguments that map to the request.
337337
has_flattened_params=any([name])
338338
ifrequestisnotNoneandhas_flattened_params:
@@ -405,7 +405,7 @@ async def list_schemas(
405405
406406
"""
407407
# Create or coerce a protobuf request object.
408-
#Sanity check: If we got a request object, we should *not* have
408+
#Quick check: If we got a request object, we should *not* have
409409
# gotten any keyword arguments that map to the request.
410410
has_flattened_params=any([parent])
411411
ifrequestisnotNoneandhas_flattened_params:
@@ -476,7 +476,7 @@ async def delete_schema(
476476
sent along with the request as metadata.
477477
"""
478478
# Create or coerce a protobuf request object.
479-
#Sanity check: If we got a request object, we should *not* have
479+
#Quick check: If we got a request object, we should *not* have
480480
# gotten any keyword arguments that map to the request.
481481
has_flattened_params=any([name])
482482
ifrequestisnotNoneandhas_flattened_params:
@@ -554,7 +554,7 @@ async def validate_schema(
554554
555555
"""
556556
# Create or coerce a protobuf request object.
557-
#Sanity check: If we got a request object, we should *not* have
557+
#Quick check: If we got a request object, we should *not* have
558558
# gotten any keyword arguments that map to the request.
559559
has_flattened_params=any([parent,schema])
560560
ifrequestisnotNoneandhas_flattened_params:

‎google/pubsub_v1/services/schema_service/client.py‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ def create_schema(
452452
A schema resource.
453453
"""
454454
# Create or coerce a protobuf request object.
455-
#Sanity check: If we got a request object, we should *not* have
455+
#Quick check: If we got a request object, we should *not* have
456456
# gotten any keyword arguments that map to the request.
457457
has_flattened_params=any([parent,schema,schema_id])
458458
ifrequestisnotNoneandhas_flattened_params:
@@ -524,7 +524,7 @@ def get_schema(
524524
A schema resource.
525525
"""
526526
# Create or coerce a protobuf request object.
527-
#Sanity check: If we got a request object, we should *not* have
527+
#Quick check: If we got a request object, we should *not* have
528528
# gotten any keyword arguments that map to the request.
529529
has_flattened_params=any([name])
530530
ifrequestisnotNoneandhas_flattened_params:
@@ -597,7 +597,7 @@ def list_schemas(
597597
598598
"""
599599
# Create or coerce a protobuf request object.
600-
#Sanity check: If we got a request object, we should *not* have
600+
#Quick check: If we got a request object, we should *not* have
601601
# gotten any keyword arguments that map to the request.
602602
has_flattened_params=any([parent])
603603
ifrequestisnotNoneandhas_flattened_params:
@@ -668,7 +668,7 @@ def delete_schema(
668668
sent along with the request as metadata.
669669
"""
670670
# Create or coerce a protobuf request object.
671-
#Sanity check: If we got a request object, we should *not* have
671+
#Quick check: If we got a request object, we should *not* have
672672
# gotten any keyword arguments that map to the request.
673673
has_flattened_params=any([name])
674674
ifrequestisnotNoneandhas_flattened_params:
@@ -746,7 +746,7 @@ def validate_schema(
746746
747747
"""
748748
# Create or coerce a protobuf request object.
749-
#Sanity check: If we got a request object, we should *not* have
749+
#Quick check: If we got a request object, we should *not* have
750750
# gotten any keyword arguments that map to the request.
751751
has_flattened_params=any([parent,schema])
752752
ifrequestisnotNoneandhas_flattened_params:

‎google/pubsub_v1/services/schema_service/transports/grpc.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,11 @@ def __init__(
162162
ifnotself._grpc_channel:
163163
self._grpc_channel=type(self).create_channel(
164164
self._host,
165+
# use the credentials which are saved
165166
credentials=self._credentials,
166-
credentials_file=credentials_file,
167+
# Set ``credentials_file`` to ``None`` here as
168+
# the credentials that we saved earlier should be used.
169+
credentials_file=None,
167170
scopes=self._scopes,
168171
ssl_credentials=self._ssl_channel_credentials,
169172
quota_project_id=quota_project_id,

‎google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,11 @@ def __init__(
207207
ifnotself._grpc_channel:
208208
self._grpc_channel=type(self).create_channel(
209209
self._host,
210+
# use the credentials which are saved
210211
credentials=self._credentials,
211-
credentials_file=credentials_file,
212+
# Set ``credentials_file`` to ``None`` here as
213+
# the credentials that we saved earlier should be used.
214+
credentials_file=None,
212215
scopes=self._scopes,
213216
ssl_credentials=self._ssl_channel_credentials,
214217
quota_project_id=quota_project_id,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp