Skip to content

Commit

Permalink
pangea-sdk: correct a few Share docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
kenany authored Jan 30, 2025
1 parent d991f7b commit 80f00ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/pangea-sdk/pangea/asyncio/services/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(
Examples:
config = PangeaConfig(domain="aws.us.pangea.cloud")
authz = ShareAsync(token="pangea_token", config=config)
share = ShareAsync(token="pangea_token", config=config)
"""

super().__init__(token, config, logger_name, config_id=config_id)
Expand All @@ -51,7 +51,7 @@ async def buckets(self) -> PangeaResponse[m.BucketsResult]:
A PangeaResponse. Available response fields can be found in our [API documentation](https://pangea.cloud/docs/api/share).
Examples:
response = share.buckets()
response = await share.buckets()
"""

return await self.request.post("v1/buckets", m.BucketsResult)
Expand Down
2 changes: 1 addition & 1 deletion packages/pangea-sdk/pangea/services/share/share.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def __init__(
Examples:
config = PangeaConfig(domain="aws.us.pangea.cloud")
authz = Share(token="pangea_token", config=config)
share = Share(token="pangea_token", config=config)
"""

super().__init__(token, config, logger_name, config_id=config_id)
Expand Down

0 comments on commit 80f00ea

Please sign in to comment.