cubicweb/server/test/data-migractions/cubicweb_fakecustomtype/schema.py
author Nicola Spanti <nicola.spanti@logilab.fr>
Thu, 19 Dec 2019 15:13:10 +0100
changeset 12841 fceae84a22dd
parent 12545 be36811f0d08
permissions -rw-r--r--
[py] Make flake8 less angry with cubicweb/server/test/

from yams.buildobjs import EntityType, make_type

Numeric = make_type('Numeric')


class Location(EntityType):
    num = Numeric(scale=10, precision=18)