pinexq-client 0.9.2.20250403.1__py3-none-any.whl → 0.9.2.20250506.42__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.
@@ -22,4 +22,4 @@ from .model import JobSortPropertiesSortParameter, ProcessingView
22
22
  from .tool import Job, JobGroup, ProcessingStep, WorkData
23
23
 
24
24
  # Protocol version the JMA is using
25
- __jma_version__ = [7, 4, 0]
25
+ __jma_version__ = [7, 5, 0]
@@ -117,6 +117,7 @@ class JobHco(Hco[JobEntity]):
117
117
  tags: list[str] | None = Property()
118
118
  output_is_deletable: bool = Property()
119
119
  created_at: datetime = Property()
120
+ started_at: datetime = Property()
120
121
  completed_at: datetime = Property()
121
122
  error_description: str = Property()
122
123
  processing: ProcessingView = Property()
@@ -32,6 +32,16 @@ class ProcessingStepEditTagsAction(ActionWithParametersHco[SetProcessingStepTags
32
32
  return self._get_default_parameters(SetProcessingStepTagsParameters, SetProcessingStepTagsParameters(tags=[]))
33
33
 
34
34
 
35
+ class ProcessingStepHideAction(ActionHco):
36
+ def execute(self):
37
+ self._execute_internal()
38
+
39
+
40
+ class ProcessingStepUnHideAction(ActionHco):
41
+ def execute(self):
42
+ self._execute_internal()
43
+
44
+
35
45
  class ProcessingStepEditPropertiesAction(ActionWithParametersHco[EditProcessingStepParameters]):
36
46
  def execute(self, parameters: EditProcessingStepParameters):
37
47
  self._execute(parameters)
@@ -81,6 +91,8 @@ class ProcessingStepHco(Hco[ProcessingStepEntity]):
81
91
  default_parameters: str | None = Property()
82
92
  return_schema: str | None = Property()
83
93
  error_schema: str | None = Property()
94
+ hidden: bool | None = Property()
95
+
84
96
  input_data_slot_specification: List[DataSpecificationHto] | None = Property()
85
97
  output_data_slot_specification: List[DataSpecificationHto] | None = Property()
86
98
  edit_tags_action: ProcessingStepEditTagsAction | UnavailableAction
@@ -88,6 +100,8 @@ class ProcessingStepHco(Hco[ProcessingStepEntity]):
88
100
  configure_default_parameters_action: ConfigureDefaultParametersAction | UnavailableAction
89
101
  clear_default_parameters_action: ClearDefaultParametersAction | UnavailableAction
90
102
  upload_configuration_action: UploadConfigurationAction | None
103
+ hide_action: ProcessingStepHideAction | UnavailableAction
104
+ unhide_action: ProcessingStepUnHideAction | UnavailableAction
91
105
 
92
106
  self_link: ProcessingStepLink
93
107
  download_link: DownloadLinkHco
@@ -112,4 +126,9 @@ class ProcessingStepHco(Hco[ProcessingStepEntity]):
112
126
  client, instance._entity, "ClearDefaultParameters")
113
127
  instance.upload_configuration_action = UploadConfigurationAction.from_entity_optional(
114
128
  client, instance._entity, "Upload")
129
+ instance.hide_action = ProcessingStepHideAction.from_entity_optional(
130
+ client, instance._entity, "Hide")
131
+ instance.unhide_action = ProcessingStepUnHideAction.from_entity_optional(
132
+ client, instance._entity, "UnHide")
133
+
115
134
  return instance
@@ -1,14 +1,13 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: openapi.json
3
- # timestamp: 2025-04-03T13:43:49+00:00
3
+ # timestamp: 2025-05-04T15:01:47+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from datetime import datetime
8
7
  from enum import Enum
9
8
  from typing import Any, List
10
9
 
11
- from pydantic import BaseModel, ConfigDict, Field, constr
10
+ from pydantic import AwareDatetime, BaseModel, ConfigDict, Field, constr
12
11
 
13
12
 
14
13
  class AdminJobQueryResultHtoOpenApiProperties(BaseModel):
@@ -231,6 +230,8 @@ class ProcessingStepFilterParameter(BaseModel):
231
230
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
232
231
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
233
232
  is_public: bool | None = Field(None, alias='IsPublic')
233
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
234
+ is_configured: bool | None = Field(None, alias='IsConfigured')
234
235
 
235
236
 
236
237
  class ProcessingStepHtoOpenApiProperties(BaseModel):
@@ -260,8 +261,9 @@ class ProcessingStepHtoOpenApiProperties(BaseModel):
260
261
  is_public: bool | None = Field(None, alias='IsPublic')
261
262
  tags: List[str] | None = Field(None, alias='Tags')
262
263
  is_configured: bool | None = Field(None, alias='IsConfigured')
263
- created_at: datetime | None = Field(None, alias='CreatedAt')
264
- last_modified_at: datetime | None = Field(None, alias='LastModifiedAt')
264
+ hidden: bool | None = Field(None, alias='Hidden')
265
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
266
+ last_modified_at: AwareDatetime | None = Field(None, alias='LastModifiedAt')
265
267
  parameter_schema: str | None = Field(None, alias='ParameterSchema')
266
268
  default_parameters: str | None = Field(None, alias='DefaultParameters')
267
269
  return_schema: str | None = Field(None, alias='ReturnSchema')
@@ -500,8 +502,8 @@ class AdminJobFilterParameter(BaseModel):
500
502
  state: JobStates | None = Field(None, alias='State')
501
503
  show_hidden: bool | None = Field(None, alias='ShowHidden')
502
504
  processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
503
- created_before: datetime | None = Field(None, alias='CreatedBefore')
504
- created_after: datetime | None = Field(None, alias='CreatedAfter')
505
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
506
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
505
507
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
506
508
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
507
509
  parent_job_url: str | None = Field(None, alias='ParentJobUrl')
@@ -537,6 +539,8 @@ class AdminProcessingStepFilterParameter(BaseModel):
537
539
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
538
540
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
539
541
  is_public: bool | None = Field(None, alias='IsPublic')
542
+ show_hidden: bool | None = Field(None, alias='ShowHidden')
543
+ is_configured: bool | None = Field(None, alias='IsConfigured')
540
544
 
541
545
 
542
546
  class AdminProcessingStepQueryResultHtoOpenApi(BaseModel):
@@ -567,8 +571,8 @@ class AdminWorkDataFilterParameter(BaseModel):
567
571
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
568
572
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
569
573
  is_kind: WorkDataKind | None = Field(None, alias='IsKind')
570
- created_before: datetime | None = Field(None, alias='CreatedBefore')
571
- created_after: datetime | None = Field(None, alias='CreatedAfter')
574
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
575
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
572
576
  is_deletable: bool | None = Field(None, alias='IsDeletable')
573
577
  is_used: bool | None = Field(None, alias='IsUsed')
574
578
 
@@ -632,8 +636,8 @@ class JobFilterParameter(BaseModel):
632
636
  name: str | None = Field(None, alias='Name')
633
637
  show_hidden: bool | None = Field(None, alias='ShowHidden')
634
638
  work_data_url: str | None = Field(None, alias='WorkDataUrl')
635
- created_before: datetime | None = Field(None, alias='CreatedBefore')
636
- created_after: datetime | None = Field(None, alias='CreatedAfter')
639
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
640
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
637
641
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
638
642
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
639
643
  processing_step_url: str | None = Field(None, alias='ProcessingStepUrl')
@@ -654,8 +658,9 @@ class JobHtoOpenApiProperties(BaseModel):
654
658
  tags: List[str] | None = Field(None, alias='Tags')
655
659
  hidden: bool | None = Field(None, alias='Hidden')
656
660
  output_is_deletable: bool | None = Field(None, alias='OutputIsDeletable')
657
- created_at: datetime | None = Field(None, alias='CreatedAt')
658
- completed_at: datetime | None = Field(None, alias='CompletedAt')
661
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
662
+ completed_at: AwareDatetime | None = Field(None, alias='CompletedAt')
663
+ started_at: AwareDatetime | None = Field(None, alias='StartedAt')
659
664
  error_description: str | None = Field(None, alias='ErrorDescription')
660
665
  processing: ProcessingView | None = Field(None, alias='Processing')
661
666
  result: str | None = Field(None, alias='Result')
@@ -800,8 +805,8 @@ class WorkDataFilterParameter(BaseModel):
800
805
  tags_by_and: List[str] | None = Field(None, alias='TagsByAnd')
801
806
  tags_by_or: List[str] | None = Field(None, alias='TagsByOr')
802
807
  is_kind: WorkDataKind | None = Field(None, alias='IsKind')
803
- created_before: datetime | None = Field(None, alias='CreatedBefore')
804
- created_after: datetime | None = Field(None, alias='CreatedAfter')
808
+ created_before: AwareDatetime | None = Field(None, alias='CreatedBefore')
809
+ created_after: AwareDatetime | None = Field(None, alias='CreatedAfter')
805
810
  is_deletable: bool | None = Field(None, alias='IsDeletable')
806
811
  is_used: bool | None = Field(None, alias='IsUsed')
807
812
 
@@ -815,7 +820,7 @@ class WorkDataHtoOpenApiProperties(BaseModel):
815
820
  None, alias='OwnerId', description='The owner of this resource'
816
821
  )
