google-cloud-dataform 0.5.10__tar.gz → 0.5.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/MANIFEST.in +1 -1
  2. {google-cloud-dataform-0.5.10/google_cloud_dataform.egg-info → google_cloud_dataform-0.5.12}/PKG-INFO +3 -1
  3. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform/gapic_version.py +1 -1
  4. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/gapic_version.py +1 -1
  5. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +30 -29
  6. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/client.py +28 -26
  7. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +300 -22
  8. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +25 -0
  9. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +89 -51
  10. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +2504 -2222
  11. google_cloud_dataform-0.5.12/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +2891 -0
  12. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12/google_cloud_dataform.egg-info}/PKG-INFO +3 -1
  13. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/SOURCES.txt +1 -0
  14. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/requires.txt +3 -0
  15. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/setup.py +4 -0
  16. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +11849 -10599
  17. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/LICENSE +0 -0
  18. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/README.rst +0 -0
  19. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform/__init__.py +0 -0
  20. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform/py.typed +0 -0
  21. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/__init__.py +0 -0
  22. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/gapic_metadata.json +0 -0
  23. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/py.typed +0 -0
  24. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
  25. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
  26. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
  27. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +0 -0
  28. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/types/__init__.py +0 -0
  29. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/types/dataform.py +0 -0
  30. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
  31. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
  32. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/top_level.txt +0 -0
  33. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/setup.cfg +0 -0
  34. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/tests/__init__.py +0 -0
  35. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/tests/unit/__init__.py +0 -0
  36. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/tests/unit/gapic/__init__.py +0 -0
  37. {google-cloud-dataform-0.5.10 → google_cloud_dataform-0.5.12}/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2024 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-dataform
3
- Version: 0.5.10
3
+ Version: 0.5.12
4
4
  Summary: Google Cloud Dataform API client library
5
5
  Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataform
6
6
  Author: Google LLC
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
21
22
  Classifier: Operating System :: OS Independent
22
23
  Classifier: Topic :: Internet
23
24
  Requires-Python: >=3.7
@@ -25,6 +26,7 @@ License-File: LICENSE
25
26
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.1
26
27
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
27
28
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
29
+ Requires-Dist: proto-plus<2.0.0dev,>=1.25.0; python_version >= "3.13"
28
30
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
29
31
  Requires-Dist: grpc-google-iam-v1<1.0.0dev,>=0.12.4
30
32
 
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.5.10" # {x-release-please-version}
16
+ __version__ = "0.5.12" # {x-release-please-version}
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.5.10" # {x-release-please-version}
16
+ __version__ = "0.5.12" # {x-release-please-version}
@@ -14,7 +14,6 @@
14
14
  # limitations under the License.
15
15
  #
16
16
  from collections import OrderedDict
17
- import functools
18
17
  import re
