SoulFire LogoSoulFire

SoulFireTask

Public Python members of SoulFireTask.

Generated from the pinned SDK source. Use the matching installation. Each source link points to this baseline.

Methods decorated with @fn return effects. Their implementation signatures use EffectGen for the generator body. Compose them with yield from inside a scoped workflow.

id

@property
def id(self) -> str

Source

snapshot

@property
def snapshot(self) -> BotTask

Source

terminal

@property
def terminal(self) -> bool

Source

refresh

@fn("SoulFireTask.refresh")
def refresh(
    self, *, headers: dict[str, str] | None = None, timeout_ms: int | None = None
) -> EffectGen[BotTask, SoulFireOperationError]

Source

events

def events(
    self,
    *,
    after_revision: int | None = None,
    headers: dict[str, str] | None = None,
    timeout_ms: int | None = None,
) -> Stream[BotTaskEvent, SoulFireOperationError]

Source

wait

@fn("SoulFireTask.wait")
def wait(
    self, *, headers: dict[str, str] | None = None, timeout_ms: int | None = None
) -> EffectGen[BotTask, SoulFireOperationError]

Source

cancel

@fn("SoulFireTask.cancel")
def cancel(
    self,
    reason: str = "",
    *,
    headers: dict[str, str] | None = None,
    timeout_ms: int | None = None,
) -> EffectGen[BotTask, SoulFireOperationError]

Source

result

@fn("SoulFireTask.result")
def result(
    self, *, headers: dict[str, str] | None = None, timeout_ms: int | None = None
) -> EffectGen[ResultT, SoulFireOperationError]

Source

How is this page?

Last updated on

On this page