pollination_apps.client module

class pollination_apps.client.APIClient(api_token=None, access_token=None, host='https://api.pollination.solutions')[source]

Bases: object

A Pollination client designed to interact with Workflow and Simulation objects.

api_token_name_exists(name: str) bool[source]
create_api_token(name: str) str[source]
create_app(owner: str, name: str, public: bool = True, app_sdk: str = 'streamlit')[source]
create_app_version(owner: str, slug: str, tag: str, release_notes: str = '') S3UploadRequest[source]
get_account() UserPrivate[source]
get_app(owner: str, slug: str) Application[source]
set_api_token(api_token: str)[source]
set_host(host: str)[source]
set_jwt(jwt: str)[source]
update_app(owner: str, slug: str, public: bool)[source]
upload_app_folder(owner: str, slug: str, tag: str, path: Path)[source]