README
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Dec 2017 17:57:57 +0100
changeset 2915 451328134bee
parent 2670 a671735e9217
permissions -rw-r--r--
[entities] Add a safety belt avoid unexpected error in some corner case e.g. while debugging an instance I attempted to display result of 'Any X, C WHERE X container C' with unexpectedly to container for the entity, but I wasn't able to display it because rset.one() raised an error since len(rset) was 2. Even if the caller may be wrong, it seems ok to not call rset.one() if function is called in an erroneous context and simply return None in such case.

Summary
-------

This cube implements the SEDA_ standard for CubicWeb. It has been funded by the
SIAF_ and the `SAEM project`_.

.. _SEDA: https://redirect.francearchives.fr/seda/
.. _SIAF: https://fr.wikipedia.org/wiki/Service_interministériel_des_Archives_de_France
.. _`SAEM project`: http://www.saem.e-bordeaux.org/

Project is hosted at https://www.cubicweb.org/project/cubicweb-seda/ and source
code at https://hg.logilab.org/master/cubes/seda.

To launch the tests::

  python -m tox

To generate the documentation::

  python -m tox -e doc

Part of the code is generated from SEDA 2's XSD schema. If you update the schema
or code generator (on of the `cubicweb_seda/xsd*.py` files), to update the
generated code type::

  python -m tox -e make