pinexq-client 0.9.0.20241203.1__py3-none-any.whl → 0.9.1.20241213.2__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.
@@ -3,4 +3,4 @@ from .enterjma import enter_jma
3
3
  from .tool import Job, ProcessingStep, WorkData
4
4
 
5
5
  # Protocol version the JMA is using
6
- __jma_version__ = [7, 3, 0]
6
+ __jma_version__ = [7, 3, 1]
@@ -1,13 +1,14 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.json
3
- # timestamp: 2024-11-27T15:40:27+00:00
3
+ # timestamp: 2024-12-12T14:18:14+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
+ from datetime import datetime
7
8
  from enum import Enum
8
9
  from typing import Any, List
9
10
 
10
- from pydantic import AwareDatetime, BaseModel, ConfigDict, Field, constr
11
+ from pydantic import BaseModel, ConfigDict, Field, constr
11
12
 
12
13
 
13
14
  class AdminJobQueryResultHtoOpenApiProperties(BaseModel):
@@ -256,8 +257,8 @@ class ProcessingStepHtoOpenApiProperties(BaseModel):
256
257
  is_public: bool | None = Field(None, alias='IsPublic')
257
258
  tags: List[str] | None = Field(None, alias='Tags')
258
259
  is_configured: bool | None = Field(None, alias='IsConfigured')
259
- created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
260
- last_modified_at: AwareDatetime | None = Field(None, alias='LastModifiedAt')
260
+ created_at: datetime | None = Field(None, alias='CreatedAt')
261
+ last_modified_at: datetime | None = Field(None, alias='LastModifiedAt')
261
262
  parameter_schema: str | None = Field(None, alias='ParameterSchema')
262
263
  default_parameters: str | None = Field(None, alias='DefaultParameters')
263
264
  return_schema: str | None = Field(None, alias='ReturnSchema')
@@ -311,6 +312,7 @@ class ProcessingView(BaseModel):
311
312
  title: str | None = Field(None, alias='Title')
312
313
  description: str | None = Field(None, alias='Description')
313
314
  function_name: str | None = Field(None, alias='FunctionName')
315
+ version: str | None = Field(None, alias='Version')
314
316
  number_of_input_data_slots: int | None = Field(None, alias='NumberOfInputDataSlots')
315
317
  number_of_output_data_slots: int | None = Field(
316
318
  None, alias='NumberOfOutputDataSlots'
@@ -495,8 +497,8 @@ class AdminJobFilterParameter(BaseModel):
495
497
  state: JobStates | None = Field(None, alias='State')
496
498
  show_hidden: bool | None = Field(None, alias='ShowHidden')
497
499
  processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
498
- created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
499
- created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
500
+ created_before: datetime | None = Field(None, alias='CreatedBefore')
501
+ created_after: datetime | None = Field(None, alias='CreatedAfter')
500
502
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
501
503
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
502
504
  parent_job_url: str | None = Field(None, alias='ParentJobUrl')
@@ -562,8 +564,8 @@ class AdminWorkDataFilterParameter(BaseModel):
562
564
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
563
565
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
564
566
  is_kind: WorkDataKind | None = Field(None, alias='IsKind')
565
- created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
566
- created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
567
+ created_before: datetime | None = Field(None, alias='CreatedBefore')
568
+ created_after: datetime | None = Field(None, alias='CreatedAfter')
567
569
  is_deletable: bool | None = Field(None, alias='IsDeletable')
568
570
  is_used: bool | None = Field(None, alias='IsUsed')
569
571
 
@@ -627,8 +629,8 @@ class JobFilterParameter(BaseModel):
627
629
  name: str | None = Field(None, alias='Name')
628
630
  show_hidden: bool | None = Field(None, alias='ShowHidden')
629
631
  work_data_url: str | None = Field(None, alias='WorkDataUrl')
630
- created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
631
- created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
632
+ created_before: datetime | None = Field(None, alias='CreatedBefore')
633
+ created_after: datetime | None = Field(None, alias='CreatedAfter')
632
634
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
633
635
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
634
636
  processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
@@ -646,8 +648,8 @@ class JobHtoOpenApiProperties(BaseModel):
646
648
  tags: List[str] | None = Field(None, alias='Tags')
647
649
  hidden: bool | None = Field(None, alias='Hidden')
648
650
  output_is_deletable: bool | None = Field(None, alias='OutputIsDeletable')
649
- created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
650
- completed_at: AwareDatetime | None = Field(None, alias='CompletedAt')
651
+ created_at: datetime | None = Field(None, alias='CreatedAt')
652
+ completed_at: datetime | None = Field(None, alias='CompletedAt')
651
653
  error_description: str | None = Field(None, alias='ErrorDescription')
652
654
  processing: ProcessingView | None = Field(None, alias='Processing')
653
655
  result: str | None = Field(None, alias='Result')
@@ -792,8 +794,8 @@ class WorkDataFilterParameter(BaseModel):
792
794
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
793
795
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
794
796
  is_kind: WorkDataKind | None = Field(None, alias='IsKind')
795
- created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
796
- created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
797
+ created_before: datetime | None = Field(None, alias='CreatedBefore')
798
+ created_after: datetime | None = Field(None, alias='CreatedAfter')
797
799
  is_deletable: bool | None = Field(None, alias='IsDeletable')
798
800
  is_used: bool | None = Field(None, alias='IsUsed')
799
801
 
@@ -804,7 +806,7 @@ class WorkDataHtoOpenApiProperties(BaseModel):
804
806
  populate_by_name=True,
805
807
  )
806
808
  name: str | None = Field(None, alias='Name')
807
- created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
809
+ created_at: datetime | None = Field(None, alias='CreatedAt')
808
810
  size_in_bytes: int | None = Field(None, alias='SizeInBytes')
809
811
  tags: List[str] | None = Field(None, alias='Tags')
810
812
  media_type: str | None = Field(None, alias='MediaType')
@@ -78,13 +78,14 @@ class ProcessingStepUsedTagsEntity(Entity):
78
78
  class JobUsedTagsEntity(Entity):
79
79
  properties: JobUsedTagsHtoOpenApiProperties | None = None
80
80
 
81
-
81
+ # this needs to be added since the openapi.spec does not have this object.
82
82
  class InputDataSlotHtoProperties(BaseModel):
83
83
  model_config = ConfigDict(
84
- extra="forbid",
84
+ extra="allow",
85
85
  populate_by_name=True,
86
86
  )
87
87
  is_configured: bool | None = Field(None, alias="IsConfigured")
88
+ name: str = Field("", alias="Name")
88
89
  title: str | None = Field(None, alias="Title")
89
90
  description: str | None = Field(None, alias="Description")
90
91
  media_type: str | None = Field(None, alias="MediaType")
@@ -93,12 +94,13 @@ class InputDataSlotHtoProperties(BaseModel):
93
94
  class InputDataSlotEntity(Entity):
94
95
  properties: InputDataSlotHtoProperties | None = None
95
96
 
96
-
97
+ # this needs to be added since the openapi.spec does not have this object.
97
98
  class OutputDataSlotHtoProperties(BaseModel):
98
99
  model_config = ConfigDict(
99
- extra="forbid",
100
+ extra="allow",
100
101
  populate_by_name=True,
101
102
  )
103
+ name: str = Field("", alias="Name")
102
104
  title: str | None = Field(None, alias="Title")
103
105
  description: str | None = Field(None, alias="Description")
104
106
  media_type: str | None = Field(None, alias="MediaType")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pinexq-client
3
- Version: 0.9.0.20241203.1
3
+ Version: 0.9.1.20241213.2
4
4
  Summary: A hypermedia-based client for the DataCybernetics PinexQ platform.
5
5
  Author-Email: =?utf-8?q?Sebastian_H=C3=B6fer?= <hoefer@data-cybernetics.com>, Mathias Reichardt <reichardt@data-cybernetics.com>, Jasim Ahmed <ahmed@data-cybernetics.com>, Pratik Poudel <poudel@data-cybernetics.com>
6
6
  Maintainer-Email: Mathias Reichardt <reichardt@data-cybernetics.com>, =?utf-8?q?Sebastian_H=C3=B6fer?= <hoefer@data-cybernetics.com>, Carsten Blank <blank@data-cybernetics.com>
@@ -1,7 +1,7 @@
1
- pinexq_client-0.9.0.20241203.1.dist-info/METADATA,sha256=YJLPPrztDSpMg_ewegmfvz1wfB_WAfuSxJ6EM4TPGyo,3278
2
- pinexq_client-0.9.0.20241203.1.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- pinexq_client-0.9.0.20241203.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- pinexq_client-0.9.0.20241203.1.dist-info/licenses/LICENSE,sha256=3oz3tAhM7kOgRukkRe7wmh5T_HihZY77ZtJDJm91ZN8,1072
1
+ pinexq_client-0.9.1.20241213.2.dist-info/METADATA,sha256=n8wRo7jlsecTcmt6Zz8XxcGWDNSA1nA6BCxjQ0lGl9M,3278
2
+ pinexq_client-0.9.1.20241213.2.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ pinexq_client-0.9.1.20241213.2.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ pinexq_client-0.9.1.20241213.2.dist-info/licenses/LICENSE,sha256=3oz3tAhM7kOgRukkRe7wmh5T_HihZY77ZtJDJm91ZN8,1072
5
5
  pinexq_client/core/__init__.py,sha256=8SVD_PRgJtpUCOtVjdR6fRrv6KPNk7HD6UQrn0FKR04,235
