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

Method memory_usage

redis/commands/core.py:1912–1914  ·  view source on GitHub ↗
(
        self: SyncClientProtocol, key: KeyT, samples: int | None = None, **kwargs
    )

Source from the content-addressed store, hash-verified

1910
1911 @overload
1912 def memory_usage(
1913 self: SyncClientProtocol, key: KeyT, samples: int | None = None, **kwargs
1914 ) -> int | None: ...
1915
1916 @overload
1917 def memory_usage(

Callers 4

test_memory_usageMethod · 0.80
test_memory_usageMethod · 0.80
test_memory_usageMethod · 0.80
test_memory_usageMethod · 0.80

Calls 2

extendMethod · 0.45
execute_commandMethod · 0.45

Tested by 4

test_memory_usageMethod · 0.64
test_memory_usageMethod · 0.64
test_memory_usageMethod · 0.64
test_memory_usageMethod · 0.64