compute
AsyncCompute
A compute resource.
description: Optional[str] = Field(None, title='Description')
class-attribute
instance-attribute
full_name: Optional[str] = Field(None, title='Full Name')
class-attribute
instance-attribute
name: str = Field(..., title='Name')
class-attribute
instance-attribute
notes: Optional[List[str]] = Field(None, title='Notes')
class-attribute
instance-attribute
status: StatusValue
instance-attribute
system_type: Optional[str] = Field(None, title='System Type')
class-attribute
instance-attribute
updated_at: Optional[datetime] = Field(None, title='Updated At')
class-attribute
instance-attribute
Source code in sfapi_client/_async/compute.py
submit_job(script)
async
Parameters:
Name | Type | Description | Default |
---|---|---|---|
script
|
Union[str, AsyncRemotePath]
|
Path to file on the compute system, or script to run beginning with |
required |
Returns:
Type | Description |
---|---|
AsyncJobSqueue
|
Object containing information about the job, its job id, and status on the system. |
Source code in sfapi_client/_async/compute.py
Machine
The possible compute resources.