ds_resource_plugin_py_lib.common.serde.deserialize ================================================== .. py:module:: ds_resource_plugin_py_lib.common.serde.deserialize .. autoapi-nested-parse:: **File:** ``__init__.py`` **Region:** ``ds_resource_plugin_py_lib/common/serde/deserialize`` Description ----------- Deserializer implementations for dataset content. Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/ds_resource_plugin_py_lib/common/serde/deserialize/awswrangler/index /autoapi/ds_resource_plugin_py_lib/common/serde/deserialize/base/index /autoapi/ds_resource_plugin_py_lib/common/serde/deserialize/pandas/index Classes ------- .. autoapisummary:: ds_resource_plugin_py_lib.common.serde.deserialize.AwsWranglerDeserializer ds_resource_plugin_py_lib.common.serde.deserialize.DataDeserializer ds_resource_plugin_py_lib.common.serde.deserialize.PandasDeserializer Package Contents ---------------- .. py:class:: AwsWranglerDeserializer Bases: :py:obj:`ds_resource_plugin_py_lib.common.serde.deserialize.base.DataDeserializer` Extensible class to deserialize dataset content. Not supposed to be used directly, but to be subclassed. .. py:attribute:: format :type: ds_resource_plugin_py_lib.common.resource.dataset.storage_format.DatasetStorageFormatType .. py:attribute:: kwargs :type: dict[str, Any] .. py:method:: __call__(value: Any, **kwargs: Any) -> pandas.DataFrame Deserialize a value into a pandas DataFrame. :param value: The value to deserialize. :param \*\*kwargs: Additional keyword arguments. :returns: A pandas DataFrame. .. py:class:: DataDeserializer Bases: :py:obj:`ds_common_serde_py_lib.Serializable` Extensible class to deserialize dataset content. Not supposed to be used directly, but to be subclassed. .. py:method:: __call__(value: Any, **kwargs: Any) -> Any :abstractmethod: .. py:method:: get_next(_value: Any, **_kwargs: Any) -> bool .. py:method:: get_end_cursor(_value: Any, **_kwargs: Any) -> str | None .. py:class:: PandasDeserializer Bases: :py:obj:`ds_resource_plugin_py_lib.common.serde.deserialize.base.DataDeserializer` Extensible class to deserialize dataset content. Not supposed to be used directly, but to be subclassed. .. py:attribute:: format :type: ds_resource_plugin_py_lib.common.resource.dataset.storage_format.DatasetStorageFormatType .. py:attribute:: kwargs :type: dict[str, Any] .. py:method:: __call__(value: Any, **_kwargs: Any) -> pandas.DataFrame Deserialize a value into a pandas DataFrame. :param value: The value to deserialize. :param \*\*kwargs: Additional keyword arguments. :returns: A pandas DataFrame.