6
6
  pinexq_client/core/base_relations.py,sha256=oIUS58pkbMDdqm-3YOdsenhL1smtzeAk4fp7-U595MY,162
7
7
  pinexq_client/core/enterapi.py,sha256=sL9TmF1L5LaDJnre1l_tiHDUo9vTbZ8cvPSov3Q1UTs,671
@@ -21,7 +21,7 @@ pinexq_client/core/model/error.py,sha256=ZDbUlwsj7d8XPMolSSLTFwgs3RBLvOvgmlEtoBu
21
21
  pinexq_client/core/model/sirenmodels.py,sha256=vGRQlhM2cSa2caxQel91Jr48KWqM-vMYX32iaQCzIds,5547
22
22
  pinexq_client/core/polling.py,sha256=Z6VXn-PCGk4XX-4tQWZG59qJyCIS0eIrpPUORQDIGrs,1077
23
23
  pinexq_client/core/sirenaccess.py,sha256=qopQKDfL1enJFb0Ja8UgsLMVOa0oBGy7PonhlV7YVBY,6950
24
- pinexq_client/job_management/__init__.py,sha256=r-Hgjon5a7uvuj1x3rSf3btMjG28xcQqnvaVEsEksw8,164
24
+ pinexq_client/job_management/__init__.py,sha256=QnwKpZJSQG9VYdkVbT84jx86u0vnH7-XJa5SZnDgiA4,164
25
25
  pinexq_client/job_management/enterjma.py,sha256=Ivl_jVPw_gaLyU5nKbywM-bbVGpn0MoCrZ0DMbJYf3s,1411
26
26
  pinexq_client/job_management/hcos/__init__.py,sha256=sjRsC3FDCfTLtfUM7j-6wic26ELlYdPNDjrOPLFiKjE,431
27
27
  pinexq_client/job_management/hcos/entrypoint_hco.py,sha256=qodjAwO_MtawUuhmaYjhGXHV-uW1k94V9gKRYZRkhn4,2234
@@ -43,11 +43,11 @@ pinexq_client/job_management/hcos/workdata_used_tags_query_result_hco.py,sha256=
43
43
  pinexq_client/job_management/hcos/workdataroot_hco.py,sha256=LdEPW2JJTqAWi-6zj-40lfREhthcDL6nPXQk_nfMtCA,3936
44
44
  pinexq_client/job_management/known_relations.py,sha256=f3-7RagAfeSFv9b54l5zxnLKbVQjQQHzYsM4W2QHf0Y,708
45
45
  pinexq_client/job_management/model/__init__.py,sha256=ApHhNfjx4bPuz10sQnyBA2zajYbU7loDTZSKC5H_jBY,34
46
- pinexq_client/job_management/model/open_api_generated.py,sha256=BxSGNyJDbr6x-LKCELGg3Mctn0TZasKYEQ2aOHLFqjo,31458
47
- pinexq_client/job_management/model/sirenentities.py,sha256=OInvxHpC6mnnYQjOMM2xAw7uLtvWwj9E2EQSRJe2jDo,3202
46
+ pinexq_client/job_management/model/open_api_generated.py,sha256=r4WLKQtPG2TL1rdGbXq1IFaVIPBtWSs-iF2G0e5OO2k,31463
47
+ pinexq_client/job_management/model/sirenentities.py,sha256=y08lxr6xV3kQVMjgtTjM8uq9LhDzvJ-nXWbnwawLw6I,3428
48
48
  pinexq_client/job_management/tool/__init__.py,sha256=58CRDcP8ifSx9eA2uyTLEg0_fX3FUuNUogY_lirx9AY,96
49
49
  pinexq_client/job_management/tool/job.py,sha256=_4HKeOAXsVx9f3DR-2E2Oyr3RqGqEb3Am4D1HwFh9JI,24795
50
50
  pinexq_client/job_management/tool/job_group.py,sha256=JyBKqtKAMpVXwdGaGKzh5IJOHgMk8zhK9b54jfvEHkk,4817
51
51
  pinexq_client/job_management/tool/processing_step.py,sha256=OOm36tV_N9RnJKh9WBZo_Xbmg1kb5JKh0NtNfECrNpM,10286
52
52
  pinexq_client/job_management/tool/workdata.py,sha256=wRy_yfFZUJDh-hoGUuAbQaRGtPysDmEOhLwD84Fgz04,5510
53
- pinexq_client-0.9.0.20241203.1.dist-info/RECORD,,
53
+ pinexq_client-0.9.1.20241213.2.dist-info/RECORD,,