Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Instantiate reader/writer from file handle instead of path #16

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

msto
Copy link
Owner

@msto msto commented Jul 16, 2024

Closes #15

This PR refactors the DataclassReader and DataclassWriter constructors to accept an open file handle instead of a Path. The PR also adds an .open() alternative constructor to support the previous functionality (constructing from Path)

@msto msto merged commit 13c8132 into main Sep 5, 2024
3 checks passed
@msto msto deleted the ms_handle-in branch September 5, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Init from handle instead of path
1 participant