2424
2525
2626class AutomationsFile (BaseModel ):
27+ """automations_file is the automations file spec of the environment"""
28+
2729 automations_file_path : Optional [str ] = FieldInfo (alias = "automationsFilePath" , default = None )
2830 """
2931 automations_file_path is the path to the automations file that is applied in the
@@ -39,6 +41,8 @@ class AutomationsFile(BaseModel):
3941
4042
4143class Content (BaseModel ):
44+ """content is the content spec of the environment"""
45+
4246 git_email : Optional [str ] = FieldInfo (alias = "gitEmail" , default = None )
4347 """The Git email address"""
4448
@@ -52,11 +56,15 @@ class Content(BaseModel):
5256
5357
5458class DevcontainerDotfiles (BaseModel ):
59+ """Experimental: dotfiles is the dotfiles configuration of the devcontainer"""
60+
5561 repository : str
5662 """URL of a dotfiles Git repository (e.g. https://github.com/owner/repository)"""
5763
5864
5965class Devcontainer (BaseModel ):
66+ """devcontainer is the devcontainer spec of the environment"""
67+
6068 default_devcontainer_image : Optional [str ] = FieldInfo (alias = "defaultDevcontainerImage" , default = None )
6169 """
6270 default_devcontainer_image is the default image that is used to start the
@@ -80,6 +88,8 @@ class Devcontainer(BaseModel):
8088
8189
8290class Machine (BaseModel ):
91+ """machine is the machine spec of the environment"""
92+
8393 class_ : Optional [str ] = FieldInfo (alias = "class" , default = None )
8494 """Class denotes the class of the environment we ought to start"""
8595
@@ -139,6 +149,8 @@ class SSHPublicKey(BaseModel):
139149
140150
141151class Timeout (BaseModel ):
152+ """Timeout configures the environment timeout"""
153+
142154 disconnected : Optional [str ] = None
143155 """
144156 inacitivity is the maximum time of disconnection before the environment is
@@ -147,6 +159,11 @@ class Timeout(BaseModel):
147159
148160
149161class EnvironmentSpec (BaseModel ):
162+ """
163+ EnvironmentSpec specifies the configuration of an environment for an environment
164+ start
165+ """
166+
150167 admission : Optional [AdmissionLevel ] = None
151168 """admission controlls who can access the environment and its ports."""
152169
0 commit comments