schema.py
branchstable
changeset 9928 0d831b40fa48
parent 9600 bde625698f44
child 9984 793377697c81
equal deleted inserted replaced
9925:aee99876eb10 9928:0d831b40fa48
    29 from logilab.common.decorators import cached, clear_cache, monkeypatch, cachedproperty
    29 from logilab.common.decorators import cached, clear_cache, monkeypatch, cachedproperty
    30 from logilab.common.logging_ext import set_log_methods
    30 from logilab.common.logging_ext import set_log_methods
    31 from logilab.common.deprecation import deprecated, class_moved, moved
    31 from logilab.common.deprecation import deprecated, class_moved, moved
    32 from logilab.common.textutils import splitstrip
    32 from logilab.common.textutils import splitstrip
    33 from logilab.common.graph import get_cycles
    33 from logilab.common.graph import get_cycles
    34 from logilab.common.compat import any
       
    35 
    34 
    36 from yams import BadSchemaDefinition, buildobjs as ybo
    35 from yams import BadSchemaDefinition, buildobjs as ybo
    37 from yams.schema import Schema, ERSchema, EntitySchema, RelationSchema, \
    36 from yams.schema import Schema, ERSchema, EntitySchema, RelationSchema, \
    38      RelationDefinitionSchema, PermissionMixIn, role_name
    37      RelationDefinitionSchema, PermissionMixIn, role_name
    39 from yams.constraints import BaseConstraint, FormatConstraint
    38 from yams.constraints import BaseConstraint, FormatConstraint