Commit 2995faa1 authored by Alexandre Fayolle's avatar Alexandre Fayolle
Browse files

[doc] updated docstrings

--HG--
branch : stable
parent f03b55a18c43
......@@ -156,7 +156,7 @@ class Entity(AppObject, dict):
:cvar skip_copy_for: a list of relations that should be skipped when copying
this kind of entity. Note that some relations such
as composite relations or relations that have '?1' as object
cardinality
cardinality are always skipped.
"""
__metaclass__ = _metaentity
__registry__ = 'etypes'
......@@ -477,7 +477,9 @@ class Entity(AppObject, dict):
# entity cloning ##########################################################
def copy_relations(self, ceid):
"""copy relations of the object with the given eid on this object
"""copy relations of the object with the given eid on this
object (this method is called on the newly created copy, and
ceid designates the original entity).
By default meta and composite relations are skipped.
Overrides this if you want another behaviour
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment