doc/api/cwvreg.rst
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 29 Feb 2016 12:32:52 +0100
changeset 11171 b81e543e623a
parent 10499 d0907690af55
child 12813 9c151701d63e
permissions -rw-r--r--
[rset] fix infinite recursion introduced in c1eb5a676c80 The mechanism to avoid loops in c1eb5a676c80 "[rset] Always complete attribute/relation caches in ResultSet.get_entity" breaks down: we would loop forever if two entities that were already in the cache were linked by a relation with ? or 1 cardinality in both directions. To avoid that, keep a set of already-considered columns. Related to #9942503.

.. _cwvreg_module:

:mod:`cubicweb.cwvreg`
======================

.. automodule:: cubicweb.cwvreg

    .. autoclass:: CWRegistryStore
        :show-inheritance:
        :members:
        :undoc-members:

    .. autoclass:: CWRegistry
        :show-inheritance:
        :members: schema, poss_visible_objects, select

    .. autoclass:: InstancesRegistry
        :show-inheritance:
        :members:

    .. autoclass:: ETypeRegistry
        :show-inheritance:
        :members:

    .. autoclass:: ViewsRegistry
        :show-inheritance:
        :members:

    .. autoclass:: ActionsRegistry
        :show-inheritance:
        :members:

    .. autoclass:: CtxComponentsRegistry
        :show-inheritance:
        :members:

    .. autoclass:: BwCompatCWRegistry
        :show-inheritance:
        :members:


:mod:`logilab.common.registry`
==============================

.. automodule:: logilab.common.registry