Skip to content

refactor: remove client.py, use AsyncClient directly#26

Merged
dannywillems merged 2 commits intomainfrom
refactor/remove-client-wrapper
Mar 17, 2026
Merged

refactor: remove client.py, use AsyncClient directly#26
dannywillems merged 2 commits intomainfrom
refactor/remove-client-wrapper

Conversation

@dannywillems
Copy link
Copy Markdown
Contributor

Summary

  • Delete client.py wrapper class
  • Tools use leakix.AsyncClient directly
  • High-level logic (quick_recon, exposure_report, find_related)
    moved into their tool files
  • Shared helpers (is_ip, get_field) in tools/helpers.py
  • Tests updated to test tool handlers directly

Test plan

  • CI passes
  • All 12 tests pass

@dannywillems dannywillems force-pushed the refactor/remove-client-wrapper branch 2 times, most recently from 6dca5e0 to f5a5f54 Compare March 17, 2026 16:59
Move high-level logic from LeakIXClient wrapper into the tool
files themselves. Helpers (is_ip, get_field) go in helpers.py.
server.py now holds the AsyncClient instance directly.
@dannywillems dannywillems force-pushed the refactor/remove-client-wrapper branch from f5a5f54 to c700ea7 Compare March 17, 2026 17:01
@dannywillems dannywillems merged commit d89b08b into main Mar 17, 2026
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant