Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidt99 committed Feb 22, 2023
1 parent 07022dc commit 8d2fd6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intezer_sdk/_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Optional
from typing import Union

from intezer_sdk.api import IntezerApi
from intezer_sdk._api import IntezerApi
from intezer_sdk.operation import Operation


Expand All @@ -14,7 +14,7 @@ def handle_operation(operations: Dict[str, Operation],
wait: Union[bool, int],
wait_timeout: Optional[datetime.timedelta]) -> Operation:
if operation not in operations:
operations[operation] = Operation(result_url, operation, api=api)
operations[operation] = Operation(result_url, operation, api=api.api)

if wait:
if isinstance(wait, bool):
Expand Down

0 comments on commit 8d2fd6a

Please sign in to comment.