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

Appearance settings
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit fef5a2c

Browse filesBrowse files
chore: Update gapic-generator-python to v1.6.1 (#32)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: https://github.com/googleapis/googleapis-gen/commit/c8aa327b5f478865fc3fd91e3c2768e54e26ad44 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add .release-please-manifest.json with correct version * chore: Update to gapic-generator-python 1.6.0 feat(python): Add typing to proto.Message based class attributes feat(python): Snippetgen handling of repeated enum field PiperOrigin-RevId: 487326846 Source-Link: googleapis/googleapis@da380c7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/61ef5762ee6731a0cbbfea22fd0eecee51ab1c8e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjFlZjU3NjJlZTY3MzFhMGNiYmZlYTIyZmQwZWVjZWU1MWFiMWM4ZSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: new APIs added to reflect updates to the filestore service - Add ENTERPRISE Tier - Add snapshot APIs: RevertInstance, ListSnapshots, CreateSnapshot, DeleteSnapshot, UpdateSnapshot - Add multi-share APIs: ListShares, GetShare, CreateShare, DeleteShare, UpdateShare - Add ConnectMode to NetworkConfig (for Private Service Access support) - New status codes (SUSPENDED/SUSPENDING, REVERTING/RESUMING) - Add SuspensionReason (for KMS related suspension) - Add new fields to Instance information: max_capacity_gb, capacity_step_size_gb, max_share_count, capacity_gb, multi_share_enabled PiperOrigin-RevId: 487492758 Source-Link: googleapis/googleapis@5be5981 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ab0e217f560cc2c1afc11441c2eab6b6950efd2b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWIwZTIxN2Y1NjBjYzJjMWFmYzExNDQxYzJlYWI2YjY5NTBlZmQyYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: Update gapic-generator-python to v1.6.1 PiperOrigin-RevId: 488036204 Source-Link: googleapis/googleapis@08f275f Source-Link: https://github.com/googleapis/googleapis-gen/commit/555c0945e60649e38739ae64bc45719cdf72178f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTU1YzA5NDVlNjA2NDllMzg3MzlhZTY0YmM0NTcxOWNkZjcyMTc4ZiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * use templated owlbot.py and setup.py * update version in gapic_version.py * run nox format session Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 4b22319 commit fef5a2c
Copy full SHA for fef5a2c
Expand file treeCollapse file tree

29 files changed

+936
-654
lines changed

‎.github/release-please.yml

Copy file name to clipboard
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
releaseType: python
22
handleGHRelease: true
3+
manifest: true

‎.github/workflows/unittest.yml

Copy file name to clipboardExpand all lines: .github/workflows/unittest.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
- name: Report coverage results
5555
run: |
5656
coverage combine .coverage-results/.coverage*
57-
coverage report --show-missing --fail-under=99
57+
coverage report --show-missing --fail-under=100

‎.release-please-manifest.json

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.2.3"
3+
}

‎docs/conf.py

Copy file name to clipboardExpand all lines: docs/conf.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

‎docs/dataform_v1beta1/types.rst

Copy file name to clipboardExpand all lines: docs/dataform_v1beta1/types.rst
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ Types for Google Cloud Dataform v1beta1 API
33

44
.. automodule:: google.cloud.dataform_v1beta1.types
55
:members:
6-
:undoc-members:
76
:show-inheritance:

‎google/cloud/dataform/__init__.py

