google-cloud-dataform 0.5.1__tar.gz → 0.5.3__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 (38) hide show
  1. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/MANIFEST.in +1 -1
  2. {google-cloud-dataform-0.5.1/google_cloud_dataform.egg-info → google-cloud-dataform-0.5.3}/PKG-INFO +25 -24
  3. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/README.rst +23 -22
  4. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform/__init__.py +1 -1
  5. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform/gapic_version.py +2 -2
  6. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/__init__.py +1 -1
  7. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/gapic_version.py +2 -2
  8. {google-cloud-dataform-0.5.1/tests/unit → google-cloud-dataform-0.5.3/google/cloud/dataform_v1beta1/services}/__init__.py +1 -1
  9. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +1 -1
  10. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +2 -2
  11. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/client.py +1 -1
  12. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +1 -1
  13. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +1 -1
  14. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +1 -1
  15. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +1 -1
  16. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +1 -1
  17. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +1 -1
  18. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/types/__init__.py +1 -1
  19. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/types/dataform.py +2 -1
  20. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3/google_cloud_dataform.egg-info}/PKG-INFO +25 -24
  21. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/setup.py +2 -2
  22. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/tests/__init__.py +1 -1
  23. {google-cloud-dataform-0.5.1/tests/unit/gapic → google-cloud-dataform-0.5.3/tests/unit}/__init__.py +1 -1
  24. {google-cloud-dataform-0.5.1/google/cloud/dataform_v1beta1/services → google-cloud-dataform-0.5.3/tests/unit/gapic}/__init__.py +1 -1
  25. google-cloud-dataform-0.5.3/tests/unit/gapic/dataform_v1beta1/__init__.py +15 -0
  26. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +29 -15
  27. google-cloud-dataform-0.5.1/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -15
  28. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/LICENSE +0 -0
  29. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform/py.typed +0 -0
  30. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/gapic_metadata.json +0 -0
  31. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google/cloud/dataform_v1beta1/py.typed +0 -0
  32. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
  33. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
  34. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/namespace_packages.txt +0 -0
  35. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
  36. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/requires.txt +0 -0
  37. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/google_cloud_dataform.egg-info/top_level.txt +0 -0
  38. {google-cloud-dataform-0.5.1 → google-cloud-dataform-0.5.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright 2020 Google LLC
3
+ # Copyright 2023 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,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-dataform
3
- Version: 0.5.1
3
+ Version: 0.5.3
4
4
  Summary: Google Cloud Dataform API client library
5
- Home-page: https://github.com/googleapis/python-dataform
5
+ Home-page: https://github.com/googleapis/google-cloud-python
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -22,12 +22,12 @@ Classifier: Topic :: Internet
22
22
  Requires-Python: >=3.7
23
23
  License-File: LICENSE
24
24
 
25
- Python Client for Cloud Dataform API
26
- ====================================
25
+ Python Client for Cloud Dataform
26
+ ================================
27
27
 
28
28
  |preview| |pypi| |versions|
29
29
 
30
- `Cloud Dataform API`_:
30
+ `Cloud Dataform`_:
31
31
 
32
32
  - `Client Library Documentation`_
33
33
  - `Product Documentation`_
@@ -38,7 +38,7 @@ Python Client for Cloud Dataform API
38
38
  :target: https://pypi.org/project/google-cloud-dataform/
39
39
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-dataform.svg
40
40
  :target: https://pypi.org/project/google-cloud-dataform/
41
- .. _Cloud Dataform API: https://cloud.google.com
41
+ .. _Cloud Dataform: https://cloud.google.com
42
42
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/dataform/latest
43
43
  .. _Product Documentation: https://cloud.google.com
44
44
 
@@ -49,32 +49,35 @@ In order to use this library, you first need to go through the following steps:
49
49
 
50
50
  1. `Select or create a Cloud Platform project.`_
51
51
  2. `Enable billing for your project.`_
52
- 3. `Enable the Cloud Dataform API.`_
52
+ 3. `Enable the Cloud Dataform.`_
53
53
  4. `Setup Authentication.`_
54
54
 
55
55
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
56
56
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
57
- .. _Enable the Cloud Dataform API.: https://cloud.google.com
57
+ .. _Enable the Cloud Dataform.: https://cloud.google.com
58
58
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
59
59
 
60
60
  Installation
61
61
  ~~~~~~~~~~~~
62
62
 
63
- Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
64
- create isolated Python environments. The basic problem it addresses is one of
65
- dependencies and versions, and indirectly permissions.
63
+ Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
64
+ creates isolated Python environments. These isolated environments can have separate
65
+ versions of Python packages, which allows you to isolate one project's dependencies
66
+ from the dependencies of other projects.
66
67
 
67
- With `virtualenv`_, it's possible to install this library without needing system
68
+ With `venv`_, it's possible to install this library without needing system
68
69
  install permissions, and without clashing with the installed system
69
70
  dependencies.
70
71
 
71
- .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
72
+ .. _`venv`: https://docs.python.org/3/library/venv.html
72
73
 
73
74
 
74
75
  Code samples and snippets
75
76
  ~~~~~~~~~~~~~~~~~~~~~~~~~
76
77
 
77
- Code samples and snippets live in the `samples/` folder.
78
+ Code samples and snippets live in the `samples/`_ folder.
79
+
80
+ .. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataform/samples
78
81
 
79
82
 
80
83
  Supported Python Versions
@@ -101,10 +104,9 @@ Mac/Linux
101
104
 
102
105
  .. code-block:: console
103
106
 
104
- pip install virtualenv
105
- virtualenv <your-env>
107
+ python3 -m venv <your-env>
106
108
  source <your-env>/bin/activate
107
- <your-env>/bin/pip install google-cloud-dataform
109
+ pip install google-cloud-dataform
108
110
 
109
111
 
110
112
  Windows
@@ -112,20 +114,19 @@ Windows
112
114
 
113
115
  .. code-block:: console
114
116
 
115
- pip install virtualenv
116
- virtualenv <your-env>
117
- <your-env>\Scripts\activate
118
- <your-env>\Scripts\pip.exe install google-cloud-dataform
117
+ py -m venv <your-env>
118
+ .\<your-env>\Scripts\activate
119
+ pip install google-cloud-dataform
119
120
 
120
121
  Next Steps
121
122
  ~~~~~~~~~~
122
123
 
123
- - Read the `Client Library Documentation`_ for Cloud Dataform API
124
+ - Read the `Client Library Documentation`_ for Cloud Dataform
124
125
  to see other available methods on the client.
125
- - Read the `Cloud Dataform API Product documentation`_ to learn
126
+ - Read the `Cloud Dataform Product documentation`_ to learn
126
127
  more about the product and see How-to Guides.
127
128
  - View this `README`_ to see the full list of Cloud
128
129
  APIs that we cover.
129
130
 
130
- .. _Cloud Dataform API Product documentation: https://cloud.google.com
131
+ .. _Cloud Dataform Product documentation: https://cloud.google.com
131
132
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -1,9 +1,9 @@
1
- Python Client for Cloud Dataform API
2
- ====================================
1
+ Python Client for Cloud Dataform
2
+ ================================
3
3
 
4
4
  |preview| |pypi| |versions|
5
5
 
6
- `Cloud Dataform API`_:
6
+ `Cloud Dataform`_:
7
7
 
8
8
  - `Client Library Documentation`_
9
9
  - `Product Documentation`_
@@ -14,7 +14,7 @@ Python Client for Cloud Dataform API
14
14
  :target: https://pypi.org/project/google-cloud-dataform/
15
15
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-dataform.svg
16
16
  :target: https://pypi.org/project/google-cloud-dataform/
17
- .. _Cloud Dataform API: https://cloud.google.com
17
+ .. _Cloud Dataform: https://cloud.google.com
18
18
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/dataform/latest
19
19
  .. _Product Documentation: https://cloud.google.com
20
20
 
@@ -25,32 +25,35 @@ In order to use this library, you first need to go through the following steps:
25
25
 
26
26
  1. `Select or create a Cloud Platform project.`_
27
27
  2. `Enable billing for your project.`_
28
- 3. `Enable the Cloud Dataform API.`_
28
+ 3. `Enable the Cloud Dataform.`_
29
29
  4. `Setup Authentication.`_
30
30
 
31
31
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
32
32
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33
- .. _Enable the Cloud Dataform API.: https://cloud.google.com
33
+ .. _Enable the Cloud Dataform.: https://cloud.google.com
34
34
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
35
35
 
36
36
  Installation
37
37
  ~~~~~~~~~~~~
38
38
 
39
- Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
40
- create isolated Python environments. The basic problem it addresses is one of
41
- dependencies and versions, and indirectly permissions.
39
+ Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
40
+ creates isolated Python environments. These isolated environments can have separate
41
+ versions of Python packages, which allows you to isolate one project's dependencies
42
+ from the dependencies of other projects.
42
43
 
43
- With `virtualenv`_, it's possible to install this library without needing system
44
+ With `venv`_, it's possible to install this library without needing system
44
45
  install permissions, and without clashing with the installed system
45
46
  dependencies.
46
47
 
47
- .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
48
+ .. _`venv`: https://docs.python.org/3/library/venv.html
48
49
 
49
50
 
50
51
  Code samples and snippets
51
52
  ~~~~~~~~~~~~~~~~~~~~~~~~~
52
53
 
53
- Code samples and snippets live in the `samples/` folder.
54
+ Code samples and snippets live in the `samples/`_ folder.
55
+
56
+ .. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataform/samples
54
57
 
55
58
 
56
59
  Supported Python Versions
@@ -77,10 +80,9 @@ Mac/Linux
77
80
 
78
81
  .. code-block:: console
79
82
 
80
- pip install virtualenv
81
- virtualenv <your-env>
83
+ python3 -m venv <your-env>
82
84
  source <your-env>/bin/activate
83
- <your-env>/bin/pip install google-cloud-dataform
85
+ pip install google-cloud-dataform
84
86
 
85
87
 
86
88
  Windows
@@ -88,20 +90,19 @@ Windows
88
90
 
89
91
  .. code-block:: console
90
92
 
91
- pip install virtualenv
92
- virtualenv <your-env>
93
- <your-env>\Scripts\activate
94
- <your-env>\Scripts\pip.exe install google-cloud-dataform
93
+ py -m venv <your-env>
94
+ .\<your-env>\Scripts\activate
95
+ pip install google-cloud-dataform
95
96
 
96
97
  Next Steps
97
98
  ~~~~~~~~~~
98
99
 
99
- - Read the `Client Library Documentation`_ for Cloud Dataform API
100
+ - Read the `Client Library Documentation`_ for Cloud Dataform
100
101
  to see other available methods on the client.
101
- - Read the `Cloud Dataform API Product documentation`_ to learn
102
+ - Read the `Cloud Dataform Product documentation`_ to learn
102
103
  more about the product and see How-to Guides.
103
104
  - View this `README`_ to see the full list of Cloud
104
105
  APIs that we cover.
105
106
 
106
- .. _Cloud Dataform API Product documentation: https://cloud.google.com
107
+ .. _Cloud Dataform Product documentation: https://cloud.google.com
107
108
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.1" # {x-release-please-version}
16
+ __version__ = "0.5.3" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -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.1" # {x-release-please-version}
16
+ __version__ = "0.5.3" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -3600,7 +3600,7 @@ class DataformAsyncClient:
3600
3600
  # Done; return the response.
3601
3601
  return response
3602
3602
 
3603
- async def __aenter__(self):
3603
+ async def __aenter__(self) -> "DataformAsyncClient":
3604
3604
  return self
3605
3605
 
3606
3606
  async def __aexit__(self, exc_type, exc, tb):
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1197,6 +1197,7 @@ class CompilationResult(proto.Message):
1197
1197
  Optional. The default BigQuery location to
1198
1198
  use. Defaults to "US". See the BigQuery docs for
1199
1199
  a full list of locations:
1200
+
1200
1201
  https://cloud.google.com/bigquery/docs/locations.
1201
1202
  assertion_schema (str):
1202
1203
  Optional. The default schema (BigQuery
@@ -1,8 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-dataform
3
- Version: 0.5.1
3
+ Version: 0.5.3
4
4
  Summary: Google Cloud Dataform API client library
5
- Home-page: https://github.com/googleapis/python-dataform
5
+ Home-page: https://github.com/googleapis/google-cloud-python
6
6
  Author: Google LLC
7
7
  Author-email: googleapis-packages@google.com
8
8
  License: Apache 2.0
@@ -22,12 +22,12 @@ Classifier: Topic :: Internet
22
22
  Requires-Python: >=3.7
23
23
  License-File: LICENSE
24
24
 
25
- Python Client for Cloud Dataform API
26
- ====================================
25
+ Python Client for Cloud Dataform
26
+ ================================
27
27
 
28
28
  |preview| |pypi| |versions|
29
29
 
30
- `Cloud Dataform API`_:
30
+ `Cloud Dataform`_:
31
31
 
32
32
  - `Client Library Documentation`_
33
33
  - `Product Documentation`_
@@ -38,7 +38,7 @@ Python Client for Cloud Dataform API
38
38
  :target: https://pypi.org/project/google-cloud-dataform/
39
39
  .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-dataform.svg
40
40
  :target: https://pypi.org/project/google-cloud-dataform/
41
- .. _Cloud Dataform API: https://cloud.google.com
41
+ .. _Cloud Dataform: https://cloud.google.com
42
42
  .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/dataform/latest
43
43
  .. _Product Documentation: https://cloud.google.com
44
44
 
@@ -49,32 +49,35 @@ In order to use this library, you first need to go through the following steps:
49
49
 
50
50
  1. `Select or create a Cloud Platform project.`_
51
51
  2. `Enable billing for your project.`_
52
- 3. `Enable the Cloud Dataform API.`_
52
+ 3. `Enable the Cloud Dataform.`_
53
53
  4. `Setup Authentication.`_
54
54
 
55
55
  .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
56
56
  .. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
57
- .. _Enable the Cloud Dataform API.: https://cloud.google.com
57
+ .. _Enable the Cloud Dataform.: https://cloud.google.com
58
58
  .. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
59
59
 
60
60
  Installation
61
61
  ~~~~~~~~~~~~
62
62
 
63
- Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
64
- create isolated Python environments. The basic problem it addresses is one of
65
- dependencies and versions, and indirectly permissions.
63
+ Install this library in a virtual environment using `venv`_. `venv`_ is a tool that
64
+ creates isolated Python environments. These isolated environments can have separate
65
+ versions of Python packages, which allows you to isolate one project's dependencies
66
+ from the dependencies of other projects.
66
67
 
67
- With `virtualenv`_, it's possible to install this library without needing system
68
+ With `venv`_, it's possible to install this library without needing system
68
69
  install permissions, and without clashing with the installed system
69
70
  dependencies.
70
71
 
71
- .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
72
+ .. _`venv`: https://docs.python.org/3/library/venv.html
72
73
 
73
74
 
74
75
  Code samples and snippets
75
76
  ~~~~~~~~~~~~~~~~~~~~~~~~~
76
77
 
77
- Code samples and snippets live in the `samples/` folder.
78
+ Code samples and snippets live in the `samples/`_ folder.
79
+
80
+ .. _samples/: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataform/samples
78
81
 
79
82
 
80
83
  Supported Python Versions
@@ -101,10 +104,9 @@ Mac/Linux
101
104
 
102
105
  .. code-block:: console
103
106
 
104
- pip install virtualenv
105
- virtualenv <your-env>
107
+ python3 -m venv <your-env>
106
108
  source <your-env>/bin/activate
107
- <your-env>/bin/pip install google-cloud-dataform
109
+ pip install google-cloud-dataform
108
110
 
109
111
 
110
112
  Windows
@@ -112,20 +114,19 @@ Windows
112
114
 
113
115
  .. code-block:: console
114
116
 
115
- pip install virtualenv
116
- virtualenv <your-env>
117
- <your-env>\Scripts\activate
118
- <your-env>\Scripts\pip.exe install google-cloud-dataform
117
+ py -m venv <your-env>
118
+ .\<your-env>\Scripts\activate
119
+ pip install google-cloud-dataform
119
120
 
120
121
  Next Steps
121
122
  ~~~~~~~~~~
122
123
 
123
- - Read the `Client Library Documentation`_ for Cloud Dataform API
124
+ - Read the `Client Library Documentation`_ for Cloud Dataform
124
125
  to see other available methods on the client.
125
- - Read the `Cloud Dataform API Product documentation`_ to learn
126
+ - Read the `Cloud Dataform Product documentation`_ to learn
126
127
  more about the product and see How-to Guides.
127
128
  - View this `README`_ to see the full list of Cloud
128
129
  APIs that we cover.
129
130
 
130
- .. _Cloud Dataform API Product documentation: https://cloud.google.com
131
+ .. _Cloud Dataform Product documentation: https://cloud.google.com
131
132
  .. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@ dependencies = [
42
42
  "protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
43
43
  "grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
44
44
  ]
45
- url = "https://github.com/googleapis/python-dataform"
45
+ url = "https://github.com/googleapis/google-cloud-python"
46
46
 
47
47
  package_root = os.path.abspath(os.path.dirname(__file__))
48
48
 
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -0,0 +1,15 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2023 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
2
+ # Copyright 2023 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1112,9 +1112,11 @@ async def test_list_repositories_async_pages():
1112
1112
  RuntimeError,
1113
1113
  )
1114
1114
  pages = []
1115
- async for page_ in (
1115
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
1116
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
1117
+ async for page_ in ( # pragma: no branch
1116
1118
  await client.list_repositories(request={})
1117
- ).pages: # pragma: no branch
1119
+ ).pages:
1118
1120
  pages.append(page_)
1119
1121
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
1120
1122
  assert page_.raw_page.next_page_token == token
@@ -2672,9 +2674,11 @@ async def test_list_workspaces_async_pages():
2672
2674
  RuntimeError,
2673
2675
  )
