msticpy.common.data_types module
Object container class.
- class msticpy.common.data_types.FallbackProperty(instance_name: str, default_name: str)
Bases:
object
Descriptor for aliased property with fallback property.
Initialize the descriptor.
- Parameters:
instance_name (str) – Name of the instance attribute to use to store the value.
default_name (str) – Name of the instance attribute to use as a fallback value.
- class msticpy.common.data_types.ObjectContainer
Bases:
object
Empty class used to create hierarchical attributes.
Bases:
object
Descriptor to share property between instances of a class.
Initialize the descriptor.
- Parameters:
instance_name (str) – Name of the instance attribute to use to store the value.
- class msticpy.common.data_types.SplitProperty(inst_left_name: str, inst_right_name: str, split_char: str)
Bases:
object
Descriptor for property that is stored as two delimited attributes.
Initialize the descriptor.
- Parameters:
inst_left_name (str) – Name of the instance attribute to use to store the left value.
inst_right_name (str) – Name of the instance attribute to use to store the right value.
split_char (str) – Character to use to split the value.