Skip to content

Conversation

@brian-arnold
Copy link
Collaborator

Since UPath and Path have similar APIs, the existing implementation for Path is easily extended to accommodate for UPath.

However, when this information is added to orcapod-python/src/orcapod/contexts/data/v0.1.json, the order matters, and UPath must come first. Otherwise, when selecting a converter, if an object is UPath, the check that tests whether the Path converter will suffice succeeds, since UPath is technically a subclass of Path.

@brian-arnold brian-arnold requested a review from eywalker January 7, 2026 02:24
@brian-arnold brian-arnold changed the title Add support for UPath types Add support for UPath types [PLT-661] Jan 7, 2026
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.

1 participant