Skip to content

Commit

Permalink
Change: Fix missing aenter method
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann authored and greenbonebot committed Mar 6, 2025
1 parent d924ac8 commit 4b8a3e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pontos/nvd/source/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,7 @@ def sources(
results_per_page=results_per_page,
start_index=start_index,
)

async def __aenter__(self) -> "SourceApi":
await super().__aenter__()
return self

0 comments on commit 4b8a3e5

Please sign in to comment.