ds_provider_aic_py_lib.serde¶
File: __init__.py
Region: ds_provider_aic_py_lib/serde
Serde for fetch query results.
Submodules¶
Classes¶
Turn one fetch |
Package Contents¶
- class ds_provider_aic_py_lib.serde.FetchQueryDeserializer[source]¶
Bases:
ds_resource_plugin_py_lib.common.serde.deserialize.base.DataDeserializerTurn one fetch
QueryResultinto a pandas frame.- __call__(value: Any, **_kwargs: Any) pandas.DataFrame[source]¶
Deserialize a query body.
- Parameters:
value – JSON object, or a JSON string or bytes body.
**_kwargs – Unused. Present for the deserializer contract.
- Returns:
A frame whose columns follow
columnsand use arrow dtypes.- Raises:
DeserializationError – The body is not a rectangular query result.