Commit 7954719f authored by Dr.李's avatar Dr.李

added default comment for formula

parent 6eccbae8
......@@ -717,7 +717,8 @@ class SqlEngine(object):
del model_df['model_desc']
return model_df
def insert_formula(self, formula_name, formula_obj, comment=None):
def insert_formula(self, formula_name, formula_obj):
comment = str(formula_obj)
dict_repr = encode_formula(formula=formula_obj)
query = delete(Formulas).where(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment