aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-03-04 16:18:51 +0000
committerGravatar Chris Lovering <[email protected]>2024-03-04 16:18:51 +0000
commit46c54e44403c5b5d914cf60f13c16d044868fe97 (patch)
treeb67c08000d6a4f078ed200fd645e6b84260d1ff2 /pydis_core
parentBump dev deps to latest (diff)
Drop support for Pydantic 1.X
Diffstat (limited to 'pydis_core')
-rw-r--r--pydis_core/utils/paste_service.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_core/utils/paste_service.py b/pydis_core/utils/paste_service.py
index 0c15b588..140e6cdc 100644
--- a/pydis_core/utils/paste_service.py
+++ b/pydis_core/utils/paste_service.py
@@ -109,7 +109,7 @@ async def send_to_paste_service(
payload = {
"expiry": "30days",
"long": "on", # Use a longer URI for the paste.
- "files": [file.dict() for file in files] # Use file.model_dump() when we drop support for pydantic 1.X
+ "files": [file.model_dump() for file in files]
}
for attempt in range(1, FAILED_REQUEST_ATTEMPTS + 1):
try: