Clinical-Genomics / housekeeper

File data orchestrator
MIT License
2 stars 0 forks source link

Review how sessions are managed #118

Closed seallard closed 3 weeks ago

seallard commented 1 year ago

A session is never explicitly closed in the current housekeeper package. We want to be clear about the scope of a session and delimit it explicitly. I think it is fine currently since Housekeeper as far as I understand only is used as a CLI tool and is imported as a package in cg.

This old PR contains an example of how we could manage sessions: https://github.com/Clinical-Genomics/housekeeper/pull/75

I think that approach is too convoluted, we want to separate the session handling from the methods doing queries.

Vince-janv commented 3 weeks ago

Closing due to inactivity. Reopen and answer the question below if you want this prioritised.

Concerning the proposed feature: