Skip to content

Commit

Permalink
code review update
Browse files Browse the repository at this point in the history
  • Loading branch information
rpandian-spike authored and juliannguyen4 committed Nov 18, 2022
1 parent c1ce389 commit b69cc8a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions aerospike_helpers/batch/records.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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::
Expand Down Expand Up @@ -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:
"""
Expand Down

0 comments on commit b69cc8a

Please sign in to comment.