Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 33f46ba

Browse files
feat: add async client (#8)
* changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * fix(python): change autodoc_default_flags to autodoc_default_options Source-Author: HemangChothani <[email protected]> Source-Date: Thu Jun 18 22:50:02 2020 +0530 Source-Repo: googleapis/synthtool Source-Sha: cd522c3b4dde821766d95c80ae5aeb43d7a41170 Source-Link: googleapis/synthtool@cd522c3 * test: update tests for async Co-authored-by: Bu Sun Kim <[email protected]>
1 parent b43ea51 commit 33f46ba

File tree

19 files changed

+4210
-1311
lines changed

19 files changed

+4210
-1311
lines changed

docs/conf.py

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

4444
# autodoc/autosummary flags
4545
autoclass_content = "both"
46-
autodoc_default_flags = ["members"]
46+
autodoc_default_options = {"members": True}
4747
autosummary_generate = True
4848

4949

docs/osconfig_v1/services.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Client for Google Cloud Osconfig API
2-
====================================
1+
Services for Google Cloud Osconfig v1 API
2+
=========================================
33

4-
.. automodule:: google.cloud.osconfig_v1
4+
.. automodule:: google.cloud.osconfig_v1.services.os_config_service
55
:members:
66
:inherited-members:

docs/osconfig_v1/types.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Types for Google Cloud Osconfig API
2-
===================================
1+
Types for Google Cloud Osconfig v1 API
2+
======================================
33

44
.. automodule:: google.cloud.osconfig_v1.types
55
:members:

google/cloud/osconfig/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
# limitations under the License.
1616
#
1717

18-
18+
from google.cloud.osconfig_v1.services.os_config_service.async_client import (
19+
OsConfigServiceAsyncClient,
20+
)
1921
from google.cloud.osconfig_v1.services.os_config_service.client import (
2022
OsConfigServiceClient,
2123
)
@@ -80,6 +82,7 @@
8082
"ListPatchJobsResponse",
8183
"MonthlySchedule",
8284
"OneTimeSchedule",
85+
"OsConfigServiceAsyncClient",
8386
"OsConfigServiceClient",
8487
"PatchConfig",
8588
"PatchDeployment",

google/cloud/osconfig_v1/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# limitations under the License.
1616
#
1717

18-
1918
from .services.os_config_service import OsConfigServiceClient
2019
from .types.patch_deployments import CreatePatchDeploymentRequest
2120
from .types.patch_deployments import DeletePatchDeploymentRequest

google/cloud/osconfig_v1/services/os_config_service/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
#
1717

1818
from .client import OsConfigServiceClient
19+
from .async_client import OsConfigServiceAsyncClient
1920

20-
__all__ = ("OsConfigServiceClient",)
21+
__all__ = ("OsConfigServiceClient", "OsConfigServiceAsyncClient")

0 commit comments

Comments
 (0)