html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/7094#issuecomment-1277298306,https://api.github.com/repos/pydata/xarray/issues/7094,1277298306,IC_kwDOAMm_X85MIgaC,43316012,2022-10-13T09:19:11Z,2022-10-13T09:20:06Z,COLLABORATOR,"> We can build a list if we need a len? Or IIRC there is a `Sized` type — a `Set` but not an `Iterable`.
We already do that.
We have the following solutions:
1. We allow any Iterable and it is up to the user to ensure correct ordering (mypy does not complain when a set is supplied)
2. We require a Sequence which ensures ordering (user cannot supply a np.ndarray e.g.)
3. We make the type more complicated to support ArrayLike as well.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1388372090
https://github.com/pydata/xarray/issues/7094#issuecomment-1272523338,https://api.github.com/repos/pydata/xarray/issues/7094,1272523338,IC_kwDOAMm_X85L2SpK,43316012,2022-10-09T11:40:57Z,2022-10-09T11:45:24Z,COLLABORATOR,"Yes, sequence sounds right if the order matters.
Usually we do not use `len(input)` or `x in input` though. Maybe reversible container or something else exists?
A bit unfortunate that `np.ndarray` is not a sequence though, but I think using them for dimensions of not a very common use case.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1388372090