MCPcopy Create free account
hub / github.com/pydata/xarray / unique_subset_of

Function unique_subset_of

xarray/testing/strategies.py:423–428  ·  view source on GitHub ↗
(
    objs: Sequence[Hashable],
    *,
    min_size: int = 0,
    max_size: int | None = None,
)

Source from the content-addressed store, hash-verified

421
422@overload
423def unique_subset_of(
424 objs: Sequence[Hashable],
425 *,
426 min_size: int = 0,
427 max_size: int | None = None,
428) -> st.SearchStrategy[Sequence[Hashable]]: ...
429
430
431@overload

Callers 7

test_invalidMethod · 0.90
test_mappingMethod · 0.90
test_iterableMethod · 0.90
test_meanMethod · 0.90
basic_indexersFunction · 0.85
outer_array_indexersFunction · 0.85
vectorized_indexersFunction · 0.85

Calls 2

typeFunction · 0.85
keysMethod · 0.80

Tested by 4

test_invalidMethod · 0.72
test_mappingMethod · 0.72
test_iterableMethod · 0.72
test_meanMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…