Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py +8 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +181 -0
- venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py +48 -0
- venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/__init__.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/big5freq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/big5prober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/chardistribution.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/charsetprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/cp949prober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/enums.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/escprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/escsm.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/eucjpprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euckrfreq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euckrprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euctwfreq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euctwprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/gb2312freq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/gb2312prober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/hebrewprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/jisfreq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/johabfreq.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/johabprober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/jpcntx.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langthaimodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/latin1prober.cpython-312.pyc +0 -0
- venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/macromanprober.cpython-312.pyc +0 -0
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (903 Bytes). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc
ADDED
|
Binary file (2.65 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc
ADDED
|
Binary file (6.47 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc
ADDED
|
Binary file (3.81 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc
ADDED
|
Binary file (16.2 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc
ADDED
|
Binary file (4.35 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc
ADDED
|
Binary file (6.7 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc
ADDED
|
Binary file (6.41 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc
ADDED
|
Binary file (1.68 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__init__.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: 2015 Eric Larson
|
| 2 |
+
#
|
| 3 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 4 |
+
|
| 5 |
+
from pip._vendor.cachecontrol.caches.file_cache import FileCache, SeparateBodyFileCache
|
| 6 |
+
from pip._vendor.cachecontrol.caches.redis_cache import RedisCache
|
| 7 |
+
|
| 8 |
+
__all__ = ["FileCache", "SeparateBodyFileCache", "RedisCache"]
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (436 Bytes). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc
ADDED
|
Binary file (7.71 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc
ADDED
|
Binary file (2.74 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: 2015 Eric Larson
|
| 2 |
+
#
|
| 3 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import hashlib
|
| 7 |
+
import os
|
| 8 |
+
from textwrap import dedent
|
| 9 |
+
from typing import IO, TYPE_CHECKING
|
| 10 |
+
|
| 11 |
+
from pip._vendor.cachecontrol.cache import BaseCache, SeparateBodyBaseCache
|
| 12 |
+
from pip._vendor.cachecontrol.controller import CacheController
|
| 13 |
+
|
| 14 |
+
if TYPE_CHECKING:
|
| 15 |
+
from datetime import datetime
|
| 16 |
+
|
| 17 |
+
from filelock import BaseFileLock
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def _secure_open_write(filename: str, fmode: int) -> IO[bytes]:
|
| 21 |
+
# We only want to write to this file, so open it in write only mode
|
| 22 |
+
flags = os.O_WRONLY
|
| 23 |
+
|
| 24 |
+
# os.O_CREAT | os.O_EXCL will fail if the file already exists, so we only
|
| 25 |
+
# will open *new* files.
|
| 26 |
+
# We specify this because we want to ensure that the mode we pass is the
|
| 27 |
+
# mode of the file.
|
| 28 |
+
flags |= os.O_CREAT | os.O_EXCL
|
| 29 |
+
|
| 30 |
+
# Do not follow symlinks to prevent someone from making a symlink that
|
| 31 |
+
# we follow and insecurely open a cache file.
|
| 32 |
+
if hasattr(os, "O_NOFOLLOW"):
|
| 33 |
+
flags |= os.O_NOFOLLOW
|
| 34 |
+
|
| 35 |
+
# On Windows we'll mark this file as binary
|
| 36 |
+
if hasattr(os, "O_BINARY"):
|
| 37 |
+
flags |= os.O_BINARY
|
| 38 |
+
|
| 39 |
+
# Before we open our file, we want to delete any existing file that is
|
| 40 |
+
# there
|
| 41 |
+
try:
|
| 42 |
+
os.remove(filename)
|
| 43 |
+
except OSError:
|
| 44 |
+
# The file must not exist already, so we can just skip ahead to opening
|
| 45 |
+
pass
|
| 46 |
+
|
| 47 |
+
# Open our file, the use of os.O_CREAT | os.O_EXCL will ensure that if a
|
| 48 |
+
# race condition happens between the os.remove and this line, that an
|
| 49 |
+
# error will be raised. Because we utilize a lockfile this should only
|
| 50 |
+
# happen if someone is attempting to attack us.
|
| 51 |
+
fd = os.open(filename, flags, fmode)
|
| 52 |
+
try:
|
| 53 |
+
return os.fdopen(fd, "wb")
|
| 54 |
+
|
| 55 |
+
except:
|
| 56 |
+
# An error occurred wrapping our FD in a file object
|
| 57 |
+
os.close(fd)
|
| 58 |
+
raise
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
class _FileCacheMixin:
|
| 62 |
+
"""Shared implementation for both FileCache variants."""
|
| 63 |
+
|
| 64 |
+
def __init__(
|
| 65 |
+
self,
|
| 66 |
+
directory: str,
|
| 67 |
+
forever: bool = False,
|
| 68 |
+
filemode: int = 0o0600,
|
| 69 |
+
dirmode: int = 0o0700,
|
| 70 |
+
lock_class: type[BaseFileLock] | None = None,
|
| 71 |
+
) -> None:
|
| 72 |
+
try:
|
| 73 |
+
if lock_class is None:
|
| 74 |
+
from filelock import FileLock
|
| 75 |
+
|
| 76 |
+
lock_class = FileLock
|
| 77 |
+
except ImportError:
|
| 78 |
+
notice = dedent(
|
| 79 |
+
"""
|
| 80 |
+
NOTE: In order to use the FileCache you must have
|
| 81 |
+
filelock installed. You can install it via pip:
|
| 82 |
+
pip install filelock
|
| 83 |
+
"""
|
| 84 |
+
)
|
| 85 |
+
raise ImportError(notice)
|
| 86 |
+
|
| 87 |
+
self.directory = directory
|
| 88 |
+
self.forever = forever
|
| 89 |
+
self.filemode = filemode
|
| 90 |
+
self.dirmode = dirmode
|
| 91 |
+
self.lock_class = lock_class
|
| 92 |
+
|
| 93 |
+
@staticmethod
|
| 94 |
+
def encode(x: str) -> str:
|
| 95 |
+
return hashlib.sha224(x.encode()).hexdigest()
|
| 96 |
+
|
| 97 |
+
def _fn(self, name: str) -> str:
|
| 98 |
+
# NOTE: This method should not change as some may depend on it.
|
| 99 |
+
# See: https://github.com/ionrock/cachecontrol/issues/63
|
| 100 |
+
hashed = self.encode(name)
|
| 101 |
+
parts = list(hashed[:5]) + [hashed]
|
| 102 |
+
return os.path.join(self.directory, *parts)
|
| 103 |
+
|
| 104 |
+
def get(self, key: str) -> bytes | None:
|
| 105 |
+
name = self._fn(key)
|
| 106 |
+
try:
|
| 107 |
+
with open(name, "rb") as fh:
|
| 108 |
+
return fh.read()
|
| 109 |
+
|
| 110 |
+
except FileNotFoundError:
|
| 111 |
+
return None
|
| 112 |
+
|
| 113 |
+
def set(
|
| 114 |
+
self, key: str, value: bytes, expires: int | datetime | None = None
|
| 115 |
+
) -> None:
|
| 116 |
+
name = self._fn(key)
|
| 117 |
+
self._write(name, value)
|
| 118 |
+
|
| 119 |
+
def _write(self, path: str, data: bytes) -> None:
|
| 120 |
+
"""
|
| 121 |
+
Safely write the data to the given path.
|
| 122 |
+
"""
|
| 123 |
+
# Make sure the directory exists
|
| 124 |
+
try:
|
| 125 |
+
os.makedirs(os.path.dirname(path), self.dirmode)
|
| 126 |
+
except OSError:
|
| 127 |
+
pass
|
| 128 |
+
|
| 129 |
+
with self.lock_class(path + ".lock"):
|
| 130 |
+
# Write our actual file
|
| 131 |
+
with _secure_open_write(path, self.filemode) as fh:
|
| 132 |
+
fh.write(data)
|
| 133 |
+
|
| 134 |
+
def _delete(self, key: str, suffix: str) -> None:
|
| 135 |
+
name = self._fn(key) + suffix
|
| 136 |
+
if not self.forever:
|
| 137 |
+
try:
|
| 138 |
+
os.remove(name)
|
| 139 |
+
except FileNotFoundError:
|
| 140 |
+
pass
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
class FileCache(_FileCacheMixin, BaseCache):
|
| 144 |
+
"""
|
| 145 |
+
Traditional FileCache: body is stored in memory, so not suitable for large
|
| 146 |
+
downloads.
|
| 147 |
+
"""
|
| 148 |
+
|
| 149 |
+
def delete(self, key: str) -> None:
|
| 150 |
+
self._delete(key, "")
|
| 151 |
+
|
| 152 |
+
|
| 153 |
+
class SeparateBodyFileCache(_FileCacheMixin, SeparateBodyBaseCache):
|
| 154 |
+
"""
|
| 155 |
+
Memory-efficient FileCache: body is stored in a separate file, reducing
|
| 156 |
+
peak memory usage.
|
| 157 |
+
"""
|
| 158 |
+
|
| 159 |
+
def get_body(self, key: str) -> IO[bytes] | None:
|
| 160 |
+
name = self._fn(key) + ".body"
|
| 161 |
+
try:
|
| 162 |
+
return open(name, "rb")
|
| 163 |
+
except FileNotFoundError:
|
| 164 |
+
return None
|
| 165 |
+
|
| 166 |
+
def set_body(self, key: str, body: bytes) -> None:
|
| 167 |
+
name = self._fn(key) + ".body"
|
| 168 |
+
self._write(name, body)
|
| 169 |
+
|
| 170 |
+
def delete(self, key: str) -> None:
|
| 171 |
+
self._delete(key, "")
|
| 172 |
+
self._delete(key, ".body")
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def url_to_file_path(url: str, filecache: FileCache) -> str:
|
| 176 |
+
"""Return the file cache path based on the URL.
|
| 177 |
+
|
| 178 |
+
This does not ensure the file exists!
|
| 179 |
+
"""
|
| 180 |
+
key = CacheController.cache_url(url)
|
| 181 |
+
return filecache._fn(key)
|
venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/redis_cache.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SPDX-FileCopyrightText: 2015 Eric Larson
|
| 2 |
+
#
|
| 3 |
+
# SPDX-License-Identifier: Apache-2.0
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
from datetime import datetime, timezone
|
| 8 |
+
from typing import TYPE_CHECKING
|
| 9 |
+
|
| 10 |
+
from pip._vendor.cachecontrol.cache import BaseCache
|
| 11 |
+
|
| 12 |
+
if TYPE_CHECKING:
|
| 13 |
+
from redis import Redis
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
class RedisCache(BaseCache):
|
| 17 |
+
def __init__(self, conn: Redis[bytes]) -> None:
|
| 18 |
+
self.conn = conn
|
| 19 |
+
|
| 20 |
+
def get(self, key: str) -> bytes | None:
|
| 21 |
+
return self.conn.get(key)
|
| 22 |
+
|
| 23 |
+
def set(
|
| 24 |
+
self, key: str, value: bytes, expires: int | datetime | None = None
|
| 25 |
+
) -> None:
|
| 26 |
+
if not expires:
|
| 27 |
+
self.conn.set(key, value)
|
| 28 |
+
elif isinstance(expires, datetime):
|
| 29 |
+
now_utc = datetime.now(timezone.utc)
|
| 30 |
+
if expires.tzinfo is None:
|
| 31 |
+
now_utc = now_utc.replace(tzinfo=None)
|
| 32 |
+
delta = expires - now_utc
|
| 33 |
+
self.conn.setex(key, int(delta.total_seconds()), value)
|
| 34 |
+
else:
|
| 35 |
+
self.conn.setex(key, expires, value)
|
| 36 |
+
|
| 37 |
+
def delete(self, key: str) -> None:
|
| 38 |
+
self.conn.delete(key)
|
| 39 |
+
|
| 40 |
+
def clear(self) -> None:
|
| 41 |
+
"""Helper for clearing all the keys in a database. Use with
|
| 42 |
+
caution!"""
|
| 43 |
+
for key in self.conn.keys():
|
| 44 |
+
self.conn.delete(key)
|
| 45 |
+
|
| 46 |
+
def close(self) -> None:
|
| 47 |
+
"""Redis uses connection pooling, no need to close the connection."""
|
| 48 |
+
pass
|
venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (319 Bytes). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc
ADDED
|
Binary file (646 Bytes). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc
ADDED
|
Binary file (3.33 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (4.57 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/big5freq.cpython-312.pyc
ADDED
|
Binary file (27.2 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/big5prober.cpython-312.pyc
ADDED
|
Binary file (1.39 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/chardistribution.cpython-312.pyc
ADDED
|
Binary file (9.64 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/charsetgroupprober.cpython-312.pyc
ADDED
|
Binary file (4.12 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/charsetprober.cpython-312.pyc
ADDED
|
Binary file (5.02 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachine.cpython-312.pyc
ADDED
|
Binary file (3.88 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/codingstatemachinedict.cpython-312.pyc
ADDED
|
Binary file (790 Bytes). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/cp949prober.cpython-312.pyc
ADDED
|
Binary file (1.4 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/enums.cpython-312.pyc
ADDED
|
Binary file (3 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/escprober.cpython-312.pyc
ADDED
|
Binary file (4.57 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/escsm.cpython-312.pyc
ADDED
|
Binary file (15.3 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/eucjpprober.cpython-312.pyc
ADDED
|
Binary file (4.38 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euckrfreq.cpython-312.pyc
ADDED
|
Binary file (12.1 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euckrprober.cpython-312.pyc
ADDED
|
Binary file (1.39 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euctwfreq.cpython-312.pyc
ADDED
|
Binary file (27.2 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/euctwprober.cpython-312.pyc
ADDED
|
Binary file (1.39 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/gb2312freq.cpython-312.pyc
ADDED
|
Binary file (19.1 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/gb2312prober.cpython-312.pyc
ADDED
|
Binary file (1.4 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/hebrewprober.cpython-312.pyc
ADDED
|
Binary file (5.82 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/jisfreq.cpython-312.pyc
ADDED
|
Binary file (22.2 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/johabfreq.cpython-312.pyc
ADDED
|
Binary file (83 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/johabprober.cpython-312.pyc
ADDED
|
Binary file (1.4 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/jpcntx.cpython-312.pyc
ADDED
|
Binary file (39.6 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langbulgarianmodel.cpython-312.pyc
ADDED
|
Binary file (83.1 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langgreekmodel.cpython-312.pyc
ADDED
|
Binary file (77 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langhebrewmodel.cpython-312.pyc
ADDED
|
Binary file (77.5 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langhungarianmodel.cpython-312.pyc
ADDED
|
Binary file (83.1 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langthaimodel.cpython-312.pyc
ADDED
|
Binary file (77.7 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/langturkishmodel.cpython-312.pyc
ADDED
|
Binary file (77.5 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/latin1prober.cpython-312.pyc
ADDED
|
Binary file (7 kB). View file
|
|
|
venv/lib/python3.12/site-packages/pip/_vendor/chardet/__pycache__/macromanprober.cpython-312.pyc
ADDED
|
Binary file (7.18 kB). View file
|
|
|