Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Nov 14, 2023
1 parent fa5aba2 commit da1fcdc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions livekit-api/livekit/api/_service.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Dict
import aiohttp
from abc import ABC
from ._twirp_client import TwirpClient
from .access_token import AccessToken, VideoGrants
Expand Down
4 changes: 3 additions & 1 deletion livekit-api/livekit/api/api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import aiohttp
import os
import asyncio
from .room_service import RoomService
from .egress_service import EgressService
from .ingress_service import IngressService


class LiveKitAPI:
Expand Down
1 change: 0 additions & 1 deletion livekit-api/livekit/api/egress_service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import aiohttp
from livekit.protocol import egress as proto_egress
from livekit.protocol import models as proto_models
from ._service import Service
from .access_token import VideoGrants

Expand Down
1 change: 0 additions & 1 deletion livekit-api/livekit/api/ingress_service.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import aiohttp
from livekit.protocol import ingress as proto_ingress
from livekit.protocol import models as proto_models
from ._service import Service
from .access_token import VideoGrants

Expand Down
12 changes: 1 addition & 11 deletions livekit-api/livekit/api/room_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def mute_published_track(
SVC,
"MutePublishedTrack",
update,
self._auth_header(VideoGrants(room_admin=True, room=room)),
self._auth_header(VideoGrants(room_admin=True, room=update.room)),
proto_room.MuteRoomTrackResponse,
)

Expand Down Expand Up @@ -135,13 +135,3 @@ async def send_data(
proto_room.SendDataResponse,
)

async def update_room_metadata(
self, update: proto_room.UpdateRoomMetadataRequest
) -> proto_room.Room:
return await self._client.request(
SVC,
"UpdateRoomMetadata",
update,
self._auth_header(VideoGrants(room_admin=True, room=update.room)),
proto_room.Room,
)

0 comments on commit da1fcdc

Please sign in to comment.