Skip to content

Commit

Permalink
fix: import from types (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
anguillanneuf committed Oct 20, 2020
1 parent 45a8a71 commit e4199ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion google/cloud/pubsublite/internal/endpoints.py
@@ -1,4 +1,4 @@
from google.cloud.pubsublite.location import CloudRegion
from google.cloud.pubsublite.types import CloudRegion


def regional_endpoint(region: CloudRegion):
Expand Down
3 changes: 1 addition & 2 deletions google/cloud/pubsublite/internal/routing_metadata.py
@@ -1,8 +1,7 @@
from typing import Mapping
from urllib.parse import urlencode

from google.cloud.pubsublite.partition import Partition
from google.cloud.pubsublite.paths import TopicPath, SubscriptionPath
from google.cloud.pubsublite.types import Partition, TopicPath, SubscriptionPath

_PARAMS_HEADER = "x-goog-request-params"

Expand Down

0 comments on commit e4199ff

Please sign in to comment.