2674
2676
  pages = []
2675
- async for page_ in (
2677
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
2678
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
2679
+ async for page_ in ( # pragma: no branch
2676
2680
  await client.list_workspaces(request={})
2677
- ).pages: # pragma: no branch
2681
+ ).pages:
2678
2682
  pages.append(page_)
2679
2683
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
2680
2684
  assert page_.raw_page.next_page_token == token
@@ -4932,9 +4936,11 @@ async def test_query_directory_contents_async_pages():
4932
4936
  RuntimeError,
4933
4937
  )
4934
4938
  pages = []
4935
- async for page_ in (
4939
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
4940
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
4941
+ async for page_ in ( # pragma: no branch
4936
4942
  await client.query_directory_contents(request={})
4937
- ).pages: # pragma: no branch
4943
+ ).pages:
4938
4944
  pages.append(page_)
4939
4945
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
4940
4946
  assert page_.raw_page.next_page_token == token
@@ -6384,9 +6390,11 @@ async def test_list_compilation_results_async_pages():
6384
6390
  RuntimeError,
6385
6391
  )
6386
6392
  pages = []
6387
- async for page_ in (
6393
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
6394
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
6395
+ async for page_ in ( # pragma: no branch
6388
6396
  await client.list_compilation_results(request={})
6389
- ).pages: # pragma: no branch
6397
+ ).pages:
6390
6398
  pages.append(page_)
