From 59237449fd447d47c2bb5344485cce5bfc983f02 Mon Sep 17 00:00:00 2001 From: halcy Date: Sat, 24 Jun 2023 00:33:32 +0300 Subject: [PATCH] add magical fix things on below 3.9 line --- mastodon/types.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mastodon/types.py b/mastodon/types.py index 318fb51..28f402e 100644 --- a/mastodon/types.py +++ b/mastodon/types.py @@ -1,3 +1,4 @@ +from __future__ import annotations # pythong < 3.9 compat from datetime import datetime from typing import Union, Optional, Tuple, List, IO, Dict from mastodon.types_base import AttribAccessDict, IdType, MaybeSnowflakeIdType, PrimitiveIdType, EntityList, PaginatableList, NonPaginatableList, PathOrFile, WebpushCryptoParamsPubkey, WebpushCryptoParamsPrivkey, try_cast_recurse, try_cast