Backend.AI Documentation
latest
Backend.AI Concepts
Installation Guides
User Guides
Developer Guides
Migration Guides
Backend.AI Manager Reference
Backend.AI Agent Reference
Backend.AI Storage Proxy Reference
Backend.AI Client SDK for Python
Installation
Client Configuration
Command Line Interface
Developer Guides
High-level Function Reference
Admin Functions
Agent Functions
Auth Functions
Configuration
KeyPair Functions
Manager Functions
Scaling Group Functions
ComputeSession Functions
Session Template Functions
SessionTemplate
Virtual Folder Functions
Low-level SDK Reference
Backend.AI Documentation
Backend.AI Client SDK for Python
High-level Function Reference
Session Template Functions
Edit on GitHub
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