unitelabs.sdk.utils.str

Attributes

  • Name
    alphanum
    Type
    Value

    = re.compile('[a-zA-Z0-9]+')

    Description

Functions

  • to_class_name(name : str) -> str

    Parameters

    • Name
      name
      Type
      str
      Default
      Description

    Response

    Type
    str
    Description

  • to_property_name(name : str) -> str

    Parameters

    • Name
      name
      Type
      str
      Default
      Description

    Response

    Type
    str
    Description

  • to_method_name(access : typing.Literal['PROPERTY', 'SENSOR', 'CONTROL', 'DIAGNOSTIC'], name : str) -> str

    Parameters

    • Name
      access
      Type
      typing.Literal['PROPERTY', 'SENSOR', 'CONTROL', 'DIAGNOSTIC']
      Default
      Description

    • Name
      name
      Type
      str
      Default
      Description

    Response

    Type
    str
    Description

Copyright © 2024