variable
Variable ¶
Bases: VariableMetadata
Variable object to interact with variable specific endpoints.
short_display_name
class-attribute
instance-attribute
¶
internal_note
class-attribute
instance-attribute
¶
custom_attributes
class-attribute
instance-attribute
¶
auto_generated
class-attribute
instance-attribute
¶
knowledge_model_id
instance-attribute
¶
Id of knowledge model where variable is located.
from_transport
classmethod
¶
Creates high-level Variable object from given VariableMetadata.
Parameters:
-
client
(Client
) –Client to use to make API calls for given variable.
-
knowledge_model_id
(str
) –Id of knowledge model where variable is located.
-
variable_transport
(VariableMetadata
) –VariableMetadata object containing properties of variable.
Returns:
-
Variable
–A Variable object with properties from transport and given client.
update ¶
Pushes local changes of variable to EMS and updates properties with response from EMS.