The page you navigated to () does not exist, so we brought you to the closest page to it.
You have switched from the to the variant of this site. There is no equivalent of . We have taken you to the closest page in the variant.
flytekitplugins.perian_job.agent
Directory
Classes
| Class | Description |
|---|---|
PerianAgent |
Flyte Agent for executing tasks on PERIAN Job Platform. |
PerianMetadata |
Metadata for PERIAN jobs. |
Variables
| Property | Type | Description |
|---|---|---|
PERIAN_API_URL |
str |
flytekitplugins.perian_job.agent.PerianAgent
Flyte Agent for executing tasks on PERIAN Job Platform
def PerianAgent()Methods
| Method | Description |
|---|---|
create() |
Return a resource meta that can be used to get the status of the task. |
delete() |
Delete the task. |
get() |
Return the status of the task, and return the outputs in some cases. |
create()
def create(
task_template: flytekit.models.task.TaskTemplate,
inputs: typing.Optional[flytekit.models.literals.LiteralMap],
output_prefix: typing.Optional[str],
kwargs,
) -> flytekitplugins.perian_job.agent.PerianMetadataReturn a resource meta that can be used to get the status of the task.
| Parameter | Type |
|---|---|
task_template |
flytekit.models.task.TaskTemplate |
inputs |
typing.Optional[flytekit.models.literals.LiteralMap] |
output_prefix |
typing.Optional[str] |
kwargs |
**kwargs |
delete()
def delete(
resource_meta: flytekitplugins.perian_job.agent.PerianMetadata,
kwargs,
)Delete the task. This call should be idempotent. It should raise an error if fails to delete the task.
| Parameter | Type |
|---|---|
resource_meta |
flytekitplugins.perian_job.agent.PerianMetadata |
kwargs |
**kwargs |
get()
def get(
resource_meta: flytekitplugins.perian_job.agent.PerianMetadata,
kwargs,
) -> flytekit.extend.backend.base_agent.ResourceReturn the status of the task, and return the outputs in some cases. For example, bigquery job can’t write the structured dataset to the output location, so it returns the output literals to the propeller, and the propeller will write the structured dataset to the blob store.
| Parameter | Type |
|---|---|
resource_meta |
flytekitplugins.perian_job.agent.PerianMetadata |
kwargs |
**kwargs |
Properties
| Property | Type | Description |
|---|---|---|
metadata_type |
||
task_category |
task category that the agent supports |
flytekitplugins.perian_job.agent.PerianMetadata
Metadata for PERIAN jobs
class PerianMetadata(
job_id: str,
)| Parameter | Type |
|---|---|
job_id |
str |
Methods
| Method | Description |
|---|---|
decode() |
Decode the resource meta from bytes. |
encode() |
Encode the resource meta to bytes. |
decode()
def decode(
data: bytes,
) -> ResourceMetaDecode the resource meta from bytes.
| Parameter | Type |
|---|---|
data |
bytes |
encode()
def encode()Encode the resource meta to bytes.