To effectively debug exports, use following code snippets
Create an Export
object containing all export config
First argument is the name of use case
, the folder name where the use case is located
Second argument is the name of the export
you want to debug
from odap.segment_factory.Export import Export
export = Export("tips", "alerts")
Use export.get_export_df()
to get the DataFrame to be exported
df = export.get_export_df()
df.display()
Use export.export_function(df)
to call the export function associated with the selected export without any side effects (writing to export logs and audit logs)
export.export_function(df)