19
18
  from typing import (
20
19
  Callable,
@@ -203,9 +202,7 @@ class DataformAsyncClient:
203
202
  """
204
203
  return self._client._universe_domain
205
204
 
206
- get_transport_class = functools.partial(
207
- type(DataformClient).get_transport_class, type(DataformClient)
208
- )
205
+ get_transport_class = DataformClient.get_transport_class
209
206
 
210
207
  def __init__(
211
208
  self,
@@ -384,6 +381,8 @@ class DataformAsyncClient:
384
381
  method=rpc,
385
382
  request=request,
386
383
  response=response,
384
+ retry=retry,
385
+ timeout=timeout,
387
386
  metadata=metadata,
388
387
  )
389
388
 
@@ -1075,6 +1074,8 @@ class DataformAsyncClient:
1075
1074
  method=rpc,
1076
1075
  request=request,
1077
1076
  response=response,
1077
+ retry=retry,
1078
+ timeout=timeout,
1078
1079
  metadata=metadata,
1079
1080
  )
1080
1081
 
@@ -1171,6 +1172,8 @@ class DataformAsyncClient:
1171
1172
  method=rpc,
1172
1173
  request=request,
1173
1174
  response=response,
1175
+ retry=retry,
1176
+ timeout=timeout,
1174
1177
  metadata=metadata,
1175
1178
  )
1176
1179
 
@@ -1453,6 +1456,8 @@ class DataformAsyncClient:
1453
1456
  method=rpc,
1454
1457
  request=request,
1455
1458
  response=response,
1459
+ retry=retry,
1460
+ timeout=timeout,
1456
1461
  metadata=metadata,
1457
1462
  )
1458
1463
 
@@ -2498,6 +2503,8 @@ class DataformAsyncClient:
2498
2503
  method=rpc,
2499
2504
  request=request,
2500
2505
  response=response,
2506
+ retry=retry,
2507
+ timeout=timeout,
2501
2508
  metadata=metadata,
2502
2509
  )
2503
2510
 
@@ -3189,6 +3196,8 @@ class DataformAsyncClient:
3189
3196
  method=rpc,
3190
3197
  request=request,
3191
3198
  response=response,
3199
+ retry=retry,
3200
+ timeout=timeout,
3192
3201
  metadata=metadata,
3193
3202
  )
3194
3203
 
@@ -3755,6 +3764,8 @@ class DataformAsyncClient:
3755
3764
  method=rpc,
3756
3765
  request=request,
3757
3766
  response=response,
3767
+ retry=retry,
3768
+ timeout=timeout,
3758
3769
  metadata=metadata,
3759
3770
  )
3760
3771
 
@@ -4079,6 +4090,8 @@ class DataformAsyncClient:
4079
4090
  method=rpc,
4080
4091
  request=request,
4081
4092
  response=response,
4093
+ retry=retry,
4094
+ timeout=timeout,
4082
4095
  metadata=metadata,
4083
4096
  )
4084
4097
 
@@ -4197,6 +4210,8 @@ class DataformAsyncClient:
4197
4210
  method=rpc,
4198
4211
  request=request,
4199
4212
  response=response,
4213
+ retry=retry,
4214
+ timeout=timeout,
4200
4215
  metadata=metadata,
4201
4216
  )
4202
4217
 
@@ -4763,6 +4778,8 @@ class DataformAsyncClient:
4763
4778
  method=rpc,
4764
4779
  request=request,
4765
4780
  response=response,
4781
+ retry=retry,
4782
+ timeout=timeout,
4766
4783
  metadata=metadata,
4767
4784
  )
4768
4785
 
@@ -5252,6 +5269,8 @@ class DataformAsyncClient:
5252
5269
  method=rpc,
5253
5270
  request=request,
5254
5271
  response=response,
5272
+ retry=retry,
5273
+ timeout=timeout,
5255
5274
  metadata=metadata,
5256
5275
  )
5257
5276
 
@@ -5355,11 +5374,7 @@ class DataformAsyncClient:
5355
5374
 
5356
5375
  # Wrap the RPC method; this adds retry and timeout information,
5357
5376
  # and friendly error handling.
5358
- rpc = gapic_v1.method_async.wrap_method(
5359
- self._client._transport.set_iam_policy,
5360
- default_timeout=None,
5361
- client_info=DEFAULT_CLIENT_INFO,
5362
- )
5377
+ rpc = self.transport._wrapped_methods[self._client._transport.set_iam_policy]
5363
5378
 
5364
5379
  # Certain fields should be provided within the metadata header;
5365
5380
  # add these here.
@@ -5479,11 +5494,7 @@ class DataformAsyncClient:
5479
5494
 
5480
5495
  # Wrap the RPC method; this adds retry and timeout information,
5481
5496
  # and friendly error handling.
5482
- rpc = gapic_v1.method_async.wrap_method(
5483
- self._client._transport.get_iam_policy,
5484
- default_timeout=None,
5485
- client_info=DEFAULT_CLIENT_INFO,
5486
- )
5497
+ rpc = self.transport._wrapped_methods[self._client._transport.get_iam_policy]
5487
5498
 
5488
5499
  # Certain fields should be provided within the metadata header;
5489
5500
  # add these here.
@@ -5541,11 +5552,9 @@ class DataformAsyncClient:
5541
5552
 
5542
5553
  # Wrap the RPC method; this adds retry and timeout information,
5543
5554
  # and friendly error handling.
5544
- rpc = gapic_v1.method_async.wrap_method(
5545
- self._client._transport.test_iam_permissions,
5546
- default_timeout=None,
5547
- client_info=DEFAULT_CLIENT_INFO,
5548
- )
5555
+ rpc = self.transport._wrapped_methods[
5556
+ self._client._transport.test_iam_permissions
5557
+ ]
5549
5558
 
5550
5559
  # Certain fields should be provided within the metadata header;
5551
5560
  # add these here.
@@ -5598,11 +5607,7 @@ class DataformAsyncClient:
5598
5607
 
5599
5608
  # Wrap the RPC method; this adds retry and timeout information,
5600
5609
  # and friendly error handling.
5601
- rpc = gapic_v1.method_async.wrap_method(
5602
- self._client._transport.get_location,
5603
- default_timeout=None,
5604
- client_info=DEFAULT_CLIENT_INFO,
5605
- )
5610
+ rpc = self.transport._wrapped_methods[self._client._transport.get_location]
5606
5611
 
5607
5612
  # Certain fields should be provided within the metadata header;
5608
5613
  # add these here.
@@ -5655,11 +5660,7 @@ class DataformAsyncClient:
5655
5660
 
5656
5661
  # Wrap the RPC method; this adds retry and timeout information,
5657
5662
  # and friendly error handling.
5658
- rpc = gapic_v1.method_async.wrap_method(
5659
- self._client._transport.list_locations,
5660
- default_timeout=None,
5661
- client_info=DEFAULT_CLIENT_INFO,
5662
- )
5663
+ rpc = self.transport._wrapped_methods[self._client._transport.list_locations]
5663
5664
 
5664
5665
  # Certain fields should be provided within the metadata header;
5665
5666
  # add these here.
@@ -807,7 +807,7 @@ class DataformClient(metaclass=DataformClientMeta):
807
807
  transport_init: Union[
808
808
  Type[DataformTransport], Callable[..., DataformTransport]
809
809
  ] = (
810
- type(self).get_transport_class(transport)
810
+ DataformClient.get_transport_class(transport)
811
811
  if isinstance(transport, str) or transport is None
812
812
  else cast(Callable[..., DataformTransport], transport)
813
813
  )
@@ -932,6 +932,8 @@ class DataformClient(metaclass=DataformClientMeta):
932
932
  method=rpc,
933
933
  request=request,
934
934
  response=response,
935
+ retry=retry,
936
+ timeout=timeout,
935
937
  metadata=metadata,
936
938
  )
937
939
 
@@ -1609,6 +1611,8 @@ class DataformClient(metaclass=DataformClientMeta):
1609
1611
  method=rpc,
1610
1612
  request=request,
1611
1613
  response=response,
1614
+ retry=retry,
1615
+ timeout=timeout,
1612
1616
  metadata=metadata,
1613
1617
  )
1614
1618
 
@@ -1703,6 +1707,8 @@ class DataformClient(metaclass=DataformClientMeta):
1703
1707
  method=rpc,
1704
1708
  request=request,
1705
1709
  response=response,
1710
+ retry=retry,
1711
+ timeout=timeout,
1706
1712
  metadata=metadata,
1707
1713
  )
1708
1714
 
@@ -1980,6 +1986,8 @@ class DataformClient(metaclass=DataformClientMeta):
1980
1986
  method=rpc,
1981
1987
  request=request,
1982
1988
  response=response,
1989
+ retry=retry,
1990
+ timeout=timeout,
1983
1991
  metadata=metadata,
1984
1992
  )
1985
1993
 
@@ -2998,6 +3006,8 @@ class DataformClient(metaclass=DataformClientMeta):
2998
3006
  method=rpc,
2999
3007
  request=request,
3000
3008
  response=response,
3009
+ retry=retry,
3010
+ timeout=timeout,
3001
3011
  metadata=metadata,
3002
3012
  )
3003
3013
 
@@ -3672,6 +3682,8 @@ class DataformClient(metaclass=DataformClientMeta):
3672
3682
  method=rpc,
3673
3683
  request=request,
3674
3684
  response=response,
3685
+ retry=retry,
3686
+ timeout=timeout,
3675
3687
  metadata=metadata,
3676
3688
  )
3677
3689
 
@@ -4223,6 +4235,8 @@ class DataformClient(metaclass=DataformClientMeta):
4223
4235
  method=rpc,
4224
4236
  request=request,
4225
4237
  response=response,
4238
+ retry=retry,
4239
+ timeout=timeout,
4226
4240
  metadata=metadata,
4227
4241
  )
4228
4242
 
@@ -4543,6 +4557,8 @@ class DataformClient(metaclass=DataformClientMeta):
4543
4557
  method=rpc,
4544
4558
  request=request,
4545
4559
  response=response,
4560
+ retry=retry,
4561
+ timeout=timeout,
4546
4562
  metadata=metadata,
4547
4563
  )
4548
4564
 
@@ -4658,6 +4674,8 @@ class DataformClient(metaclass=DataformClientMeta):
4658
4674
  method=rpc,
4659
4675
  request=request,
4660
4676
  response=response,
4677
+ retry=retry,
4678
+ timeout=timeout,
4661
4679
  metadata=metadata,
4662
4680
  )
4663
4681
 
@@ -5211,6 +5229,8 @@ class DataformClient(metaclass=DataformClientMeta):
5211
5229
  method=rpc,
5212
5230
  request=request,
5213
5231
  response=response,
5232
+ retry=retry,
5233
+ timeout=timeout,
5214
5234
  metadata=metadata,
5215
5235
  )
5216
5236
 
@@ -5695,6 +5715,8 @@ class DataformClient(metaclass=DataformClientMeta):
5695
5715
  method=rpc,
5696
5716
  request=request,
5697
5717
  response=response,
5718
+ retry=retry,
5719
+ timeout=timeout,
5698
5720
  metadata=metadata,
5699
5721
  )
5700
5722
 
@@ -5811,11 +5833,7 @@ class DataformClient(metaclass=DataformClientMeta):
5811
5833
 
5812
5834
  # Wrap the RPC method; this adds retry and timeout information,
5813
5835
  # and friendly error handling.
5814
- rpc = gapic_v1.method.wrap_method(
5815
- self._transport.set_iam_policy,
5816
- default_timeout=None,
5817
- client_info=DEFAULT_CLIENT_INFO,
5818
- )
5836
+ rpc = self._transport._wrapped_methods[self._transport.set_iam_policy]
5819
5837
 
5820
5838
  # Certain fields should be provided within the metadata header;
5821
5839
  # add these here.
@@ -5935,11 +5953,7 @@ class DataformClient(metaclass=DataformClientMeta):
5935
5953
 
5936
5954
  # Wrap the RPC method; this adds retry and timeout information,
5937
5955
  # and friendly error handling.
5938
- rpc = gapic_v1.method.wrap_method(
5939
- self._transport.get_iam_policy,
5940
- default_timeout=None,
5941
- client_info=DEFAULT_CLIENT_INFO,
5942
- )
5956
+ rpc = self._transport._wrapped_methods[self._transport.get_iam_policy]
5943
5957
 
5944
5958
  # Certain fields should be provided within the metadata header;
5945
5959
  # add these here.
@@ -5997,11 +6011,7 @@ class DataformClient(metaclass=DataformClientMeta):
5997
6011
 
5998
6012
  # Wrap the RPC method; this adds retry and timeout information,
5999
6013
  # and friendly error handling.
6000
- rpc = gapic_v1.method.wrap_method(
6001
- self._transport.test_iam_permissions,
6002
- default_timeout=None,
6003
- client_info=DEFAULT_CLIENT_INFO,
6004
- )
6014
+ rpc = self._transport._wrapped_methods[self._transport.test_iam_permissions]
6005
6015
 
6006
6016
  # Certain fields should be provided within the metadata header;
6007
6017
  # add these here.
@@ -6054,11 +6064,7 @@ class DataformClient(metaclass=DataformClientMeta):
6054
6064
 
6055
6065
  # Wrap the RPC method; this adds retry and timeout information,
6056
6066
  # and friendly error handling.
6057
- rpc = gapic_v1.method.wrap_method(
6058
- self._transport.get_location,
6059
- default_timeout=None,
6060
- client_info=DEFAULT_CLIENT_INFO,
6061
- )
6067
+ rpc = self._transport._wrapped_methods[self._transport.get_location]
6062
6068
 
6063
6069
  # Certain fields should be provided within the metadata header;
6064
6070
  # add these here.
@@ -6111,11 +6117,7 @@ class DataformClient(metaclass=DataformClientMeta):
6111
6117
 
6112
6118
  # Wrap the RPC method; this adds retry and timeout information,
6113
6119
  # and friendly error handling.
6114
- rpc = gapic_v1.method.wrap_method(
6115
- self._transport.list_locations,
6116
- default_timeout=None,
6117
- client_info=DEFAULT_CLIENT_INFO,
6118
- )
6120
+ rpc = self._transport._wrapped_methods[self._transport.list_locations]
6119
6121
 
6120
6122
  # Certain fields should be provided within the metadata header;
6121
6123
  # add these here.