Skip to content
Permalink
Browse files
feat: surface SchemaServiceClient in google.cloud.pubsub (#281)
  • Loading branch information
plamut committed Jan 29, 2021
1 parent b112f4f commit 8751bcc5eb782df55769b48253629a3bde3d4661
Showing with 8 additions and 1 deletion.
  1. +2 −0 google/cloud/pubsub/__init__.py
  2. +6 −1 google/cloud/pubsub_v1/__init__.py
@@ -19,11 +19,13 @@

from google.cloud.pubsub_v1 import PublisherClient
from google.cloud.pubsub_v1 import SubscriberClient
from google.cloud.pubsub_v1 import SchemaServiceClient
from google.cloud.pubsub_v1 import types


__all__ = (
"types",
"PublisherClient",
"SubscriberClient",
"SchemaServiceClient",
)
@@ -17,6 +17,7 @@
from google.cloud.pubsub_v1 import types
from google.cloud.pubsub_v1 import publisher
from google.cloud.pubsub_v1 import subscriber
from google.pubsub_v1.services import schema_service


class PublisherClient(publisher.Client):
@@ -27,4 +28,8 @@ class SubscriberClient(subscriber.Client):
__doc__ = subscriber.Client.__doc__


__all__ = ("types", "PublisherClient", "SubscriberClient")
class SchemaServiceClient(schema_service.client.SchemaServiceClient):
__doc__ = schema_service.client.SchemaServiceClient.__doc__


__all__ = ("types", "PublisherClient", "SubscriberClient", "SchemaServiceClient")

0 comments on commit 8751bcc

Please sign in to comment.