ds_provider_azure_py_lib.serde

File: __init__.py Region: ds_provider_azure_py_lib/serde

Serde for Azure Table Storage data.

Submodules

Classes

AzureTableDeserializer

Deserialize Azure Table Storage data.

AzureTableSerializer

Serialize Azure Table Storage data.

Package Contents

class ds_provider_azure_py_lib.serde.AzureTableDeserializer[source]

Bases: ds_resource_plugin_py_lib.common.serde.deserialize.DataDeserializer

Deserialize Azure Table Storage data. The deserializer is responsible for converting the data from a dict into a format that can be sent to the Azure Table Storage API.

__call__(value: azure.core.paging.ItemPaged[azure.data.tables.TableEntity], **_kwargs: Any) Any[source]

Deserialize the data from an item-paged result into a DataFrame.

Parameters:
  • value – The paged table entities.

  • _kwargs – Additional keyword arguments.

Returns:

A DataFrame with the entities.

class ds_provider_azure_py_lib.serde.AzureTableSerializer[source]

Bases: ds_resource_plugin_py_lib.common.serde.serialize.DataSerializer

Serialize Azure Table Storage data. The serializer is responsible for converting the data from a DataFrame into a format that can be sent to the Azure Table Storage API.

__call__(obj: pandas.DataFrame, **_kwargs: Any) Any | dict[str, Any][source]

Serialize the data from a DataFrame into a dict.

Parameters:
  • obj – Input DataFrame.

  • _kwargs – Additional keyword arguments.

Returns:

A dict representation of the first row.