From e1a1a912749fbf04ea55fff262f6f974d2a591ef Mon Sep 17 00:00:00 2001 From: Polina Date: Thu, 2 Jul 2026 18:43:40 +0000 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B3=D1=80=D1=83=D0=B7=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B=20=D0=B2=20=C2=AB?= =?UTF-8?q?venv/Lib/site-packages/multipart=C2=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- venv/Lib/site-packages/multipart/__init__.py | 38 +++++++++++++++++++ venv/Lib/site-packages/multipart/decoders.py | 1 + .../Lib/site-packages/multipart/exceptions.py | 1 + venv/Lib/site-packages/multipart/multipart.py | 1 + 4 files changed, 41 insertions(+) create mode 100644 venv/Lib/site-packages/multipart/__init__.py create mode 100644 venv/Lib/site-packages/multipart/decoders.py create mode 100644 venv/Lib/site-packages/multipart/exceptions.py create mode 100644 venv/Lib/site-packages/multipart/multipart.py diff --git a/venv/Lib/site-packages/multipart/__init__.py b/venv/Lib/site-packages/multipart/__init__.py new file mode 100644 index 0000000..53c08d2 --- /dev/null +++ b/venv/Lib/site-packages/multipart/__init__.py @@ -0,0 +1,38 @@ +# Copyright 2012, Andrew Dunham +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# This only works if using a file system, other loaders not implemented. + +import importlib.util +import sys +import warnings +from pathlib import Path + +for p in sys.path: + file_path = Path(p, "multipart.py") + try: + if file_path.is_file(): + spec = importlib.util.spec_from_file_location("multipart", file_path) + assert spec is not None, f"{file_path} found but not loadable!" + module = importlib.util.module_from_spec(spec) + sys.modules["multipart"] = module + assert spec.loader is not None, f"{file_path} must be loadable!" + spec.loader.exec_module(module) + break + except PermissionError: + pass +else: + warnings.warn("Please use `import python_multipart` instead.", PendingDeprecationWarning, stacklevel=2) + from python_multipart import * + from python_multipart import __all__, __version__ diff --git a/venv/Lib/site-packages/multipart/decoders.py b/venv/Lib/site-packages/multipart/decoders.py new file mode 100644 index 0000000..31acdfb --- /dev/null +++ b/venv/Lib/site-packages/multipart/decoders.py @@ -0,0 +1 @@ +from python_multipart.decoders import * diff --git a/venv/Lib/site-packages/multipart/exceptions.py b/venv/Lib/site-packages/multipart/exceptions.py new file mode 100644 index 0000000..36815d1 --- /dev/null +++ b/venv/Lib/site-packages/multipart/exceptions.py @@ -0,0 +1 @@ +from python_multipart.exceptions import * diff --git a/venv/Lib/site-packages/multipart/multipart.py b/venv/Lib/site-packages/multipart/multipart.py new file mode 100644 index 0000000..7bf567d --- /dev/null +++ b/venv/Lib/site-packages/multipart/multipart.py @@ -0,0 +1 @@ +from python_multipart.multipart import *