From eb86fc5144ecfbd8558a186fdf244e3e5369be68 Mon Sep 17 00:00:00 2001 From: Chetan Sankhala Date: Tue, 4 Apr 2023 17:36:57 +0530 Subject: [PATCH] Change method to static method #1630 --- .../timelines/scripts/models/earlybird/lolly/parsers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/lolly/parsers.py b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/lolly/parsers.py index cb39c67a7..ec8382fcf 100644 --- a/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/lolly/parsers.py +++ b/src/python/twitter/deepbird/projects/timelines/scripts/models/earlybird/lolly/parsers.py @@ -123,7 +123,8 @@ class DBv2DataExampleParser(Parser): for feature_name in list(self.features["binary"].keys()) + list(self.features["discretized"].keys()): self.feature_name_by_dbv2_id[str(_get_feature_id(feature_name))] = feature_name - + + @staticmethod def pattern(self): ''' :return: a RegEx that extracts dbv2 logit, logged lolly logit, feature ids and feature values.