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

Function expects_resp3_shape

tests/conftest.py:881–884  ·  tests/conftest.py::expects_resp3_shape

Return ``True`` when Python responses on ``r`` use the previous RESP3 callback shapes (``protocol=3`` with ``legacy_responses=True``).

(r)

Source from the content-addressed store, hash-verified

879
880
881def expects_resp3_shape(r):
882 class="st">"""Return ``True`` when Python responses on ``r`` use the previous RESP3
883 callback shapes (``protocol=3`` with ``legacy_responses=True``).class="st">"""
884 return expected_response_shape(r) == class="st">"legacy_resp3"
885
886
887def expects_unified_shape(r):

Callers 15

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
test_aliasMethod · 0.90
test_alias_basicMethod · 0.90
test_tagsMethod · 0.90

Calls 1

expected_response_shapeFunction · 0.85

Tested by

no test coverage detected