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)
반환 형식:

SessionTemplate

classmethod await list_templates(list_all=False)
반환 형식:

List[Mapping[str, str]]

await get(body_format='yaml')
반환 형식:

str

await put(template)
반환 형식:

Any

await delete()
반환 형식:

Any