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

feat: add async client #8

Merged
merged 3 commits into from Jun 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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")