.. title:: DeadlineDeadlineProperty lisa.wlgen.rta.DeadlineDeadlineProperty ======================================= .. autoclass:: lisa.wlgen.rta::DeadlineDeadlineProperty :no-members: :no-inherited-members: :no-undoc-members: :no-private-members: :no-special-members: .. rubric:: Classes .. list-table:: :align: left * - :class:`~lisa.wlgen.rta.PropertyBase.__class__` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.PropertyBase.__class__ Metaclass for properties. .. rubric:: Attributes .. list-table:: :align: left * - :attr:`~lisa.wlgen.rta.DeadlineDeadlineProperty.JSON_KEY` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleConcreteProperty Name of the JSON key the property will set. * - :attr:`~lisa.wlgen.rta.DeadlineDeadlineProperty.KEY` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.PropertyBase Subclasses can override this attribute so that :meth:`PropertyBase.from_key` knows that it can call their :meth:`~PropertyBase._from_key` method for that key. * - :attr:`~lisa.wlgen.rta.DeadlineDeadlineProperty.OPTIMIZE_JSON_KEYS` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.ConcretePropertyBase Configuration driving the JSON optimization, as a ``dict(str, set(str))``. * - :attr:`~lisa.wlgen.rta.SimpleConcreteProperty.DEFAULT_JSON` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleConcreteProperty JSON value to use as a default. * - :attr:`~lisa.wlgen.rta.SimpleConcreteProperty.FILTER_NONE` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleConcreteProperty If ``True``, no JSON content will be generated when the property value is ``None``. * - :attr:`~lisa.wlgen.rta.ConcretePropertyBase.REQUIRED_KCONFIG_KEYS` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.ConcretePropertyBase List of KCONFIG keys that need to be =Y on the target kernel for this property to be usable. .. rubric:: Properties .. list-table:: :align: left * - :attr:`~lisa.wlgen.rta.SimpleConcreteProperty.json_key` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleConcreteProperty Name of the JSON key that will be set. * - :attr:`~lisa.wlgen.rta.PropertyBase.key` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.PropertyBase Key of the instance. * - :attr:`~lisa.utils.Loggable.logger` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Convenience short-hand for ``self.get_logger()``. * - :attr:`~lisa.wlgen.rta.SimpleProperty.val` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleProperty Value "payload" of the property. .. rubric:: Methods .. list-table:: :align: left * - :meth:`~lisa.utils.SimpleHash.HASH_COERCE` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.SimpleHash Used to coerce the values of ``self.__dict__`` to hashable values. * - :meth:`~lisa.wlgen.rta.SimpleProperty.__and__` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.SimpleProperty Combine two instances of the same property together. * - :meth:`~lisa.wlgen.rta.ConcretePropertyBase.check_kconfig` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.ConcretePropertyBase Check whether ``plat_info`` contains the kernel KCONFIG keys contained in :attr:`~ConcretePropertyBase.REQUIRED_KCONFIG_KEYS`. * - :meth:`~lisa.wlgen.rta.PropertyBase.find_cls` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.PropertyBase Find which subclass can handle ``key``. * - :meth:`~lisa.wlgen.rta.PropertyBase.from_key` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.PropertyBase Alternative constructor that is available with the same signature for all properties. * - :meth:`~lisa.utils.Loggable.get_logger` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Provides a :class:`logging.Logger` named after ``cls``. * - :meth:`~lisa.utils.Loggable.log_locals` :sup:`inherited` - .. withrefctx:: :module: lisa.utils :class: lisa.utils.Loggable Debugging aid: log the local variables of the calling function. * - :meth:`~lisa.wlgen.rta.ConcretePropertyBase.to_default_json` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.ConcretePropertyBase Similar to :meth:`~ConcretePropertyBase.to_json` but returns the default values for the keys set in :meth:`~ConcretePropertyBase.to_json`. * - :meth:`~lisa.wlgen.rta.ConcretePropertyBase.to_json` :sup:`inherited` - .. withrefctx:: :module: lisa.wlgen.rta :class: lisa.wlgen.rta.ConcretePropertyBase Snippet of JSON content for that property as Python objects. Classes ------- .. autoclass:: lisa.wlgen.rta::DeadlineDeadlineProperty.__class__ Attributes ---------- .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.JSON_KEY .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.KEY .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.OPTIMIZE_JSON_KEYS .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.DEFAULT_JSON .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.FILTER_NONE .. autoattribute:: lisa.wlgen.rta::DeadlineDeadlineProperty.REQUIRED_KCONFIG_KEYS Properties ---------- .. autoproperty:: lisa.wlgen.rta::DeadlineDeadlineProperty.json_key .. autoproperty:: lisa.wlgen.rta::DeadlineDeadlineProperty.key .. autoproperty:: lisa.wlgen.rta::DeadlineDeadlineProperty.logger .. autoproperty:: lisa.wlgen.rta::DeadlineDeadlineProperty.val Methods ------- .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.HASH_COERCE .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.__and__ .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.check_kconfig .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.find_cls .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.from_key .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.get_logger .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.log_locals .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.to_default_json .. automethod:: lisa.wlgen.rta::DeadlineDeadlineProperty.to_json