CAVEconnectome / CAVEclient

This is the python client for accessing REST APIs within the Connectome Annotation Versioning Engine.
https://caveconnectome.github.io/CAVEclient/
MIT License
19 stars 12 forks source link

Broaden array-like types allowed for root IDs #183

Closed bdpedigo closed 2 months ago

ceesem commented 2 months ago

Seems like perhaps a more generic fix would be helpful. We could have a ListLike tuple in caveclient.base that can be repurposed whenever we need to check isinstance in cases like this?

fcollman commented 2 months ago

Seems like perhaps a more generic fix would be helpful. We could have a ListLike tuple in caveclient.base that can be repurposed whenever we need to check isinstance in cases like this?

I agree with this but this does seem strictly better so i'm going to merge it until we have the more generic option