Darktable2Piwigo
Loading...
Searching...
No Matches
dtlib.makers.DtlibMakers Class Reference
Inheritance diagram for dtlib.makers.DtlibMakers:
Inheritance graph
Collaboration diagram for dtlib.makers.DtlibMakers:
Collaboration graph

Protected Member Functions

Union[pd.DataFrame, List[Dict[Hashable, Any]]] _transform (self, pd.DataFrame df, bool fastapi_output, **Any kwargs)
 

Detailed Description

Implements the transformer function for darktable tags to mysql tags

Member Function Documentation

◆ _transform()

Union[pd.DataFrame, List[Dict[Hashable, Any]]] dtlib.makers.DtlibMakers._transform (   self,
pd.DataFrame  df,
bool  fastapi_output,
**Any   kwargs 
)
protected
Transforms the original makers table from darktable into a mysql table

:param df: The source dataframe
:param fastapi_output: Whether the output should be a List[Dict] or a DataFrame
:param kwargs: Additional keyword arguments
:return: The transformed dataframe or a list of dictionaries

The documentation for this class was generated from the following file: