Session Template Functions

class ai.backend.client.func.session_template.SessionTemplate(template_id, owner_access_key=None)[source]
session = None
classmethod await create(template, domain_name=None, group_name=None, owner_access_key=None)[source]
Return type

SessionTemplate

classmethod await list_templates(list_all=False)[source]
Return type

List[Mapping[str, str]]

await get(body_format='yaml')[source]
Return type

str

await put(template)[source]
await delete()[source]