adorn.data.parameter module

State from the constructor for a parameter from the constructor.

class adorn.data.parameter.Parameter(cls, parent, local_state, parameter_name)

Bases: object

State for a parameter from a given Constructor

Parameter allows for information outside of its obj, to be utilized, to perform some action. Examples of constructs that utilize the information contained in Parameter include:

Parameters
  • cls (_UnitT) –

  • parent (_UnitT) –

  • local_state (Dict[str, Any]) –

  • parameter_name (str) –

cls

the type of the underlying parameter

Type

_UnitT

parent

The type of object whose constructor requires an object of type cls

Type

_UnitT

local_state

Information about other arguments provided to the given constructor

Type

Dict[str, Any]

parameter_name

name of the parameter in the constructor

Type

str