Change method to static method #1630
This commit is contained in:
parent
d1cab28a10
commit
eb86fc5144
|
@ -124,6 +124,7 @@ class DBv2DataExampleParser(Parser):
|
||||||
for feature_name in list(self.features["binary"].keys()) + list(self.features["discretized"].keys()):
|
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
|
self.feature_name_by_dbv2_id[str(_get_feature_id(feature_name))] = feature_name
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
def pattern(self):
|
def pattern(self):
|
||||||
'''
|
'''
|
||||||
:return: a RegEx that extracts dbv2 logit, logged lolly logit, feature ids and feature values.
|
:return: a RegEx that extracts dbv2 logit, logged lolly logit, feature ids and feature values.
|
||||||
|
|
Loading…
Reference in New Issue