More compatible type hints.
This commit is contained in:
parent
38beaef3be
commit
77a77e76c8
5 changed files with 15 additions and 10 deletions
|
@ -1,4 +1,5 @@
|
|||
import logging
|
||||
from typing import List, Tuple
|
||||
|
||||
import pytest
|
||||
|
||||
|
@ -22,13 +23,13 @@ class TestSource(BaseSource):
|
|||
def start(self) -> str:
|
||||
return ""
|
||||
|
||||
def types(self) -> list[str]:
|
||||
def types(self) -> List[str]:
|
||||
return []
|
||||
|
||||
def notes(self) -> str:
|
||||
return ""
|
||||
|
||||
def symbols(self) -> list[(str, str)]:
|
||||
def symbols(self) -> List[Tuple[str, str]]:
|
||||
return []
|
||||
|
||||
def fetch(self, series: Series) -> Series:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue