Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/requests-cache/requests-cache
/ endpoints
Endpoints
31 in github.com/requests-cache/requests-cache
⨍
Functions
788
◇
Types & classes
66
↳
Endpoints
31
Route
dumps
singledispatchmethod
requests_cache/serializers/cattrs.py:None
Route
loads
singledispatchmethod
requests_cache/serializers/cattrs.py:None
Route
test_clear
patch.object(SQLiteCache, 'clear')
tests/unit/test_patcher.py:None
Route
test_clear__failure
patch.object(BaseCache, 'clear', side_effect=IOError)
tests/integration/test_sqlite.py:None
Route
test_clear__file_already_deleted
patch.object(BaseCache, 'clear', side_effect=IOError)
tests/integration/test_sqlite.py:None
Route
test_clear__not_installed
patch.object(SQLiteCache, 'clear')
tests/unit/test_patcher.py:None
Route
test_connection_kwargs
patch('requests_cache.backends.sqlite.sqlite3')
tests/integration/test_sqlite.py:None
Route
test_connection_kwargs
patch('requests_cache.backends.dynamodb.boto3.resource')
tests/integration/test_dynamodb.py:None
Route
test_connection_kwargs
patch('requests_cache.backends.redis.StrictRedis')
tests/integration/test_redis.py:None
Route
test_delete__cache_not_installed
patch.object(BaseCache, 'delete')
tests/unit/test_patcher.py:None
Route
test_delete__expired
patch_normalize_url
tests/unit/test_base_cache.py:None
Route
test_delete__expired_responses
patch.object(BaseCache, 'delete')
tests/unit/test_patcher.py:None
Route
test_disabled
patch.object(OriginalSession, 'request')
tests/unit/test_patcher.py:None
Route
test_enabled
patch.object(OriginalSession, 'request')
tests/unit/test_patcher.py:None
Route
test_filter__expired
patch.object(SQLiteDict, 'sorted')
tests/integration/test_sqlite.py:None
Route
test_filter_fn
patch_normalize_url
tests/unit/test_session.py:None
Route
test_filter_fn__retroactive
patch_normalize_url
tests/unit/test_session.py:None
Route
test_filter_request_post_data
pytest.mark.parametrize('post_type', ['data', 'json'])
tests/integration/base_cache_test.py:None
Route
test_get_expiration_datetime__no_expiration
patch('requests_cache.expiration.datetime')
tests/unit/policy/test_expiration.py:None
Route
test_init
patch('requests_cache.policy.actions.get_url_expiration')
tests/unit/policy/test_actions.py:None
Route
test_init_missing_backend_dependency
patch.dict(BACKEND_CLASSES, {'mongodb': get_placeholder_class()})
tests/unit/test_session.py:None
Route
test_mock_session
patch.object( requests.adapters.HTTPAdapter, 'get_connection_with_tls_context', side_effect=ValueE
tests/compat/test_responses_load_cache.py:None
Route
test_mock_session
patch.object(requests.adapters.HTTPAdapter, 'send', side_effect=ValueError('Real request made!'))
tests/compat/test_requests_mock_load_cache.py:None
Route
test_no_create_table
patch('requests_cache.backends.dynamodb.boto3.resource')
tests/integration/test_dynamodb.py:None
Route
test_send_and_cache__already_cached
patch.object(OriginalSession, 'send')
tests/unit/test_session.py:None
Route
test_ttl
patch.object(StrictRedis, 'setex')
tests/integration/test_redis.py:None
Route
test_ttl__disabled
patch.object(StrictRedis, 'setex')
tests/integration/test_redis.py:None
Route
test_ttl__no_expiry
patch.object(StrictRedis, 'setex')
tests/integration/test_redis.py:None
Route
test_ttl__offset
patch.object(StrictRedis, 'setex')
tests/integration/test_redis.py:None
Route
test_update_from_response__revalidate
patch('requests_cache.expiration.utcnow')
tests/unit/policy/test_actions.py:None
Route
test_urls
patch_normalize_url
tests/unit/test_base_cache.py:None