6391
6399
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
6392
6400
  assert page_.raw_page.next_page_token == token
@@ -7254,9 +7262,11 @@ async def test_query_compilation_result_actions_async_pages():
7254
7262
  RuntimeError,
7255
7263
  )
7256
7264
  pages = []
7257
- async for page_ in (
7265
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
7266
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
7267
+ async for page_ in ( # pragma: no branch
7258
7268
  await client.query_compilation_result_actions(request={})
7259
- ).pages: # pragma: no branch
7269
+ ).pages:
7260
7270
  pages.append(page_)
7261
7271
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
7262
7272
  assert page_.raw_page.next_page_token == token
@@ -7701,9 +7711,11 @@ async def test_list_workflow_invocations_async_pages():
7701
7711
  RuntimeError,
7702
7712
  )
7703
7713
  pages = []
7704
- async for page_ in (
7714
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
7715
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
7716
+ async for page_ in ( # pragma: no branch
7705
7717
  await client.list_workflow_invocations(request={})
7706
- ).pages: # pragma: no branch
7718
+ ).pages:
7707
7719
  pages.append(page_)
7708
7720
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
7709
7721
  assert page_.raw_page.next_page_token == token
@@ -8963,9 +8975,11 @@ async def test_query_workflow_invocation_actions_async_pages():
8963
8975
  RuntimeError,
8964
8976
  )
8965
8977
  pages = []
8966
- async for page_ in (
8978
+ # Workaround issue in python 3.9 related to code coverage by adding `# pragma: no branch`
8979
+ # See https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
8980
+ async for page_ in ( # pragma: no branch
8967
8981
  await client.query_workflow_invocation_actions(request={})
8968
- ).pages: # pragma: no branch
8982
+ ).pages:
8969
8983
  pages.append(page_)
8970
8984
  for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
8971
8985
  assert page_.raw_page.next_page_token == token
@@ -1,15 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Copyright 2022 Google LLC
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- #