EdmType Class

Used by EntityProperty to represent the type of the entity property to be stored by the Table service.

Inheritance
builtins.object
EdmType

Constructor

EdmType()

Attributes

BINARY

Represents byte data. Must be specified.

BINARY = 'Edm.Binary'

BOOLEAN

Represents a boolean. This type will be inferred for Python bools.

BOOLEAN = 'Edm.Boolean'

DATETIME

Represents a date. This type will be inferred for Python datetime objects.

DATETIME = 'Edm.DateTime'

DOUBLE

Represents a double. This type will be inferred for Python floating point numbers.

DOUBLE = 'Edm.Double'

GUID

Represents a GUID. Must be specified.

GUID = 'Edm.Guid'

INT32

Represents a number between -(2^15) and 2^15. Must be specified or numbers will default to INT64.

INT32 = 'Edm.Int32'

INT64

Represents a number between -(2^31) and 2^31. This is the default type for Python numbers.

INT64 = 'Edm.Int64'

STRING

Represents a string. This type will be inferred for Python strings.

STRING = 'Edm.String'