Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Chainlit_chainlit /cypress /e2e /oauth_auth /main.py
| import os | |
| from typing import Optional | |
| os.environ["CHAINLIT_AUTH_SECRET"] = "SUPER_SECRET" # nosec B105 | |
| os.environ["OAUTH_GITHUB_CLIENT_ID"] = "fake_client_id" # nosec B105 | |
| os.environ["OAUTH_GITHUB_CLIENT_SECRET"] = "fake_client_secret" # nosec B105 | |
| import chainlit as cl | |
| def oauth_callback( | |
| provider_id: str, | |
| token: str, | |
| raw_user_data: dict, | |
| default_user: cl.User, | |
| ) -> Optional[cl.User]: | |
| return default_user | |
| async def on_chat_start(): | |
| await cl.Message("Hello").send() | |
Xet Storage Details
- Size:
- 539 Bytes
- Xet hash:
- d33aee8623fe0ee5aac71748428386a61ae78be75c398b86d1f9a37932dd9a3c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.