ngsildclient.model.constants#
This module contains constants used in the model package.
Module Attributes
either a tuple of two ints (lat, lon) or a GeoJson Point. |
|
Valid Geometries types for a NGSI-LD GeoProperty. |
|
Valid Date types for a NGSI-LD TemporalProperty. |
|
The default NGSI-LD Core Context. |
Classes
|
An enumeration. |
|
|
|
An enumeration. |
|
An enumeration. |
|
An enumeration. |
|
|
|
An enumeration. |
- ngsildclient.model.constants.CORE_CONTEXT = 'https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context.jsonld'#
The default NGSI-LD Core Context. Automatically set at entity creation time if no context is provided.
- ngsildclient.model.constants.NgsiDate#
Valid Date types for a NGSI-LD TemporalProperty.
- Type
A user type
alias of
Union[str,datetime,date,time]
- ngsildclient.model.constants.NgsiGeometry#
Valid Geometries types for a NGSI-LD GeoProperty.
- Type
A user type
alias of
Union[tuple[int,int],Point,LineString,Polygon]
- ngsildclient.model.constants.NgsiLocation#
either a tuple of two ints (lat, lon) or a GeoJson Point.
- Type
A user type
alias of
Union[tuple[int,int],Point]