MCPcopy
hub / github.com/redis/redis-py / expects_unified_shape

Function expects_unified_shape

tests/conftest.py:887–890  ·  tests/conftest.py::expects_unified_shape

Return ``True`` when Python responses on ``r`` use the unified shape (``legacy_responses=False``).

(r)

Source from the content-addressed store, hash-verified

885
886
887def expects_unified_shape(r):
888 class="st">"""Return ``True`` when Python responses on ``r`` use the unified shape
889 (``legacy_responses=False``).class="st">"""
890 return expected_response_shape(r) == class="st">"unified"
891
892
893_UNSET = object()

Callers 15

test_zscanMethod · 0.90
test_zscan_iterMethod · 0.90
test_clientMethod · 0.90
test_scoresMethod · 0.90
test_stopwordsMethod · 0.90
test_filtersMethod · 0.90
test_sort_byMethod · 0.90
test_no_indexMethod · 0.90
test_summarizeMethod · 0.90

Calls 1

expected_response_shapeFunction · 0.85

Tested by

no test coverage detected