Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aerospike_helpers/expressions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ class LoopVarHLL(LoopVar):
_op = aerospike._AS_EXP_LOOPVAR_HLL


class ResultRemove(_BaseExpr):
class RemoveResult(_BaseExpr):
"""
Indicates entry deletion for :py:class:`ModifyByPath`.
"""
Expand Down
4 changes: 2 additions & 2 deletions test/new_tests/test_path_expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from aerospike_helpers.operations import hll_operations as hll_ops
from aerospike_helpers.operations import map_operations
from aerospike_helpers.expressions.resources import ResultType
from aerospike_helpers.expressions.base import GE, Eq, LoopVarStr, LoopVarFloat, LoopVarInt, LoopVarMap, LoopVarList, ModifyByPath, SelectByPath, MapBin, LoopVarBool, LoopVarBlob, ResultRemove, LoopVarGeoJson, LoopVarNil, CmpGeo, LoopVarHLL, HLLBin
from aerospike_helpers.expressions.base import GE, Eq, LoopVarStr, LoopVarFloat, LoopVarInt, LoopVarMap, LoopVarList, ModifyByPath, SelectByPath, MapBin, LoopVarBool, LoopVarBlob, RemoveResult, LoopVarGeoJson, LoopVarNil, CmpGeo, LoopVarHLL, HLLBin
from aerospike_helpers.expressions.map import MapGetByKey, MapPut
from aerospike_helpers.expressions.list import ListSize
from aerospike_helpers.expressions.arithmetic import Sub
Expand Down Expand Up @@ -567,7 +567,7 @@ def test_expr_result_remove(self):
cdt_ctx.cdt_ctx_all_children(),
cdt_ctx.cdt_ctx_all_children()
],
expr=ResultRemove().compile(),
expr=RemoveResult().compile(),
flags=aerospike.EXP_PATH_MODIFY_DEFAULT
)
]
Expand Down
Loading