From 8e1e88129ec979840527a9779c779dc52faa4dfd Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Sun, 27 Mar 2022 17:38:29 +0100 Subject: Add __all__ attrs to async_stats and site_api modules --- botcore/async_stats.py | 3 +++ botcore/site_api.py | 3 +++ 2 files changed, 6 insertions(+) (limited to 'botcore') diff --git a/botcore/async_stats.py b/botcore/async_stats.py index 3ef28e1a..fef5b2d6 100644 --- a/botcore/async_stats.py +++ b/botcore/async_stats.py @@ -52,3 +52,6 @@ class AsyncStatsClient(StatsClientBase): async def _async_send(self, data: str) -> None: """Send data to the statsd server using the async transport.""" self._transport.sendto(data.encode('ascii'), self._addr) + + +__all__ = ['AsyncStatsClient'] diff --git a/botcore/site_api.py b/botcore/site_api.py index ad72b104..dbdf4f3b 100644 --- a/botcore/site_api.py +++ b/botcore/site_api.py @@ -151,3 +151,6 @@ class APIClient: await self.maybe_raise_for_status(resp, raise_for_status) return await resp.json() + + +__all__ = ['APIClient', 'ResponseCodeError'] -- cgit v1.2.3