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

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <50404902+HemangChothani@users.noreply.github.com>
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 <busunkim@google.com>
  • Loading branch information
yoshi-automation and busunkim96 committed Jun 20, 2020
1 parent b43ea51 commit 33f46ba
Show file tree
Hide file tree
Showing 19 changed files with 4,210 additions and 1,311 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -43,7 +43,7 @@

# autodoc/autosummary flags
autoclass_content = "both"
autodoc_default_flags = ["members"]
autodoc_default_options = {"members": True}
autosummary_generate = True


Expand Down
6 changes: 3 additions & 3 deletions docs/osconfig_v1/services.rst
@@ -1,6 +1,6 @@
Client for Google Cloud Osconfig API
====================================
Services for Google Cloud Osconfig v1 API
=========================================

.. automodule:: google.cloud.osconfig_v1
.. automodule:: google.cloud.osconfig_v1.services.os_config_service
:members:
:inherited-members:
4 changes: 2 additions & 2 deletions docs/osconfig_v1/types.rst
@@ -1,5 +1,5 @@
Types for Google Cloud Osconfig API
===================================
Types for Google Cloud Osconfig v1 API
======================================

.. automodule:: google.cloud.osconfig_v1.types
:members:
5 changes: 4 additions & 1 deletion google/cloud/osconfig/__init__.py
Expand Up @@ -15,7 +15,9 @@
# limitations under the License.
#


from google.cloud.osconfig_v1.services.os_config_service.async_client import (
OsConfigServiceAsyncClient,
)
from google.cloud.osconfig_v1.services.os_config_service.client import (
OsConfigServiceClient,
)
Expand Down Expand Up @@ -80,6 +82,7 @@
"ListPatchJobsResponse",
"MonthlySchedule",
"OneTimeSchedule",
"OsConfigServiceAsyncClient",
"OsConfigServiceClient",
"PatchConfig",
"PatchDeployment",
Expand Down
1 change: 0 additions & 1 deletion google/cloud/osconfig_v1/__init__.py
Expand Up @@ -15,7 +15,6 @@
# limitations under the License.
#


from .services.os_config_service import OsConfigServiceClient
from .types.patch_deployments import CreatePatchDeploymentRequest
from .types.patch_deployments import DeletePatchDeploymentRequest
Expand Down
Expand Up @@ -16,5 +16,6 @@
#

from .client import OsConfigServiceClient
from .async_client import OsConfigServiceAsyncClient

__all__ = ("OsConfigServiceClient",)
__all__ = ("OsConfigServiceClient", "OsConfigServiceAsyncClient")

0 comments on commit 33f46ba

Please sign in to comment.