mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2026-04-12 00:26:53 +00:00
Three fixes for the processing page not redirecting when status becomes "ended": - Add useWebSockets to processing page so it receives STATUS events - Remove OAuth2PasswordBearer from auth_none — broke WebSocket endpoints (500) - Reconnect stale Redis in ws_manager when Celery worker reuses dead event loop
22 lines
242 B
Python
22 lines
242 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class UserInfo(BaseModel):
|
|
sub: str
|
|
|
|
|
|
class AccessTokenInfo(BaseModel):
|
|
pass
|
|
|
|
|
|
def authenticated():
|
|
return None
|
|
|
|
|
|
def current_user():
|
|
return None
|
|
|
|
|
|
def current_user_optional():
|
|
return None
|