unitelabs.cdk.sila.unobservable_command

Packages

Classes

  • UnobservableCommand

    Decorators
    dataclasses.dataclass

    Methods

    • __init__(
        self,
        identifier : str,
        display_name : str,
        description : str,
      ) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        identifier
        Type
        str
        Default
        = ''
        Description

      • Name
        display_name
        Type
        str
        Default
        = ''
        Description

      • Name
        description
        Type
        str
        Default
        = ''
        Description

      • Name
        errors
        Type
        list[type[DefinedExecutionError]]
        Default
        Description

    • __call__(self, function : typing.Callable) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        function
        Type
        typing.Callable
        Default
        Description

    • attach(self, feature : sila.server.Feature, function : typing.Callable) -> None

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        feature
        Type
        sila.server.Feature
        Default
        Description

      • Name
        function
        Type
        typing.Callable
        Default
        Description

    • _infer_parameters_from_signature(self, feature, function : typing.Callable) -> dict[str, sila.server.data_types.Structure.Element]

      Parameters

      • Name
        self
        Type
        Default
        Description

      • Name
        feature
        Type
        Default
        Description

      • Name
        function
        Type
        typing.Callable
        Default
        Description

      Response

      Type
      dict[str, sila.server.data_types.Structure.Element]
      Description

    Attributes

    • Name
      identifier
      Type
      str
      Value

      = ''

      Description

    • Name
      display_name
      Type
      str
      Value

      = ''

      Description

    • Name
      description
      Type
      str
      Value

      = ''

      Description

    • Name
      errors
      Type
      list[type[DefinedExecutionError]]
      Value

      = dataclasses.field(default_factory=list)

      Description

Copyright © 2024