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

Conversion test #102

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft

Conversion test #102

wants to merge 27 commits into from

Conversation

grg2rsr
Copy link
Collaborator

@grg2rsr grg2rsr commented Dec 11, 2024

including:
read after write conversion checks
revisions being explicitly passed to the data interfaces

@@ -27,3 +29,12 @@ def get_metadata(self) -> dict:
)

return metadata

def __init__(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grg2rsr this will fix the issue that we discussed on Wednesday.

@h-mayorquin
Copy link
Contributor

The current error in the CI is because of this line:

    def __init__(self, one: ONE, session: str, revision: str | None = None):

The thing is that python only supports the typingstr| None instead of Union[str | None] after python 3.10. I changed this to typing Optional so this can be robust.

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.

2 participants