core.skeleton.utils =================== .. py:module:: core.skeleton.utils Classes ------- .. autoapisummary:: core.skeleton.utils.SkelList Functions --------- .. autoapisummary:: core.skeleton.utils.skeletonByKind core.skeleton.utils.listKnownSkeletons core.skeleton.utils.iterAllSkelClasses core.skeleton.utils.remove_render_preparation_deep Module Contents --------------- .. py:function:: skeletonByKind(kindName) Returns the Skeleton-Class for the given kindName. That skeleton must exist, otherwise an exception is raised. :param kindName: The kindname to retreive the skeleton for :return: The skeleton-class for that kind .. py:function:: listKnownSkeletons() :return: A list of all known kindnames (all kindnames for which a skeleton is defined) .. py:function:: iterAllSkelClasses() :return: An iterator that yields each Skeleton-Class once. (Only top-level skeletons are returned, so no RefSkel classes will be included) .. py:class:: SkelList(skel, *items) Bases: :py:obj:`list` This class is used to hold multiple skeletons together with other, commonly used information. SkelLists are returned by Skel().all()...fetch()-constructs and provide additional information about the data base query, for fetching additional entries. :ivar cursor: Holds the cursor within a query. :vartype cursor: str :param baseSkel: The baseclass for all entries in this list .. py:attribute:: __slots__ :value: ('baseSkel', 'customQueryInfo', 'getCursor', 'get_orders', 'renderPreparation') .. py:attribute:: baseSkel .. py:attribute:: getCursor .. py:attribute:: get_orders .. py:attribute:: renderPreparation :value: None .. py:attribute:: customQueryInfo .. py:function:: remove_render_preparation_deep(skel) Remove renderPreparation of nested skeletons _refSkelCache can have renderPreparation too.