unitelabs.cdk.sila.commands.status

Classes

  • Status

    Methods

    • __init__(
        self,
        command_execution : sila.commands.CommandExecution
      ) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        command_execution
        Type
        sila.commands.CommandExecution
        Default
        Description

    • update(
        self,
        progress : float[],
        remaining_time : sila.datetime.timedelta[],
        updated_lifetime : sila.datetime.timedelta[]
      ) -> None

      Updates the execution status of an observable command execution

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        progress
        Type
        float[]
        Default
        = None
        Description

      • Name
        remaining_time
        Type
        sila.datetime.timedelta[]
        Default
        = None
        Description

      • Name
        updated_lifetime
        Type
        sila.datetime.timedelta[]
        Default
        = None
        Description

    Attributes

    • Name
      command_execution
      Type
      sila.commands.CommandExecution
      Value

      = weakref.proxy(command_execution)

      Description

Copyright © 2024