diff --git a/aerospike_helpers/batch/records.py b/aerospike_helpers/batch/records.py index fc0dadbbf..e86f54c61 100644 --- a/aerospike_helpers/batch/records.py +++ b/aerospike_helpers/batch/records.py @@ -17,7 +17,6 @@ import typing as ty TypeOps = ty.List[ty.Dict] -TypeOp = ty.Dict TypeBatchPolicyWrite = ty.Union[ty.Dict, None] TypeBatchPolicyRemove = ty.Union[ty.Dict, None] TypeBatchPolicyApply = ty.Union[ty.Dict, None] @@ -74,7 +73,7 @@ class Write(BatchRecord): """ def __init__( - self, key: tuple, ops: "TypeOps", meta: "TypeOp" = None, policy: "TypeBatchPolicyWrite" = None + self, key: tuple, ops: "TypeOps", meta: "dict" = None, policy: "TypeBatchPolicyWrite" = None ) -> None: """ Example:: @@ -126,7 +125,7 @@ def __init__( key: tuple, ops: ty.Union[TypeOps, None], read_all_bins: bool = False, - meta: "TypeOp" = None, + meta: "dict" = None, policy: "TypeBatchPolicyRead" = None, ) -> None: """