Skip to content

Commit

Permalink
Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
omar2535 committed Nov 18, 2024
1 parent d043c3e commit 4495d90
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions graphqler/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from graphqler.utils.config_handler import set_config
from graphqler.utils.stats import Stats
from graphqler.utils.objects_bucket import ObjectsBucket

from graphqler.utils.api import API

def compile_and_fuzz(path: str, url: str, input_config: dict | None = None) -> dict:
"""
Expand Down Expand Up @@ -40,7 +40,9 @@ def compile_and_fuzz(path: str, url: str, input_config: dict | None = None) -> d
fuzzer = Fuzzer(path, url)
fuzzer.run()

objects_bucket = ObjectsBucket(api=fuzzer.api).load()
api: API = fuzzer.api

objects_bucket = ObjectsBucket(api=api).load()
stats = Stats().load()

return {
Expand Down

0 comments on commit 4495d90

Please sign in to comment.