Skip to content

Commit 41c6cd3

Browse files
committed
comment on future refactoring work
1 parent 4e9570c commit 41c6cd3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray_array_testing/indexing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def scalar_indexer(size):
1313

1414
@st.composite
1515
def indexers(draw, sizes, indexer_strategy_fn):
16+
# TODO: make use of `flatmap` and `builds` instead of `composite`
1617
possible_indexers = {dim: indexer_strategy_fn(size) for dim, size in sizes.items()}
1718
indexers = draw(xrst.unique_subset_of(possible_indexers))
1819
return {dim: draw(indexer) for dim, indexer in indexers.items()}

0 commit comments

Comments
 (0)