expr-codegen 0.13.3__tar.gz → 0.13.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/PKG-INFO +1 -1
- expr_codegen-0.13.4/expr_codegen/_version.py +1 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/tool.py +2 -3
- expr_codegen-0.13.3/expr_codegen/_version.py +0 -1
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/.gitignore +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/LICENSE +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/README.md +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/__init__.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/codes.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/dag.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/expr.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/latex/__init__.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/latex/printer.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/model.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/__init__.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/code.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/helper.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/printer.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/ta.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/pandas/template.py.j2 +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/polars/__init__.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/polars/code.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/polars/printer.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/polars/template.py.j2 +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/sql/__init__.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/sql/code.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/sql/printer.py +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/expr_codegen/sql/template.sql.j2 +0 -0
- {expr_codegen-0.13.3 → expr_codegen-0.13.4}/pyproject.toml +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.13.4"
|
|
@@ -49,11 +49,10 @@ Expr.diff = _diff
|
|
|
49
49
|
# ===============================
|
|
50
50
|
|
|
51
51
|
def simplify2(expr):
|
|
52
|
-
# return simplify(expr)
|
|
53
52
|
try:
|
|
54
53
|
expr = simplify(expr)
|
|
55
|
-
except AttributeError as e:
|
|
56
|
-
|
|
54
|
+
except (AttributeError, TypeError) as e:
|
|
55
|
+
logger.warning('{}, 表达式无法简化, {}', expr, repr(e))
|
|
57
56
|
return expr
|
|
58
57
|
|
|
59
58
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.13.3"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|