From 2883ee7535de2515e5ab6f04decad89ee669f621 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 14 Nov 2024 16:43:40 -0800 Subject: [PATCH] Avoid python-multipart warning, closes #36 --- asgi_csrf.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/asgi_csrf.py b/asgi_csrf.py index 16a6f66..f744ad9 100644 --- a/asgi_csrf.py +++ b/asgi_csrf.py @@ -2,7 +2,7 @@ from enum import Enum import fnmatch from functools import wraps -from multipart import FormParser +from python_multipart import FormParser import os from urllib.parse import parse_qsl from itsdangerous.url_safe import URLSafeSerializer diff --git a/pyproject.toml b/pyproject.toml index c7fac5f..ec6adb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ classifiers = [ ] dependencies = [ "itsdangerous", - "python-multipart" + "python-multipart>=0.0.13" ] [build-system]