Skip to content

Commit ed3943b

Browse files
committed
Add __all__ attrs to async_stats and site_api modules
1 parent 0129301 commit ed3943b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

botcore/async_stats.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ def _send(self, data: str) -> None:
5252
async def _async_send(self, data: str) -> None:
5353
"""Send data to the statsd server using the async transport."""
5454
self._transport.sendto(data.encode('ascii'), self._addr)
55+
56+
57+
__all__ = ['AsyncStatsClient']

botcore/site_api.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,6 @@ async def delete(self, endpoint: str, *, raise_for_status: bool = True, **kwargs
151151

152152
await self.maybe_raise_for_status(resp, raise_for_status)
153153
return await resp.json()
154+
155+
156+
__all__ = ['APIClient', 'ResponseCodeError']

0 commit comments

Comments
 (0)