Type annot updates

marketstore
Tyler Goodlet 2022-02-16 12:16:07 -05:00
parent 48777d72e8
commit 685ec489ef
2 changed files with 4 additions and 1 deletions

View File

@ -22,14 +22,16 @@ financial data flows.
from __future__ import annotations
from collections import Counter
import time
from typing import TYPE_CHECKING
import tractor
import trio
from trio_typing import TaskStatus
from ._sharedmem import ShmArray
from ..log import get_logger
if TYPE_CHECKING:
from ._sharedmem import ShmArray
log = get_logger(__name__)

View File

@ -20,6 +20,7 @@ Data feed apis and infra.
This module is enabled for ``brokerd`` daemons.
"""
from __future__ import annotations
from dataclasses import dataclass, field
from contextlib import asynccontextmanager
from functools import partial