Terfin / pyodata-old

An OData framework for Python. It will include a full (as much as possible) implementation of the OData Protocol v4.0
MIT License
0 stars 0 forks source link

EDM Types #5

Open Terfin opened 10 years ago

Terfin commented 10 years ago

Each type MUST contain support for the following facets: Nullable, Name, ConcurrencyMode. Each type MUST be initialized with the Name facet, thus receiving a name upon initialization is required. Each type contains more facets, depending on the type, as listed below:

        1. Facets: MaxLength, FixedLength

        1. Facets: Precision, Scale

        1. Facets: MaxLength, FixedLength, Unicode, DefaultValue

        1. Facets: SRID

        1. Facets: SRID

Terfin commented 10 years ago

This issue has been put on hold in order to continue development of other aspects of EDM. Current status: All types were written and were attached to their relevant validation regex, from the regex_base dict that resides in utils.py