Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chatbi/chatbi
/ functions
Functions
811 in github.com/chatbi/chatbi
⨍
Functions
811
◇
Types & classes
325
↳
Endpoints
45
Function
validation_exception_handler
Handle request validation errors from Pydantic.
chatbi/middleware/error_handler.py:361
Function
verify_api_key
Verify the API key and return the associated user or client ID. Args: api_key: API key from request header Returns: str
chatbi/dependencies.py:253
Function
with_cache_control
Decorator to add Cache-Control headers to responses. Args: max_age: Maximum time in seconds the response is fresh private: W
chatbi/middleware/cache.py:335
Function
with_db_retry
Decorator to retry database operations on connection errors. Args: max_retries: Maximum number of retry attempts delay: Dela
chatbi/database/database.py:108
Function
with_retry
Decorator for methods that should retry on temporary database errors. Args: max_retries: Maximum number of retry attempts
chatbi/database/connection_manager.py:26
Function
wrapper
(*args, **kwargs1)
chatbi/utils.py:56
Function
wrapper
(*args, request: Request = None, **kwargs)
chatbi/dependencies.py:503
Function
wrapper
(*args, **kwargs)
chatbi/cache/redis.py:19
Function
wrapper
(request: Request, *args: Any, **kwargs: Any)
chatbi/middleware/cache.py:208
Function
wrapper
(*args: Any, **kwargs: Any)
chatbi/database/database.py:124
Function
wrapper
(*args, **kwargs)
chatbi/database/connection_manager.py:35
← previous
801–811 of 811, ranked by callers