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

Add return type hints to chunkedgraph #142

Merged
merged 3 commits into from
Jan 17, 2024
Merged

Add return type hints to chunkedgraph #142

merged 3 commits into from
Jan 17, 2024

Conversation

bdpedigo
Copy link
Collaborator

No description provided.

@@ -529,7 +528,7 @@ def execute_split(
root_id,
source_supervoxels=None,
sink_supervoxels=None,
):
) -> tuple[int, list]:
Copy link
Collaborator

Choose a reason for hiding this comment

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

this seems to be improper syntax in our testing environment

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@fcollman what python versions are supposed to be supported? I can't actually find that information anywhere

I think this must be a python version thing; this works for me on 3.11. i have a vague memory of Tuple changing to tuple or something like that

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Recommend merging the above first and rerunning tests for this one on all versions, but I think this should be fixed now

@fcollman fcollman merged commit 0e90f94 into CAVEconnectome:master Jan 17, 2024
1 check passed
@bdpedigo bdpedigo deleted the return-types branch January 17, 2024 21:48
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