Darktable2Piwigo
Loading...
Searching...
No Matches
dtlib.cameras.DtlibCameras Class Reference
Inheritance diagram for dtlib.cameras.DtlibCameras:
Inheritance graph
Collaboration diagram for dtlib.cameras.DtlibCameras:
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.cameras.DtlibCameras._transform (   self,
pd.DataFrame  df,
bool  fastapi_output,
**Any   kwargs 
)
protected
Transforms the original cameras table from darktable into a cameras mysql table

The original cameras table from darktable does not need any transformation
for the mysql cameras table. Therefore this method simply returns the
original dataframe or a list of dictionaries depending on the value of
the fastapi_output parameter.

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