Copy file name to clipboard
+155Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
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+
#
16+
from google.cloud.dataform import gapic_version as package_version
17+
18+
__version__ = package_version.__version__
19+
20+
21+
from google.cloud.dataform_v1beta1.services.dataform.async_client import (
22+
DataformAsyncClient,
23+
)
24+
from google.cloud.dataform_v1beta1.services.dataform.client import DataformClient
25+
from google.cloud.dataform_v1beta1.types.dataform import (
26+
CancelWorkflowInvocationRequest,
27+
CommitAuthor,
28+
CommitWorkspaceChangesRequest,
29+
CompilationResult,
30+
CompilationResultAction,
31+
CreateCompilationResultRequest,
32+
CreateRepositoryRequest,
33+
CreateWorkflowInvocationRequest,
34+
CreateWorkspaceRequest,
35+
DeleteRepositoryRequest,
36+
DeleteWorkflowInvocationRequest,
37+
DeleteWorkspaceRequest,
38+
FetchFileDiffRequest,
39+
FetchFileDiffResponse,
40+
FetchFileGitStatusesRequest,
41+
FetchFileGitStatusesResponse,
42+
FetchGitAheadBehindRequest,
43+
FetchGitAheadBehindResponse,
44+
FetchRemoteBranchesRequest,
45+
FetchRemoteBranchesResponse,
46+
GetCompilationResultRequest,
47+
GetRepositoryRequest,
48+
GetWorkflowInvocationRequest,
49+
GetWorkspaceRequest,
50+
InstallNpmPackagesRequest,
51+
InstallNpmPackagesResponse,
52+
ListCompilationResultsRequest,
53+
ListCompilationResultsResponse,
54+
ListRepositoriesRequest,
55+
ListRepositoriesResponse,
56+
ListWorkflowInvocationsRequest,
57+
ListWorkflowInvocationsResponse,
58+
ListWorkspacesRequest,
59+
ListWorkspacesResponse,
60+
MakeDirectoryRequest,
61+
MakeDirectoryResponse,
62+
MoveDirectoryRequest,
63+
MoveDirectoryResponse,
64+
MoveFileRequest,
65+
MoveFileResponse,
66+
PullGitCommitsRequest,
67+
PushGitCommitsRequest,
68+
QueryCompilationResultActionsRequest,
69+
QueryCompilationResultActionsResponse,
70+
QueryDirectoryContentsRequest,
71+
QueryDirectoryContentsResponse,
72+
QueryWorkflowInvocationActionsRequest,
73+
QueryWorkflowInvocationActionsResponse,
74+
ReadFileRequest,
75+
ReadFileResponse,
76+
RelationDescriptor,
77+
RemoveDirectoryRequest,
78+
RemoveFileRequest,
79+
Repository,
80+
ResetWorkspaceChangesRequest,
81+
Target,
82+
UpdateRepositoryRequest,
83+
WorkflowInvocation,
84+
WorkflowInvocationAction,
85+
Workspace,
86+
WriteFileRequest,
87+
WriteFileResponse,
88+
)
89+
90+
__all__ = (
91+
"DataformClient",
92+
"DataformAsyncClient",
93+
"CancelWorkflowInvocationRequest",
94+
"CommitAuthor",
95+
"CommitWorkspaceChangesRequest",
96+
"CompilationResult",
97+
"CompilationResultAction",
98+
"CreateCompilationResultRequest",
99+
"CreateRepositoryRequest",
100+
"CreateWorkflowInvocationRequest",
101+
"CreateWorkspaceRequest",
102+
"DeleteRepositoryRequest",
103+
"DeleteWorkflowInvocationRequest",
104+
"DeleteWorkspaceRequest",
105+
"FetchFileDiffRequest",
106+
"FetchFileDiffResponse",
107+
"FetchFileGitStatusesRequest",
108+
"FetchFileGitStatusesResponse",
109+
"FetchGitAheadBehindRequest",
110+
"FetchGitAheadBehindResponse",
111+
"FetchRemoteBranchesRequest",
112+
"FetchRemoteBranchesResponse",
113+
"GetCompilationResultRequest",
114+
"GetRepositoryRequest",
115+
"GetWorkflowInvocationRequest",
116+
"GetWorkspaceRequest",
117+
"InstallNpmPackagesRequest",
118+
"InstallNpmPackagesResponse",
119+
"ListCompilationResultsRequest",
120+
"ListCompilationResultsResponse",
121+
"ListRepositoriesRequest",
122+
"ListRepositoriesResponse",
123+
"ListWorkflowInvocationsRequest",
124+
"ListWorkflowInvocationsResponse",
125+
"ListWorkspacesRequest",
126+
"ListWorkspacesResponse",
127+
"MakeDirectoryRequest",
128+
"MakeDirectoryResponse",
129+
"MoveDirectoryRequest",
130+
"MoveDirectoryResponse",
131+
"MoveFileRequest",
132+
"MoveFileResponse",
133+
"PullGitCommitsRequest",
134+
"PushGitCommitsRequest",
135+
"QueryCompilationResultActionsRequest",
136+
"QueryCompilationResultActionsResponse",
137+
"QueryDirectoryContentsRequest",
138+
"QueryDirectoryContentsResponse",
139+
"QueryWorkflowInvocationActionsRequest",
140+
"QueryWorkflowInvocationActionsResponse",
141+
"ReadFileRequest",
142+
"ReadFileResponse",
143+
"RelationDescriptor",
144+
"RemoveDirectoryRequest",
145+
"RemoveFileRequest",
146+
"Repository",
147+
"ResetWorkspaceChangesRequest",
148+
"Target",
149+
"UpdateRepositoryRequest",
150+
"WorkflowInvocation",
151+
"WorkflowInvocationAction",
152+
"Workspace",
153+
"WriteFileRequest",
154+
"WriteFileResponse",
155+
)
+16Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
#
16+
__version__ = "0.2.3" # {x-release-please-version}

