From b2acfdaf42edec4b2c46e638cb6a953b99970cde Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 22 Aug 2018 22:54:09 -0400 Subject: [PATCH] Fix `pairs` type annotation --- piker/ui/watchlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/piker/ui/watchlist.py b/piker/ui/watchlist.py index 3bef11f1..eb1cb3a1 100644 --- a/piker/ui/watchlist.py +++ b/piker/ui/watchlist.py @@ -287,7 +287,7 @@ class TickerTable(GridLayout): return row def render_rows( - self, pairs: (dict, Row), sort_key: str = None, row_filter=None, + self, pairs: {str: (dict, Row)}, sort_key: str = None, row_filter=None, ): """Sort and render all rows on the ticker grid from ``pairs``. """