scenic.core.specifiers
Specifiers and associated objects.
Summary of Module Members
Classes
Specifier providing values (or modifying) properties. |
|
A default value, possibly with dependencies. |
|
Specifier providing values for properties. |
Member Details
- class Specifier(name, priorities, value, deps=None)[source]
Specifier providing values for properties.
Each property is set to a value, at a given priority, given dependencies.
- Parameters:
name – The name of this specifier.
priorities – A dictionary mapping properties to the priority they are being specified with.
value – A dictionary mapping properties to the values they are being specified as.
deps – An iterable containing all properties that this specifier relies on.
- class ModifyingSpecifier(name, priorities, value, modifiable_props, deps=None)[source]
Bases:
Specifier
Specifier providing values (or modifying) properties.
- Parameters:
name – The name of this specifier.
priorities – A dictionary mapping properties to the priority they are being specified with.
value – A dictionary mapping properties to the values they are being specified as.
modifiable_props – What properties specified by this specifier can be modified.
deps – An iterable containing all properties that this specifier relies on.