‎google/cloud/dataform/py.typed

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-dataform package uses inline types.

‎google/cloud/dataform_v1beta1/__init__.py

Copy file name to clipboardExpand all lines: google/cloud/dataform_v1beta1/__init__.py
+68-64Lines changed: 68 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -13,72 +13,76 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16+
from google.cloud.dataform import gapic_version as package_version
1617

17-
from .services.dataform import DataformClient
18-
from .services.dataform import DataformAsyncClient
18+
__version__ = package_version.__version__
1919

20-
from .types.dataform import CancelWorkflowInvocationRequest
21-
from .types.dataform import CommitAuthor
22-
from .types.dataform import CommitWorkspaceChangesRequest
23-
from .types.dataform import CompilationResult
24-
from .types.dataform import CompilationResultAction
25-
from .types.dataform import CreateCompilationResultRequest
26-
from .types.dataform import CreateRepositoryRequest
27-
from .types.dataform import CreateWorkflowInvocationRequest
28-
from .types.dataform import CreateWorkspaceRequest
29-
from .types.dataform import DeleteRepositoryRequest
30-
from .types.dataform import DeleteWorkflowInvocationRequest
31-
from .types.dataform import DeleteWorkspaceRequest
32-
from .types.dataform import FetchFileDiffRequest
33-
from .types.dataform import FetchFileDiffResponse
34-
from .types.dataform import FetchFileGitStatusesRequest
35-
from .types.dataform import FetchFileGitStatusesResponse
36-
from .types.dataform import FetchGitAheadBehindRequest
37-
from .types.dataform import FetchGitAheadBehindResponse
38-
from .types.dataform import FetchRemoteBranchesRequest
39-
from .types.dataform import FetchRemoteBranchesResponse
40-
from .types.dataform import GetCompilationResultRequest
41-
from .types.dataform import GetRepositoryRequest
42-
from .types.dataform import GetWorkflowInvocationRequest
43-
from .types.dataform import GetWorkspaceRequest
44-
from .types.dataform import InstallNpmPackagesRequest
45-
from .types.dataform import InstallNpmPackagesResponse
46-
from .types.dataform import ListCompilationResultsRequest
47-
from .types.dataform import ListCompilationResultsResponse
48-
from .types.dataform import ListRepositoriesRequest
49-
from .types.dataform import ListRepositoriesResponse
50-
from .types.dataform import ListWorkflowInvocationsRequest
51-
from .types.dataform import ListWorkflowInvocationsResponse
52-
from .types.dataform import ListWorkspacesRequest
53-
from .types.dataform import ListWorkspacesResponse
54-
from .types.dataform import MakeDirectoryRequest
55-
from .types.dataform import MakeDirectoryResponse
56-
from .types.dataform import MoveDirectoryRequest
57-
from .types.dataform import MoveDirectoryResponse
58-
from .types.dataform import MoveFileRequest
59-
from .types.dataform import MoveFileResponse
60-
from .types.dataform import PullGitCommitsRequest
61-
from .types.dataform import PushGitCommitsRequest
62-
from .types.dataform import QueryCompilationResultActionsRequest
63-
from .types.dataform import QueryCompilationResultActionsResponse
64-
from .types.dataform import QueryDirectoryContentsRequest
65-
from .types.dataform import QueryDirectoryContentsResponse
66-
from .types.dataform import QueryWorkflowInvocationActionsRequest
67-
from .types.dataform import QueryWorkflowInvocationActionsResponse
68-
from .types.dataform import ReadFileRequest
69-
from .types.dataform import ReadFileResponse
70-
from .types.dataform import RelationDescriptor
71-
from .types.dataform import RemoveDirectoryRequest
72-
from .types.dataform import RemoveFileRequest
73-
from .types.dataform import Repository
74-
from .types.dataform import ResetWorkspaceChangesRequest
75-
from .types.dataform import Target
76-
from .types.dataform import UpdateRepositoryRequest
77-
from .types.dataform import WorkflowInvocation
78-
from .types.dataform import WorkflowInvocationAction
79-
from .types.dataform import Workspace
80-
from .types.dataform import WriteFileRequest
81-
from .types.dataform import WriteFileResponse
20+
21+
from .services.dataform import DataformAsyncClient, DataformClient
22+
from .types.dataform import (
23+
CancelWorkflowInvocationRequest,
24+
CommitAuthor,
25+
CommitWorkspaceChangesRequest,
26+
CompilationResult,
27+
CompilationResultAction,
28+
CreateCompilationResultRequest,
29+
CreateRepositoryRequest,
30+
CreateWorkflowInvocationRequest,
31+
CreateWorkspaceRequest,
32+
DeleteRepositoryRequest,
33+
DeleteWorkflowInvocationRequest,
34+
DeleteWorkspaceRequest,
35+
FetchFileDiffRequest,
36+
FetchFileDiffResponse,
37+
FetchFileGitStatusesRequest,
38+
FetchFileGitStatusesResponse,
39+
FetchGitAheadBehindRequest,
40+
FetchGitAheadBehindResponse,
41+
FetchRemoteBranchesRequest,
42+
FetchRemoteBranchesResponse,
43+
GetCompilationResultRequest,
44+
GetRepositoryRequest,
45+
GetWorkflowInvocationRequest,
46+
GetWorkspaceRequest,
47+
InstallNpmPackagesRequest,
48+
InstallNpmPackagesResponse,
49+
ListCompilationResultsRequest,
50+
ListCompilationResultsResponse,
51+
ListRepositoriesRequest,
52+
ListRepositoriesResponse,
53+
ListWorkflowInvocationsRequest,
54+
ListWorkflowInvocationsResponse,
55+
ListWorkspacesRequest,
56+
ListWorkspacesResponse,
57+
MakeDirectoryRequest,
58+
MakeDirectoryResponse,
59+
MoveDirectoryRequest,
60+
MoveDirectoryResponse,
61+
MoveFileRequest,
62+
MoveFileResponse,
63+
PullGitCommitsRequest,
64+
PushGitCommitsRequest,
65+
QueryCompilationResultActionsRequest,
66+
QueryCompilationResultActionsResponse,
67+
QueryDirectoryContentsRequest,
68+
QueryDirectoryContentsResponse,
69+
QueryWorkflowInvocationActionsRequest,
70+
QueryWorkflowInvocationActionsResponse,
71+
ReadFileRequest,
72+
ReadFileResponse,
73+
RelationDescriptor,
74+
RemoveDirectoryRequest,
75+
RemoveFileRequest,
76+
Repository,
77+
ResetWorkspaceChangesRequest,
78+
Target,
79+
UpdateRepositoryRequest,
80+
WorkflowInvocation,
81+
WorkflowInvocationAction,
82+
Workspace,
83+
WriteFileRequest,
84+
WriteFileResponse,
85+
)
8286

8387
__all__ = (
8488
"DataformAsyncClient",

‎google/cloud/dataform_v1beta1/services/dataform/__init__.py

Copy file name to clipboardExpand all lines: google/cloud/dataform_v1beta1/services/dataform/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
from .client import DataformClient
1716
from .async_client import DataformAsyncClient
17+
from .client import DataformClient
1818

1919
__all__ = (
2020
"DataformClient",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.