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

Package reorganization #131

Merged
merged 3 commits into from
Mar 22, 2022
Merged

Package reorganization #131

merged 3 commits into from
Mar 22, 2022

Conversation

tlambert03
Copy link
Owner

@tlambert03 tlambert03 commented Mar 15, 2022

This PR moves some stuff around, cleans up public exports, and adds/fixes a number of docstrings.

all of the convenience from_x, to_x functions have been centralized in _convenience and made available as exports in ome_types.

lxml-specific logic is put in _lxml and _schema is renamed to _xmlschema

ome_types.to_dict no longer uses schema.to_dict, but is now a generic function in _convenience that accepts parser == lxml or xmlschema as an argument, and dispatches to the appropriate parser.

No other functionality is changed.

@tlambert03 tlambert03 merged commit 1eda635 into main Mar 22, 2022
@tlambert03 tlambert03 deleted the reorg-names branch March 22, 2022 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant