chunkr-ai 0.1.0a9__py3-none-any.whl → 0.1.0a10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
chunkr_ai/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "chunkr_ai"
4
- __version__ = "0.1.0-alpha.9" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.10" # x-release-please-version
@@ -20,6 +20,12 @@ Output: TypeAlias = Union[ParseOutputResponse, ExtractOutputResponse, None]
20
20
 
21
21
 
22
22
  class TaskResponse(BaseModel):
23
+ completed: bool
24
+ """True when the task reaches a terminal state i.e.
25
+
26
+ `status` is `Succeeded` or `Failed` or `Cancelled`
27
+ """
28
+
23
29
  configuration: Configuration
24
30
  """
25
31
  Unified configuration type that can represent either parse or extract
@@ -58,8 +64,8 @@ class TaskResponse(BaseModel):
58
64
  output: Optional[Output] = None
59
65
  """Unified output type that can represent either parse or extract results"""
60
66
 
61
- source_task_id: Optional[str] = None
62
- """The ID of the source task that was used for the task"""
67
+ parse_task_id: Optional[str] = None
68
+ """The ID of the source `parse` task that was used for the task"""
63
69
 
64
70
  started_at: Optional[datetime] = None
65
71
  """The date and time when the task was started."""
@@ -14,6 +14,12 @@ __all__ = ["ExtractCreateResponse"]
14
14
 
15
15
 
16
16
  class ExtractCreateResponse(BaseModel):
17
+ completed: bool
18
+ """True when the task reaches a terminal state i.e.
19
+
20
+ `status` is `Succeeded` or `Failed` or `Cancelled`
21
+ """
22
+
17
23
  configuration: ExtractConfiguration
18
24
 
19
25
  created_at: datetime
@@ -57,7 +63,7 @@ class ExtractCreateResponse(BaseModel):
57
63
  for that field.
58
64
  """
59
65
 
60
- source_task_id: Optional[str] = None
66
+ parse_task_id: Optional[str] = None
61
67
  """The ID of the source `parse` task that was used for extraction"""
62
68
 
63
69
  started_at: Optional[datetime] = None
@@ -14,6 +14,12 @@ __all__ = ["ExtractGetResponse"]
14
14
 
15
15
 
16
16
  class ExtractGetResponse(BaseModel):
17
+ completed: bool
18
+ """True when the task reaches a terminal state i.e.
19
+
20
+ `status` is `Succeeded` or `Failed` or `Cancelled`
21
+ """
22
+
17
23
  configuration: ExtractConfiguration
18
24
 
19
25
  created_at: datetime
@@ -57,7 +63,7 @@ class ExtractGetResponse(BaseModel):
57
63
  for that field.
