profile
| CLASS | DESCRIPTION |
|---|---|
Profile |
Profile table. |
Classes
Profile
Bases: Base
Profile table.
| ATTRIBUTE | DESCRIPTION |
|---|---|
jobs_remote_dir |
Remote path of the job folder (only relevant if
TYPE:
|
name |
Profile name.
TYPE:
|
pixi_cache_dir |
Override for the
TYPE:
|
resource_type |
Type of resource (either
TYPE:
|
ssh_key_path |
Path to the private SSH key of user
TYPE:
|
tasks_remote_dir |
Remote path of the task folder (only relevant if
TYPE:
|
username |
Username to be impersonated, either via
TYPE:
|
Source code in fractal_server/app/models/v2/profile.py
Attributes
jobs_remote_dir = mapped_column(default=lambda: None)
class-attribute
instance-attribute
Remote path of the job folder (only relevant if
resource_type="slurm_ssh").
name = mapped_column(unique=True)
class-attribute
instance-attribute
Profile name.
pixi_cache_dir = mapped_column(default=lambda: None)
class-attribute
instance-attribute
Override for the PIXI_CACHE_DIR variable, which would otherwise default
to the cache subfolder of PIXI_HOME (only relevant if
resource_type="slurm_ssh")
resource_type
instance-attribute
Type of resource (either local, slurm_sudo or slurm_ssh).
ssh_key_path = mapped_column(default=lambda: None)
class-attribute
instance-attribute
Path to the private SSH key of user username (only relevant if
resource_type="slurm_ssh").
tasks_remote_dir = mapped_column(default=lambda: None)
class-attribute
instance-attribute
Remote path of the task folder (only relevant if
resource_type="slurm_ssh").
username = mapped_column(default=lambda: None)
class-attribute
instance-attribute
Username to be impersonated, either via sudo -u or via ssh.