Skip to content

Commit 9896f20

Browse files
authored
Fix provider type hint in SearchResponse
1 parent 3777f95 commit 9896f20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyopds2/provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def search(self, query: str, limit: int = 50, offset: int = 0) -> List[Publicati
6969
@dataclass
7070
class SearchResponse:
7171
"""Response from a search query."""
72-
provider: 'DataProvider'
72+
provider: 'DataProvider | type[DataProvider]'
7373
query: str
7474
limit: int
7575
offset: int

0 commit comments

Comments
 (0)