in
598ae1d120a35ee9e19cf7f953c7dd51047954d6, we erroneously
merged "no_type_check" decorators. we only merge typing that works
or requires "type: ignore", so remove these
Fixes: #9737
Change-Id: I0fdd2022df9b7b59482581957b77057094475647
from __future__ import annotations
import datetime as dt
-from typing import no_type_check
from typing import Optional
from typing import Type
from typing import TYPE_CHECKING
def python_type(self) -> Type[dt.timedelta]:
return dt.timedelta
- @no_type_check
def literal_processor(
self, dialect: Dialect
) -> Optional[_LiteralProcessorType[dt.timedelta]]:
import datetime as dt
from typing import Any
-from typing import no_type_check
from typing import Optional
from typing import overload
from typing import Type
def python_type(self) -> Type[dt.timedelta]:
return dt.timedelta
- @no_type_check
def literal_processor(
self, dialect: Dialect
) -> Optional[_LiteralProcessorType[dt.timedelta]]: