Skip to content

Commit

Permalink
Make a generic class
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschuppi81 committed Aug 23, 2024
1 parent d1f8037 commit b25a51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onegov/org/models/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def locale_mapping(locale: str) -> str:
return mapping.get(locale, 'english')

Check warning on line 173 in src/onegov/org/models/search.py

View check run for this annotation

Codecov / codecov/patch

src/onegov/org/models/search.py#L173

Added line #L173 was not covered by tests


class SearchPostgres(Pagination):
class SearchPostgres(Pagination[_M]):
"""
Implements searching in postgres db based on the gin index
"""
Expand Down

0 comments on commit b25a51d

Please sign in to comment.