From e82538ededd879e1e4312b2a64e63e94c2e56184 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 31 May 2023 12:11:52 -0400 Subject: [PATCH] .data: export ohlc dtypes at top level --- piker/data/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/piker/data/__init__.py b/piker/data/__init__.py index ba6af4ca..681bd3fe 100644 --- a/piker/data/__init__.py +++ b/piker/data/__init__.py @@ -22,9 +22,6 @@ and storing data from your brokers as well as sharing live streams over a network. """ -import tractor -import trio - from ._util import ( get_console_log, ) @@ -36,6 +33,10 @@ from ._sharedmem import ( get_shm_token, ShmArray, ) +from ._source import ( + base_iohlc_dtype, + base_ohlc_dtype, +) from .feed import ( open_feed, ) @@ -49,4 +50,6 @@ __all__ = [ 'attach_shm_array', 'open_shm_array', 'get_shm_token', + 'base_iohlc_dtype', + 'base_ohlc_dtype', ]