Change method to static method #1630

This commit is contained in:
Chetan Sankhala 2023-04-04 17:36:57 +05:30 committed by GitHub
parent d1cab28a10
commit eb86fc5144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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.