Skip to content

Commit

Permalink
Fix type annotations in query/__init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul4732saini committed Jul 23, 2024
1 parent f1c9cbf commit fdbb03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fise/query/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def _parse_operation_type(type_: str) -> str:
return type_

def _parse_search_operation(
self, params: Generator[str, None, None]
self, params: Generator[list[str], None, None]
) -> OperationData:
"""
Parses the search operation parameters.
Expand Down Expand Up @@ -214,7 +214,7 @@ def _parse_search_operation(
return OperationData("search", operand, filemode)

def _parse_delete_operation(
self, params: Generator[str, None, None]
self, params: Generator[list[str], None, None]
) -> OperationData:
"""
Parses the delete operation parameters.
Expand Down

0 comments on commit fdbb03e

Please sign in to comment.