Skip to content

Commit

Permalink
fix: make typing better
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Feb 18, 2025
1 parent dfba241 commit 49d78fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "karp-api-client"
version = "0.1.3"
description = "Add your description here"
version = "0.1.4"
description = "Client for accessing Karp API."
readme = "README.md"
authors = [
{ name = "Språkbanken Text", email = "[email protected]" },
Expand Down
2 changes: 1 addition & 1 deletion src/karp_api_client/dsl/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, *queries: Query) -> None:
"""Construct an Or query by combining two queries."""
super().__init__(ors=list(queries))

def __or__(self, other: "Query") -> "Query":
def __or__(self, other: "Query") -> "Or":
"""Combine other query with or."""
q = self._clone()
if isinstance(other, Or):
Expand Down

0 comments on commit 49d78fd

Please sign in to comment.