Skip to content

Commit d556122

Browse files
gforsythcpcloud
authored andcommitted
chore(deps): remove inflection
1 parent 6f5a08c commit d556122

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

ibis_substrait/compiler/decompile.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import ibis.expr.operations as ops
1919
import ibis.expr.schema as sch
2020
import ibis.expr.types as ir
21-
import inflection
2221
import pytz
2322
import toolz
2423

@@ -572,7 +571,7 @@ def _decompile_expression_aggregate_function(
572571
) -> ir.ValueExpr:
573572
extension = decompiler.function_extensions[aggregate_function.function_reference]
574573
function_name = extension.name
575-
op_type = getattr(ops, inflection.camelize(function_name))
574+
op_type = getattr(ops, SUBSTRAIT_IBIS_OP_MAPPING[function_name])
576575
args = [
577576
decompile(arg, children, field_offsets, decompiler)
578577
for arg in aggregate_function.args

poetry.lock

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)