Type annot updates

mkts_backup
Tyler Goodlet 2022-02-16 12:16:07 -05:00
parent cfc77a0a66
commit edd273d5d8
2 changed files with 9 additions and 1 deletions

View File

@ -15,19 +15,26 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
""" """
<<<<<<< HEAD
Sampling and broadcast machinery for (soft) real-time delivery of Sampling and broadcast machinery for (soft) real-time delivery of
financial data flows. financial data flows.
=======
Data buffers for fast shared humpy.
>>>>>>> 78e5394 (Type annot updates)
""" """
from __future__ import annotations
import time import time
from typing import TYPE_CHECKING
import tractor import tractor
import trio import trio
from trio_typing import TaskStatus from trio_typing import TaskStatus
from ._sharedmem import ShmArray
from ..log import get_logger from ..log import get_logger
if TYPE_CHECKING:
from ._sharedmem import ShmArray
log = get_logger(__name__) log = get_logger(__name__)

View File

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