WIP: Add function to export records to xlsx:
- Added parameter use_id_for_identification to JsonSchemaExporter, which sets foreign key to id and adds an 'id' column to all tables - Added parameter return_data_schema to merge_schemas. If set, merge_schemas returns a data_schema as well as the normal model_schema - Added new file export_import_xlsx. In addition to private functions for generating templates, schemas, and data, there is a new public function export_container_to_xlsx which generates an xlsx file containing the data from the given records at a given path - Changed a print warning in fill_xlsx to warnings.warn for easier filtering
parent
a10d0b64
No related branches found
No related tags found
Checking pipeline status
This commit is part of merge request !132. Comments created here will be created in the context of that merge request.
Showing
- src/caosadvancedtools/json_schema_exporter.py 49 additions, 4 deletionssrc/caosadvancedtools/json_schema_exporter.py
- src/caosadvancedtools/table_json_conversion/export_import_xlsx.py 237 additions, 0 deletions...advancedtools/table_json_conversion/export_import_xlsx.py
- src/caosadvancedtools/table_json_conversion/fill_xlsx.py 2 additions, 1 deletionsrc/caosadvancedtools/table_json_conversion/fill_xlsx.py
Loading
Please register or sign in to comment