openhands.server.types
SessionMiddlewareInterface Objects
class SessionMiddlewareInterface(Protocol)
Protocol for session middleware classes.
OpenhandsConfigInterface Objects
class OpenhandsConfigInterface(ABC)
verify_config
@abstractmethod
def verify_config() -> None
Verify configuration settings.
verify_github_repo_list
@abstractmethod
async def verify_github_repo_list(installation_id: int | None) -> None
Verify that repo list is being called via user's profile or Github App installations.
get_config
@abstractmethod
async def get_config() -> dict[str, str]
Configure attributes for frontend