perceptic-core-client 0.37.0__py3-none-any.whl → 0.39.0__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.
- perceptic_core_client/models/request_for_input_event.py +8 -1
- perceptic_core_client/test/test_request_for_input_event.py +1 -0
- perceptic_core_client/test/test_worker_event.py +2 -1
- {perceptic_core_client-0.37.0.dist-info → perceptic_core_client-0.39.0.dist-info}/METADATA +1 -1
- {perceptic_core_client-0.37.0.dist-info → perceptic_core_client-0.39.0.dist-info}/RECORD +7 -7
- {perceptic_core_client-0.37.0.dist-info → perceptic_core_client-0.39.0.dist-info}/WHEEL +0 -0
- {perceptic_core_client-0.37.0.dist-info → perceptic_core_client-0.39.0.dist-info}/top_level.txt +0 -0
|
@@ -30,9 +30,10 @@ class RequestForInputEvent(BaseModel):
|
|
|
30
30
|
sequence: Optional[StrictInt] = None
|
|
31
31
|
requested_data: Optional[Dict[str, Any]] = Field(default=None, alias="requestedData")
|
|
32
32
|
provided_data: Optional[Dict[str, Any]] = Field(default=None, alias="providedData")
|
|
33
|
+
attribution: Optional[StrictStr] = None
|
|
33
34
|
created_at: Optional[datetime] = Field(default=None, alias="createdAt")
|
|
34
35
|
type: Optional[StrictStr] = None
|
|
35
|
-
__properties: ClassVar[List[str]] = ["sequence", "requestedData", "providedData", "createdAt", "type"]
|
|
36
|
+
__properties: ClassVar[List[str]] = ["sequence", "requestedData", "providedData", "attribution", "createdAt", "type"]
|
|
36
37
|
|
|
37
38
|
model_config = ConfigDict(
|
|
38
39
|
populate_by_name=True,
|
|
@@ -78,6 +79,11 @@ class RequestForInputEvent(BaseModel):
|
|
|
78
79
|
if self.provided_data is None and "provided_data" in self.model_fields_set:
|
|
79
80
|
_dict['providedData'] = None
|
|
80
81
|
|
|
82
|
+
# set to None if attribution (nullable) is None
|
|
83
|
+
# and model_fields_set contains the field
|
|
84
|
+
if self.attribution is None and "attribution" in self.model_fields_set:
|
|
85
|
+
_dict['attribution'] = None
|
|
86
|
+
|
|
81
87
|
return _dict
|
|
82
88
|
|
|
83
89
|
@classmethod
|
|
@@ -93,6 +99,7 @@ class RequestForInputEvent(BaseModel):
|
|
|
93
99
|
"sequence": obj.get("sequence"),
|
|
94
100
|
"requestedData": obj.get("requestedData"),
|
|
95
101
|
"providedData": obj.get("providedData"),
|
|
102
|
+
"attribution": obj.get("attribution"),
|
|
96
103
|
"createdAt": obj.get("createdAt"),
|
|
97
104
|
"type": obj.get("type")
|
|
98
105
|
})
|
|
@@ -41,7 +41,8 @@ class TestWorkerEvent(unittest.TestCase):
|
|
|
41
41
|
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
|
42
42
|
payload = perceptic_core_client.models.payload.payload(),
|
|
43
43
|
requested_data = perceptic_core_client.models.requested_data.requestedData(),
|
|
44
|
-
provided_data = perceptic_core_client.models.provided_data.providedData()
|
|
44
|
+
provided_data = perceptic_core_client.models.provided_data.providedData(),
|
|
45
|
+
attribution = ''
|
|
45
46
|
)
|
|
46
47
|
else:
|
|
47
48
|
return WorkerEvent(
|
|
@@ -89,7 +89,7 @@ perceptic_core_client/models/post_worker_run_response.py,sha256=zOpSem6C2F8of_AM
|
|
|
89
89
|
perceptic_core_client/models/progress_event.py,sha256=5iAGv-0wpu39PDBG1062TEXMQkjf7PIxo6El9hUnPOo,2903
|
|
90
90
|
perceptic_core_client/models/remote_file_system_api_dto.py,sha256=P770rxN2fZZqPDEPEeMFpcKcDiWQHmxVr_9TzBgroz4,3463
|
|
91
91
|
perceptic_core_client/models/remove_tag_from_file_request.py,sha256=u_liteh8V2JVMOeBYuTW6rpxaasZhFUESn7L_ZBcCMQ,2613
|
|
92
|
-
perceptic_core_client/models/request_for_input_event.py,sha256
|
|
92
|
+
perceptic_core_client/models/request_for_input_event.py,sha256=-jJjXA_17GqUWupDb_kaOag7ZXyQBsl-BsCH9XhJifY,3722
|
|
93
93
|
perceptic_core_client/models/resource_entry_dto.py,sha256=dbRIgLIzUVNls7D62ANS5e79w_hctiOagLXnWVpTIRs,3033
|
|
94
94
|
perceptic_core_client/models/resource_identifier.py,sha256=ODJVfR3FSO8nnICHCUwpVGynjv57jRy9cRaWjepndxo,3474
|
|
95
95
|
perceptic_core_client/models/resource_metadata_dto.py,sha256=u81AjXtYtpOQ0ku4Bb8vl_zVK6J-1i9F82LPaqqS1W4,4444
|
|
@@ -191,7 +191,7 @@ perceptic_core_client/test/test_post_worker_run_response.py,sha256=rG0x1tul3NFPp
|
|
|
191
191
|
perceptic_core_client/test/test_progress_event.py,sha256=f3iVzbhJCR7qhgNpmAYfUl-jNz3fWoAsq9trduuDY44,1573
|
|
192
192
|
perceptic_core_client/test/test_remote_file_system_api_dto.py,sha256=z99dSsSJu-rZg1CaO49PxoJIsvA9HD8fOajXD45prRM,1760
|
|
193
193
|
perceptic_core_client/test/test_remove_tag_from_file_request.py,sha256=axXB7hXXAgVbJJaaWSdZnjlIo6abQ6U2Y3vfDdNWBhI,1541
|
|
194
|
-
perceptic_core_client/test/test_request_for_input_event.py,sha256=
|
|
194
|
+
perceptic_core_client/test/test_request_for_input_event.py,sha256=PeBHUnJBAg7rDiy9O441Fu2LVqcIoMYIfZPtjgz0RQM,1738
|
|
195
195
|
perceptic_core_client/test/test_resource_entry_dto.py,sha256=YhUIrTim9PD-cezsLsJrU4MZfU6A0R4F8PyucrS5Zuc,2071
|
|
196
196
|
perceptic_core_client/test/test_resource_identifier.py,sha256=Sxk9OBxw0C2fhRKsHJKI1fPFDEO0KLX6OEYGFWi79NE,1702
|
|
197
197
|
perceptic_core_client/test/test_resource_metadata_dto.py,sha256=92GnTbx8hWsec8RHzfnuasY38ZFvM8HmSQIQXN6tSoo,1909
|
|
@@ -214,10 +214,10 @@ perceptic_core_client/test/test_uri_resource_api.py,sha256=DkUIfx6Fp59t_rDZRDm3L
|
|
|
214
214
|
perceptic_core_client/test/test_user_info_response.py,sha256=UpY4zDbL1STHqrssuuELMkMnRCC5lx4d-OoJXblcM7M,1597
|
|
215
215
|
perceptic_core_client/test/test_user_resource_api.py,sha256=Avy-2ageU3Ovr2grQc3qvWH7hMJLARDq-ctyfycYVX4,985
|
|
216
216
|
perceptic_core_client/test/test_web_page_citation_metadata_api_dto.py,sha256=JLJZagxObwPPVsGajoUu_ADHI0o6Kq6hNywEB83hyy0,1632
|
|
217
|
-
perceptic_core_client/test/test_worker_event.py,sha256=
|
|
217
|
+
perceptic_core_client/test/test_worker_event.py,sha256=Kj9yWYB3r_a2GKlvhnqAmlZYz0frnYpsoDgwWpcNgak,1840
|
|
218
218
|
perceptic_core_client/test/test_worker_metadata_dto.py,sha256=lbvKWvnwcKEfHHh9diRevdceGEJwgv3INVphqaxiAlw,1674
|
|
219
219
|
perceptic_core_client/test/test_worker_resource_api.py,sha256=qRsv72RCDrc--gqIDNs0sRDBc8p1BKGNmGuPdkCGwXs,1981
|
|
220
|
-
perceptic_core_client-0.
|
|
221
|
-
perceptic_core_client-0.
|
|
222
|
-
perceptic_core_client-0.
|
|
223
|
-
perceptic_core_client-0.
|
|
220
|
+
perceptic_core_client-0.39.0.dist-info/METADATA,sha256=AlhFUdZbGu59NZrXiBy6rjkagSIRUyGRexL0EtqMO4U,3605
|
|
221
|
+
perceptic_core_client-0.39.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
222
|
+
perceptic_core_client-0.39.0.dist-info/top_level.txt,sha256=wWF5_isd4ZU0SRPPhKKAxW4kJ9hYIBgLbcWn_y-c1tg,22
|
|
223
|
+
perceptic_core_client-0.39.0.dist-info/RECORD,,
|
|
File without changes
|
{perceptic_core_client-0.37.0.dist-info → perceptic_core_client-0.39.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|