Skip to content

Commit 4a5e8bf

Browse files
committed
Fix: Apply ruff formatting
1 parent 7f2d806 commit 4a5e8bf

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

example/example_async_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ async def example_get_domain():
3434
async def example_bulk_export_stream():
3535
"""Async streaming bulk export - memory efficient for large datasets."""
3636
async with AsyncClient(api_key=API_KEY) as client:
37-
async for aggregation in client.bulk_export_stream("+plugin:GitConfigHttpPlugin"):
37+
async for aggregation in client.bulk_export_stream(
38+
"+plugin:GitConfigHttpPlugin"
39+
):
3840
for event in aggregation["events"]:
3941
print(event["ip"])
4042

leakix/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ def get_domain(self, domain: str) -> AbstractResponse:
261261
r.response_json = response_json
262262
return r
263263

264-
def search(self, query: str, scope: str = "leak", page: int = 0) -> AbstractResponse:
264+
def search(
265+
self, query: str, scope: str = "leak", page: int = 0
266+
) -> AbstractResponse:
265267
"""
266268
Simple search using a query string.
267269

0 commit comments

Comments
 (0)