From 9cf3db62a7a5599d4bfab7d4e6cf1a04178b5721 Mon Sep 17 00:00:00 2001 From: No767 <73260931+No767@users.noreply.github.com> Date: Fri, 13 Oct 2023 19:41:32 -0700 Subject: [PATCH] Use typing extensions for backporting --- bot/migrations-runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/migrations-runner.py b/bot/migrations-runner.py index 6286172..ae733b3 100644 --- a/bot/migrations-runner.py +++ b/bot/migrations-runner.py @@ -6,11 +6,12 @@ from functools import wraps from pathlib import Path from types import TracebackType -from typing import Optional, Self, TypeVar +from typing import Optional, TypeVar import asyncpg import click from dotenv import load_dotenv +from typing_extensions import Self load_dotenv()