From e7de5404d3722ab88ab9c106dc339af5b0cabd11 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 9 Nov 2022 12:58:32 -0500 Subject: [PATCH] Add `Symbol.fqsn: str` property --- piker/data/_source.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/piker/data/_source.py b/piker/data/_source.py index 73c218ca..9f0b35b0 100644 --- a/piker/data/_source.py +++ b/piker/data/_source.py @@ -217,6 +217,10 @@ class Symbol(Struct): else: return (key, broker) + @property + def fqsn(self) -> str: + return '.'.join(self.tokens()).lower() + def front_fqsn(self) -> str: ''' fqsn = "fully qualified symbol name"