EntityProperty Class
An entity property. Used to explicitly set EdmType when necessary.
Values which require explicit typing are GUID, INT64, and BINARY. Other EdmTypes may be explicitly create as EntityProperty objects but need not be. For example, the below with both create STRING typed properties on the entity:
entity = TableEntity()
entity.a = 'b'
entity.x = EntityProperty('y', EdmType.STRING)
- Inheritance
-
builtins.tupleEntityProperty
Constructor
EntityProperty(value, edm_type)
Parameters
- value
- <xref:Any>
Required
- edm_type
Attributes
edm_type
Alias for field number 1
edm_type: Union[str, azure.data.tables._entity.EdmType]
value
Alias for field number 0
value: Any
Feedback
Submit and view feedback for