Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Aug 13, 2024
1 parent 36e4a04 commit 314c031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supabase/_async/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
AsyncRPCFilterRequestBuilder,
)
from postgrest.constants import DEFAULT_POSTGREST_CLIENT_TIMEOUT
from realtime.client import RealtimeClient
from realtime.channel import Channel, RealtimeChannelOptions
from realtime.client import RealtimeClient
from storage3 import AsyncStorageClient
from storage3.constants import DEFAULT_TIMEOUT as DEFAULT_STORAGE_CLIENT_TIMEOUT
from supafunc import AsyncFunctionsClient
Expand Down Expand Up @@ -206,7 +206,7 @@ def channel(self, topic: str, params: RealtimeChannelOptions = {}) -> Channel:
def get_channels(self) -> List[Channel]:
"""Return all channels the client is subscribed to."""
return self.realtime.get_channels()

async def remove_channel(self, channel: Channel) -> None:
"""Remove a channel from the client."""
await self.realtime.remove_channel(channel)
Expand Down

0 comments on commit 314c031

Please sign in to comment.