examples: fix studypal errors and update requirements

This commit is contained in:
Aleix Conchillo Flaqué
2024-08-22 11:36:16 -07:00
parent 9b6f29c24a
commit d42f072ff5
4 changed files with 13 additions and 7 deletions

View File

@@ -50,12 +50,12 @@ async def configure_with_args(
daily_rest_helper = DailyRESTHelper(
daily_api_key=key,
daily_api_url=os.getenv("DAILY_API_URL", "https://api.daily.co/v1"),
)
aiohttp_session=aiohttp_session)
# Create a meeting token for the given room with an expiration 1 hour in
# the future.
expiry_time: float = 60 * 60
token = daily_rest_helper.get_token(url, expiry_time)
token = await daily_rest_helper.get_token(url, expiry_time)
return (url, token, args)
return (url, token, args)