Skip to content

Commit 4b8a3e5

Browse files
n-thumanngreenbonebot
authored andcommitted
Change: Fix missing aenter method
1 parent d924ac8 commit 4b8a3e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pontos/nvd/source/api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,7 @@ def sources(
141141
results_per_page=results_per_page,
142142
start_index=start_index,
143143
)
144+
145+
async def __aenter__(self) -> "SourceApi":
146+
await super().__aenter__()
147+
return self

0 commit comments

Comments
 (0)