Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
a8a424a78c26
Commit
03a0e857
authored
Sep 21, 2011
by
Sylvain Thénault
Browse files
[entity doc] fix typo (rest_var instead of rest_attr) and cleanup doc
parent
6806a7db9732
Changes
1
Hide whitespace changes
Inline
Side-by-side
entity.py
View file @
a8a424a7
...
...
@@ -77,17 +77,16 @@ class Entity(AppObject):
:type e_schema: `cubicweb.schema.EntitySchema`
:ivar e_schema: the entity's schema
:type rest_
v
ar: str
:cvar rest_
v
ar: indicates which attribute should be used to build REST urls
If None is specified, the first
non-meta
attribute will
be used
:type rest_a
tt
r: str
:cvar rest_a
tt
r: indicates which attribute should be used to build REST urls
If
`
None
`
is specified
(the default)
, the first
unique
attribute will
be used ('eid' if none found)
:type cw_skip_copy_for: list
:cvar cw_skip_copy_for: a list of couples (rtype, role) for each relation
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 are always skipped.
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 are always skipped.
"""
__registry__
=
'etypes'
__select__
=
yes
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment