Use request sessions to reuse existing connections #25

Merged
cmo merged 13 commits from issue-24 into master 2026-02-04 21:01:58 +00:00
Owner

Fixes issue #24

Fixes issue #24
cmo added 11 commits 2026-02-04 14:11:06 +00:00
This commit adds optional requests.Session
support to the methods in `communicate.py`.

This is the first step in supporting session
on all commands. The following commits will
add session-support to various dtc-subcommands
This commit uses a session in the `dtc` subcommand
`auto-curate` to allow connection re-use.

It also fixes a possible duplicated reporting of
errors.
The module name should correspond with the
subcommand name.
This commit uses a request session in `delete-records`,
adds progress reporting and cleans up output.
Use request-session in `dtc` subcommand `export`.
Add progress report to `export`.
cmo merged commit b5965a79ec into master 2026-02-04 21:01:58 +00:00
cmo deleted branch issue-24 2026-02-04 21:02:15 +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!25
No description provided.