817
822
  name: str | None = Field(None, alias='Name')
818
- created_at: datetime | None = Field(None, alias='CreatedAt')
823
+ created_at: AwareDatetime | None = Field(None, alias='CreatedAt')
819
824
  size_in_bytes: int | None = Field(None, alias='SizeInBytes')
820
825
  tags: List[str] | None = Field(None, alias='Tags')
821
826
  media_type: str | None = Field(None, alias='MediaType')
@@ -246,6 +246,26 @@ class ProcessingStep:
246
246
 
247
247
  return self
248
248
 
249
+ def hide(self) -> Self:
250
+ """Hide ProcessingStep.
251
+
252
+ Returns:
253
+ This `ProcessingStep` object"""
254
+ self._raise_if_no_hco()
255
+ self.processing_step_hco.hide_action.execute()
256
+ self.refresh()
257
+ return self
258
+
259
+ def unhide(self) -> Self:
260
+ """Hide ProcessingStep.
261
+
262
+ Returns:
263
+ This `ProcessingStep` object"""
264
+ self._raise_if_no_hco()
265
+ self.processing_step_hco.unhide_action.execute()
266
+ self.refresh()
267
+ return self
268
+
249
269
  def upload_configuration(self, json_data: Any) -> Self:
250
270
  """Upload processing configuration.
251
271
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pinexq-client
3
- Version: 0.9.2.20250403.1
3
+ Version: 0.9.2.20250506.42
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.2.20250403.1.dist-info/METADATA,sha256=P9chpSnGLwuM95EjWXCFPzKOIhpHcOpYd0UEkrzLMRg,3278
2
- pinexq_client-0.9.2.20250403.1.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- pinexq_client-0.9.2.20250403.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- pinexq_client-0.9.2.20250403.1.dist-info/licenses/LICENSE,sha256=3oz3tAhM7kOgRukkRe7wmh5T_HihZY77ZtJDJm91ZN8,1072
1
+ pinexq_client-0.9.2.20250506.42.dist-info/METADATA,sha256=cfEKCEw-O1JaFD9mdQ87HoSQqCkcuvGLdJAwBQsPgmg,3279
2
+ pinexq_client-0.9.2.20250506.42.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ pinexq_client-0.9.2.20250506.42.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ pinexq_client-0.9.2.20250506.42.dist-info/licenses/LICENSE,sha256=3oz3tAhM7kOgRukkRe7wmh5T_HihZY77ZtJDJm91ZN8,1072
5
5
  pinexq_client/core/__init__.py,sha256=zO9vUuAl6AEokL-SqQO3Jl1qrxFBZPA2kH99VNZugEU,598
6
6
  pinexq_client/core/base_relations.py,sha256=oIUS58pkbMDdqm-3YOdsenhL1smtzeAk4fp7-U595MY,162
7
7
  pinexq_client/core/enterapi.py,sha256=eB4F2_t3lCbMgKhy-M-Sf_u9MhuJMO7OGh-GB-4Cc-8,731
@@ -21,18 +21,18 @@ 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=F7eZI5Pz79el0D30SYNGsiS2qWaAZF_jrCrUy-q2GgY,6992
24
- pinexq_client/job_management/__init__.py,sha256=ujJ69wrAl8tIIP_wlsbDFxNbw3bTpDuNdIw5OyThhVk,598
24
+ pinexq_client/job_management/__init__.py,sha256=bYcBivLyiTyBdrWJv9TfQerNGvgtS4qCB8MZUxAaS-A,598
25
25
  pinexq_client/job_management/enterjma.py,sha256=Ivl_jVPw_gaLyU5nKbywM-bbVGpn0MoCrZ0DMbJYf3s,1411
26
26
  pinexq_client/job_management/hcos/__init__.py,sha256=TZgs5kuBk3lSBxPfn5ehgbdUgzPy2jn1PC3Ea6VQY-k,584
27
27
  pinexq_client/job_management/hcos/entrypoint_hco.py,sha256=qodjAwO_MtawUuhmaYjhGXHV-uW1k94V9gKRYZRkhn4,2234
28
28
  pinexq_client/job_management/hcos/info_hco.py,sha256=zWjR63SCEO_sUcZ9ha_aIoC_qUzAWLf50Xu4AHddAn8,1328
29
29
  pinexq_client/job_management/hcos/input_dataslot_hco.py,sha256=SDflhyW8kjpcTUfKAXnJxNR-etPzAHfoTqlYUcJZrxs,3442
30
- pinexq_client/job_management/hcos/job_hco.py,sha256=dmobl1SFa4FCfZuig6lSAfd177E44wvRliaTbNGG0oc,8896
30
+ pinexq_client/job_management/hcos/job_hco.py,sha256=8Lq5RABq7XUp3Z6jhYegPgVPfm591-38eC8CCLes0KQ,8934
31
31
  pinexq_client/job_management/hcos/job_query_result_hco.py,sha256=I0G8YIlYDhTahLz8n06L8BywlcsMGNWUEsmEr4Sk0GU,3315
32
32
  pinexq_client/job_management/hcos/job_used_tags_hco.py,sha256=nys6E97NNXATdnvX6KZ46JR9qEb2lnqol9ZvJVEiNpQ,944
33
33
  pinexq_client/job_management/hcos/jobsroot_hco.py,sha256=P8C5CaIEq_bkh6YgJBuQEp45Cc4fHuU5lYuWNdgtISY,3853
34
34
  pinexq_client/job_management/hcos/output_dataslot_hco.py,sha256=zxpo-fI9eHcp_pMKcf2l-gRoPHX1RzQO53auHMRB_T8,1549
35
- pinexq_client/job_management/hcos/processing_step_hco.py,sha256=ll4uGQInAs8mdJCvuvyk8K7mxPNK6lSpDzPBza3mCo0,5506
35
+ pinexq_client/job_management/hcos/processing_step_hco.py,sha256=JH9s3ifchYvpwzPGkDon9AyDnjdZZiSCu1Xtgd2jKnY,6131
36
36
  pinexq_client/job_management/hcos/processing_step_used_tags_hco.py,sha256=90-2IWlYTcYX62NzmAPnmcUCwMDhmMZyBrNs_G3yigs,1067
37
37
  pinexq_client/job_management/hcos/processingstep_query_result_hco.py,sha256=YcCgigKvOIggILixgaEbmnM23FlkjCgxnhZC2Eh98dY,3817
38
38
  pinexq_client/job_management/hcos/processingsteproot_hco.py,sha256=gQBGMWEKX5kq_HwC7-eEjjfAm6oYTuIxGX5kKw_GKUM,3684
@@ -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=iuAKRXdW_Mxo0i3HsBfEzhJJZUKkNe3qs4gLW-ge1PU,63
46
- pinexq_client/job_management/model/open_api_generated.py,sha256=YRIAYtp09i-r8FfIsNYxqeANXTVroFtvRVQ6AdSkdbw,31799
46
+ pinexq_client/job_management/model/open_api_generated.py,sha256=myC0ZkqYAYBmd2A9rwD3kmTbkJlskAQ0H7Z5pgejaq0,32233
47
47
  pinexq_client/job_management/model/sirenentities.py,sha256=MUjgByEwzQcrduCEJuNK85uAj8SLTdyaiKmnlB44h3E,3430
48
48
  pinexq_client/job_management/tool/__init__.py,sha256=zPobd-hQyANHzC0-TjJG91z9XrewvE54ZJ6VViymW5M,128
49
49
  pinexq_client/job_management/tool/job.py,sha256=77veL0dnqFpu8kz9Yr9xR9nG1YqZ2chCXWWLmnXm6kI,24962
50
50
  pinexq_client/job_management/tool/job_group.py,sha256=TNWw46UDyP2gmArhbzMAqpHa6lS2hzwarLIrxxpOMnk,4822
51
- pinexq_client/job_management/tool/processing_step.py,sha256=OOm36tV_N9RnJKh9WBZo_Xbmg1kb5JKh0NtNfECrNpM,10286
51
+ pinexq_client/job_management/tool/processing_step.py,sha256=LLesEbS7vaAiCoGs7MV8bnaD8bWnkK-2YTxAsyPiJFM,10796
52
52
  pinexq_client/job_management/tool/workdata.py,sha256=wRy_yfFZUJDh-hoGUuAbQaRGtPysDmEOhLwD84Fgz04,5510
53
- pinexq_client-0.9.2.20250403.1.dist-info/RECORD,,
53
+ pinexq_client-0.9.2.20250506.42.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: pdm-backend (2.4.3)
2
+ Generator: pdm-backend (2.4.4)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any