Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pip._vendor.cachecontrol.cache.SeparateBodyBaseCache Class Reference
Inheritance diagram for pip._vendor.cachecontrol.cache.SeparateBodyBaseCache:
Inheritance graph
[legend]
Collaboration diagram for pip._vendor.cachecontrol.cache.SeparateBodyBaseCache:
Collaboration graph
[legend]

Public Member Functions

None set_body (self, str key, bytes body)
 
IO[bytes]|None get_body (self, str key)
 
- Public Member Functions inherited from pip._vendor.cachecontrol.cache.BaseCache
bytes|None get (self, str key)
 
None set (self, str key, bytes value, int|datetime|None expires=None)
 
None delete (self, str key)
 
None close (self)
 

Detailed Description

In this variant, the body is not stored mixed in with the metadata, but is
passed in (as a bytes-like object) in a separate call to ``set_body()``.

That is, the expected interaction pattern is::

    cache.set(key, serialized_metadata)
    cache.set_body(key)

Similarly, the body should be loaded separately via ``get_body()``.

Member Function Documentation

◆ get_body()

IO[bytes] | None pip._vendor.cachecontrol.cache.SeparateBodyBaseCache.get_body (   self,
str  key 
)

The documentation for this class was generated from the following file: