Skip to content

service_wrapper

InferenceClient

Bases: ServiceClientWrapper, Singleton

Wrapper of ServiceClient to handle inference, including: - fitting - prediction

UserAuthenticationClient

Bases: ServiceClientWrapper, Singleton

Wrapper of ServiceClient to handle user authentication, including: - user registration and login - access token caching

This is implemented as a singleton class with classmethods.

try_browser_login classmethod

try_browser_login() -> tuple[bool, str]

Try to authenticate using browser-based login

UserDataClient

Bases: ServiceClientWrapper, Singleton

Wrapper of ServiceClient to handle user data, including: - query, or delete user account data - query, download, or delete uploaded data