Tackle issues reported in issue #14 #28

Merged
cmo merged 5 commits from issue-14 into master 2026-02-05 12:50:16 +00:00
Owner

This PR makes the following changes to the dtc subcommand export:

  • by default schema_type-attributes are removed from records before the records are stored (can be prevented with option --keep-schema-type)
  • support JSON and YAML output (select with --format, default is JSON)
  • provide percentage-based progress reporting
  • use a pid-derived file name, here md5(pid)
This PR makes the following changes to the `dtc` subcommand `export`: - [x] by default `schema_type`-attributes are removed from records before the records are stored (can be prevented with option `--keep-schema-type`) - [x] support JSON and YAML output (select with `--format`, default is JSON) - [x] provide percentage-based progress reporting - [x] use a pid-derived file name, here `md5(pid)`
With this commit export will by default remove
the `schema-type` attributes from stored records.

The option `--keep-schema-types` instructs `export`
to keep the `shcmea_type`-attributes in the
stored records.
This commit adds the option `-f/--format`
to the `dtc` subcommand `export`, which allows
to select either JSON or YAML output format.
With this commit the progress report in the
`dtc` subcommand `export` determines the number
of records to process and displays a
known-size report, i.e., a percentage based
progress report.
cmo merged commit 882a8279c0 into master 2026-02-05 12:50:16 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
orinoco/dump-things-pyclient!28
No description provided.