cubicweb/test/data/cubicweb_tag/entities.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 05 Mar 2020 09:54:35 +0100
branch3.27
changeset 12898 e731c31eaed0
parent 12518 12e8b65146d9
permissions -rw-r--r--
[pkg] version 3.27.2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12518
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     1
from cubicweb.entities import AnyEntity, fetch_config
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     2
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     3
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     4
class Tag(AnyEntity):
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     5
    __regid__ = 'Tag'
12e8b65146d9 [test] drop dependency on third party cubes
Philippe Pepiot <philippe.pepiot@logilab.fr>
parents:
diff changeset
     6
    fetch_attrs, cw_fetch_order = fetch_config(['name'])