Clean up TODOs

This commit is contained in:
Joscha 2021-05-23 12:47:30 +02:00
parent ecdedfa1cf
commit 7e0bb06259
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ import re
from dataclasses import dataclass from dataclasses import dataclass
from datetime import date, datetime, timedelta from datetime import date, datetime, timedelta
from enum import Enum from enum import Enum
# TODO In Python 3.9 and above, AsyncContextManager is deprecated
from typing import List, Optional, Union from typing import List, Optional, Union
from urllib.parse import urljoin, urlparse from urllib.parse import urljoin, urlparse

View File

@ -2,7 +2,7 @@ import asyncio
import sys import sys
import traceback import traceback
from contextlib import asynccontextmanager, contextmanager from contextlib import asynccontextmanager, contextmanager
# TODO In Python 3.9 and above, ContextManager and AsyncContextManager are deprecated # TODO In Python 3.9 and above, ContextManager is deprecated
from typing import AsyncIterator, ContextManager, Iterator, List, Optional from typing import AsyncIterator, ContextManager, Iterator, List, Optional
from rich.console import Console, RenderGroup from rich.console import Console, RenderGroup