Skip to content

Commit

Permalink
tests: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
simjak committed Sep 26, 2024
1 parent ea7b7a6 commit c085fa8
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 182 deletions.
4 changes: 2 additions & 2 deletions aurelio_sdk/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Usage(BaseModel):
pages: Optional[int] = None
seconds: Optional[int] = None

class Config:
class ConfigDict:
exclude_none = True


Expand Down Expand Up @@ -107,6 +107,6 @@ class ExtractResponse(BaseModel):
)
document: ResponseDocument = Field(..., description="Processed document")

class Config:
class ConfigDict:
arbitrary_types_allowed = True
exclude_none = True
102 changes: 101 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ black = {extras = ["jupyter"], version = "^24.8.0"}
types-requests = "^2.32.0.20240914"
datasets = "^3.0.0"
mypy = "^1.11.2"
pytest = "^8.3.3"
pytest-xdist = "^3.6.1"
pytest-asyncio = "^0.24.0"

[build-system]
requires = ["poetry-core"]
Expand Down
Loading

0 comments on commit c085fa8

Please sign in to comment.