Session Template Functions

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

SessionTemplate

classmethod await list_templates(list_all=False)
Return type:

List[Mapping[str, str]]

await get(body_format='yaml')
Return type:

str

await put(template)
Return type:

Any

await delete()
Return type:

Any