58
64
  """
59
65
 
60
- source_task_id: Optional[str] = None
66
+ parse_task_id: Optional[str] = None
61
67
  """The ID of the source `parse` task that was used for extraction"""
62
68
 
63
69
  started_at: Optional[datetime] = None
@@ -14,6 +14,12 @@ __all__ = ["ParseCreateResponse"]
14
14
 
15
15
 
16
16
  class ParseCreateResponse(BaseModel):
17
+ completed: bool
18
+ """True when the task reaches a terminal state i.e.
19
+
20
+ `status` is `Succeeded` or `Failed` or `Cancelled`
21
+ """
22
+
17
23
  configuration: ParseConfiguration
18
24
 
19
25
  created_at: datetime
@@ -14,6 +14,12 @@ __all__ = ["ParseGetResponse"]
14
14
 
15
15
 
16
16
  class ParseGetResponse(BaseModel):
17
+ completed: bool
18
+ """True when the task reaches a terminal state i.e.
19
+
20
+ `status` is `Succeeded` or `Failed` or `Cancelled`
21
+ """
22
+
17
23
  configuration: ParseConfiguration
18
24
 
19
25
  created_at: datetime
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chunkr-ai
3
- Version: 0.1.0a9
3
+ Version: 0.1.0a10
4
4
  Summary: The official Python library for the chunkr API
5
5
  Project-URL: Homepage, https://github.com/lumina-ai-inc/chunkr-python
6
6
  Project-URL: Repository, https://github.com/lumina-ai-inc/chunkr-python
@@ -11,7 +11,7 @@ chunkr_ai/_resource.py,sha256=f5tiwjxcKdbeMor8idoHtMFTUhqD9yc2xXtq5rqeLLk,1100
11
11
  chunkr_ai/_response.py,sha256=xXNpF53hiYARmAW7npKuxQ5UHAEjgAzm7ME_L3eIstY,28800
12
12
  chunkr_ai/_streaming.py,sha256=ZmyrVWk7-AWkLAATR55WgNxnyFzYmaqJt2LthA_PTqQ,10100
13
13
  chunkr_ai/_types.py,sha256=nzD_EEP9CVutLcSeuKLO6Mpn5cd_R0Vo0dEM7AWa7yY,7239
14
- chunkr_ai/_version.py,sha256=p6DXKQHQmLj6OUJeVjwsbhoVQTNnIi0OBQ_nus38vdo,169
14
+ chunkr_ai/_version.py,sha256=DjItTmf7c0SXbPfiF1CUJ2pzf-qJNG2loWN0G4kVsqw,170
15
15
  chunkr_ai/pagination.py,sha256=bT-ErcJ80YlKBV6tWq2s9uqg-wv7o66SKe_AgUAGrKc,3533
16
16
  chunkr_ai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  chunkr_ai/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
@@ -67,20 +67,20 @@ chunkr_ai/types/task_extract_updated_webhook_event.py,sha256=YYHDQEs4wg2bDgGXgHU
67
67
  chunkr_ai/types/task_get_params.py,sha256=Nx2luhebcoaiuRln4KP4FarWvBPd1OYi__efi56zHPM,460
68
68
  chunkr_ai/types/task_list_params.py,sha256=NySdOH1mIhZAJvcHr9xm2PeODsCO05lJMsrAiGGBKNE,1275
69
69
  chunkr_ai/types/task_parse_updated_webhook_event.py,sha256=3NsfEpJr_bfFB3Y66elraSxk0FS76c60BLUmhqmU9Vc,636
70
- chunkr_ai/types/task_response.py,sha256=I53d8JdZxbg3p-AUnigISmwFFt5DILnm0gyOc2wRu28,2191
70
+ chunkr_ai/types/task_response.py,sha256=RgyRaZK8TKjVfMSvsI10LYAv61QY2-195Tg3op8yCGo,2339
71
71
  chunkr_ai/types/unwrap_webhook_event.py,sha256=G23CLp0__AMlfM2xE11ugnDxN82uiG0Xru0p-pI9VHQ,442
72
72
  chunkr_ai/types/version_info.py,sha256=MVSU2Z9ATehyc1IgVExczvcP_yH7wYc1UV_BwXeF0UA,917
73
73
  chunkr_ai/types/webhook_url_response.py,sha256=q7VsWGOLqVfA_ctdcrbynQJVbfCGh1rHlXZsDc-9Sus,205
74
74
  chunkr_ai/types/tasks/__init__.py,sha256=AEF_lM5YdEvz8_7fcX0HHnVvsXdC8Hcsb2Cs-LzRBK4,711
75
75
  chunkr_ai/types/tasks/extract_create_params.py,sha256=IV5TrFqJAGFf4w_uH3hqWlbEySlAOC_2QzwKZ-3oM6o,1376
76
- chunkr_ai/types/tasks/extract_create_response.py,sha256=Umbm40i0Q6Oz3vX9WwTeOXwKU2g8ddZmFhRwl-5Rm5U,2147
76
+ chunkr_ai/types/tasks/extract_create_response.py,sha256=goc8x-L3W0hJowb4PvXigc2o_p15JL0a2ESo9Geg9xc,2287
77
77
  chunkr_ai/types/tasks/extract_get_params.py,sha256=AsJvXHvdDnIcVOvTK9gCeiMFk4wckuv19IXIJcqpqso,466
78
- chunkr_ai/types/tasks/extract_get_response.py,sha256=FWXfS3Qobg3k6seWbbXJZ5y4N_mtJbHsN_FeZV5_ieM,2141
78
+ chunkr_ai/types/tasks/extract_get_response.py,sha256=sQgDLTwpE2w-xVcuXO7NAF_kjhLXv_0swdBJQRGQNSI,2281
79
79
  chunkr_ai/types/tasks/parse_create_params.py,sha256=8ctOPP2QT-q_8zN8Fl8ene74ZGOUnR6EAA9XcvA_0p4,2957
80
- chunkr_ai/types/tasks/parse_create_response.py,sha256=asqeI2l6QbdtPhaQkxkbpSwVLe2HEFfeTPG5OX_xfus,1679
80
+ chunkr_ai/types/tasks/parse_create_response.py,sha256=l9hj6qKs76-qKzjBtVeo9lRe9wRuYltsh2GFNPyfEDM,1820
81
81
  chunkr_ai/types/tasks/parse_get_params.py,sha256=Ca0C91k6ajNTMhtUkFMulgC6g8_wI7YLVGxsWiupiVA,462
82
- chunkr_ai/types/tasks/parse_get_response.py,sha256=-0_j1_5skabmAtmcK882jZGroVsBRxC_o5d6pg31bJY,1673
83
- chunkr_ai-0.1.0a9.dist-info/METADATA,sha256=LVLyY2CgCcRHxDF9SV79DbftAPh4d16TUh_cHmENI3I,16492
84
- chunkr_ai-0.1.0a9.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
85
- chunkr_ai-0.1.0a9.dist-info/licenses/LICENSE,sha256=3FDRL-L-DFkrFy8yJpb1Nxhuztm0PB2kawcCgK5utFg,11336
86
- chunkr_ai-0.1.0a9.dist-info/RECORD,,
82
+ chunkr_ai/types/tasks/parse_get_response.py,sha256=2IoZeN8BAxQEtxRq6CCA_d9nWPvCQbp71zMzaaKPlug,1814
83
+ chunkr_ai-0.1.0a10.dist-info/METADATA,sha256=xTpeNw9Gsz28LK7DnbTqP7cw_VcaVifr2tHH2DepHho,16493
84
+ chunkr_ai-0.1.0a10.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
85
+ chunkr_ai-0.1.0a10.dist-info/licenses/LICENSE,sha256=3FDRL-L-DFkrFy8yJpb1Nxhuztm0PB2kawcCgK5utFg,11336
86
+ chunkr_ai-0.1.0a10.dist-info/RECORD,,