stapi-pydantic
Pydantic models for the Satellite Tasking API (STAPI) specification.
Note
This package has no input/output (IO) functionality. For making requests to a STAPI API, use pystapi-client.
API
Order
Bases: _GeoJsonBase
, Generic[T]
Source code in stapi-pydantic/src/stapi_pydantic/order.py
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 |
|
set_geometry(geometry)
set geometry from geo interface or input
Source code in stapi-pydantic/src/stapi_pydantic/order.py
103 104 105 106 107 108 109 |
|
OrderCollection
Bases: _GeoJsonBase
, Generic[T]
Source code in stapi-pydantic/src/stapi_pydantic/order.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 |
|
__getitem__(index)
get feature at a given index
Source code in stapi-pydantic/src/stapi_pydantic/order.py
126 127 128 |
|
__iter__()
iterate over features
Source code in stapi-pydantic/src/stapi_pydantic/order.py
118 119 120 |
|
__len__()
return features length
Source code in stapi-pydantic/src/stapi_pydantic/order.py
122 123 124 |
|