chunkr-ai 0.0.19__tar.gz → 0.0.21__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. {chunkr_ai-0.0.19/src/chunkr_ai.egg-info → chunkr_ai-0.0.21}/PKG-INFO +1 -1
  2. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/pyproject.toml +1 -1
  3. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/decorators.py +5 -1
  4. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/task_response.py +6 -6
  5. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21/src/chunkr_ai.egg-info}/PKG-INFO +1 -1
  6. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/LICENSE +0 -0
  7. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/README.md +0 -0
  8. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/setup.cfg +0 -0
  9. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/__init__.py +0 -0
  10. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/__init__.py +0 -0
  11. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/api.py +0 -0
  12. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/auth.py +0 -0
  13. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/chunkr.py +0 -0
  14. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/chunkr_base.py +0 -0
  15. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/config.py +0 -0
  16. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/misc.py +0 -0
  17. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/api/protocol.py +0 -0
  18. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai/models.py +0 -0
  19. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai.egg-info/SOURCES.txt +0 -0
  20. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai.egg-info/dependency_links.txt +0 -0
  21. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai.egg-info/requires.txt +0 -0
  22. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/src/chunkr_ai.egg-info/top_level.txt +0 -0
  23. {chunkr_ai-0.0.19 → chunkr_ai-0.0.21}/tests/test_chunkr.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: chunkr-ai
3
- Version: 0.0.19
3
+ Version: 0.0.21
4
4
  Summary: Python client for Chunkr: open source document intelligence
5
5
  Author-email: Ishaan Kapoor <ishaan@lumina.sh>
6
6
  Project-URL: Homepage, https://chunkr.ai
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chunkr-ai"
7
- version = "0.0.19"
7
+ version = "0.0.21"
8
8
  authors = [{"name" = "Ishaan Kapoor", "email" = "ishaan@lumina.sh"}]
9
9
  description = "Python client for Chunkr: open source document intelligence"
10
10
  readme = "README.md"
@@ -1,7 +1,11 @@
1
1
  import functools
2
2
  import asyncio
3
3
  import httpx
4
- from typing import Callable, Any, TypeVar, Awaitable, ParamSpec, Union, overload
4
+ from typing import Callable, Any, TypeVar, Awaitable, Union, overload
5
+ try:
6
+ from typing import ParamSpec
7
+ except ImportError:
8
+ from typing_extensions import ParamSpec
5
9
 
6
10
  T = TypeVar('T')
7
11
  P = ParamSpec('P')
@@ -13,14 +13,14 @@ T = TypeVar("T", bound="TaskResponse")
13
13
  class TaskResponse(BaseModel, Generic[T]):
14
14
  configuration: OutputConfiguration
15
15
  created_at: datetime
16
- expires_at: Optional[datetime]
17
- finished_at: Optional[datetime]
18
- message: str
19
- output: Optional[OutputResponse]
20
- started_at: Optional[datetime]
16
+ expires_at: Optional[datetime] = None
17
+ finished_at: Optional[datetime] = None
18
+ message: Optional[str] = None
19
+ output: Optional[OutputResponse] = None
20
+ started_at: Optional[datetime] = None
21
21
  status: Status
22
22
  task_id: str
23
- task_url: Optional[str]
23
+ task_url: Optional[str] = None
24
24
  _client: Optional[ChunkrClientProtocol] = PrivateAttr(default=None)
25
25
 
26
26
  def with_client(self, client: ChunkrClientProtocol) -> T:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: chunkr-ai
3
- Version: 0.0.19
3
+ Version: 0.0.21
4
4
  Summary: Python client for Chunkr: open source document intelligence
5
5
  Author-email: Ishaan Kapoor <ishaan@lumina.sh>
6
6
  Project-URL: Homepage, https://chunkr.ai
File without changes
File without changes
File without changes