perceptic-core-client 0.39.0__py3-none-any.whl → 0.50.3__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/__init__.py +51 -0
- perceptic_core_client/api/__init__.py +1 -0
- perceptic_core_client/api/tag_resource_api.py +100 -836
- perceptic_core_client/api/uri_resource_api.py +818 -207
- perceptic_core_client/api/user_resource_api.py +308 -1
- perceptic_core_client/api/worker_resource_api.py +1100 -211
- perceptic_core_client/api/worker_resource_v3_api.py +1477 -0
- perceptic_core_client/api_client.py +8 -5
- perceptic_core_client/configuration.py +6 -2
- perceptic_core_client/models/__init__.py +25 -1
- perceptic_core_client/models/citation_metadata_api_dto.py +0 -15
- perceptic_core_client/models/connection_settings_api_dto.py +0 -10
- perceptic_core_client/models/create_folder_response_v2.py +89 -0
- perceptic_core_client/models/file_system_api_dto.py +0 -10
- perceptic_core_client/models/file_system_root_metadata_api_dto.py +0 -10
- perceptic_core_client/models/get_run_event_rating_response.py +91 -0
- perceptic_core_client/models/get_worker_events_v2_response.py +101 -0
- perceptic_core_client/models/get_worker_events_v3_response.py +89 -0
- perceptic_core_client/models/info_event1.py +94 -0
- perceptic_core_client/models/ingest_event_request.py +94 -0
- perceptic_core_client/models/ingest_event_response.py +89 -0
- perceptic_core_client/models/ingest_stream_event_request.py +89 -0
- perceptic_core_client/models/list_users_response.py +104 -0
- perceptic_core_client/models/persistence_mode.py +38 -0
- perceptic_core_client/models/post_rating_request.py +89 -0
- perceptic_core_client/models/post_run_event_rating_response.py +91 -0
- perceptic_core_client/models/post_worker_run_request1.py +87 -0
- perceptic_core_client/models/post_worker_run_response1.py +87 -0
- perceptic_core_client/models/progress_event1.py +94 -0
- perceptic_core_client/models/rating_dto_worker_run_event_rating_secondary_id.py +108 -0
- perceptic_core_client/models/run_status_dto.py +1 -0
- perceptic_core_client/models/schedule_trigger.py +0 -15
- perceptic_core_client/models/upload_resource_response_v2.py +91 -0
- perceptic_core_client/models/user_input_event.py +101 -0
- perceptic_core_client/models/user_request_for_input_event.py +108 -0
- perceptic_core_client/models/worker_event.py +0 -15
- perceptic_core_client/models/worker_event_v2.py +193 -0
- perceptic_core_client/models/worker_run_event_rating_secondary_id.py +89 -0
- perceptic_core_client/models/worker_stream_event_v2.py +90 -0
- perceptic_core_client/models/worker_v2_next_page_token.py +89 -0
- perceptic_core_client/models/workflow_status_response.py +89 -0
- perceptic_core_client/test/test_create_folder_response_v2.py +52 -0
- perceptic_core_client/test/test_get_run_event_rating_response.py +57 -0
- perceptic_core_client/test/test_get_worker_events_v2_response.py +56 -0
- perceptic_core_client/test/test_get_worker_events_v3_response.py +54 -0
- perceptic_core_client/test/test_info_event1.py +54 -0
- perceptic_core_client/test/test_ingest_event_request.py +56 -0
- perceptic_core_client/test/test_ingest_event_response.py +52 -0
- perceptic_core_client/test/test_ingest_stream_event_request.py +52 -0
- perceptic_core_client/test/test_list_users_response.py +60 -0
- perceptic_core_client/test/test_persistence_mode.py +33 -0
- perceptic_core_client/test/test_post_rating_request.py +52 -0
- perceptic_core_client/test/test_post_run_event_rating_response.py +57 -0
- perceptic_core_client/test/test_post_worker_run_request1.py +51 -0
- perceptic_core_client/test/test_post_worker_run_response1.py +51 -0
- perceptic_core_client/test/test_progress_event.py +1 -1
- perceptic_core_client/test/test_progress_event1.py +54 -0
- perceptic_core_client/test/test_rating_dto_worker_run_event_rating_secondary_id.py +56 -0
- perceptic_core_client/test/test_request_for_input_event.py +1 -1
- perceptic_core_client/test/test_tag_resource_api.py +0 -21
- perceptic_core_client/test/test_upload_resource_response_v2.py +53 -0
- perceptic_core_client/test/test_uri_resource_api.py +14 -0
- perceptic_core_client/test/test_user_input_event.py +55 -0
- perceptic_core_client/test/test_user_request_for_input_event.py +56 -0
- perceptic_core_client/test/test_user_resource_api.py +7 -0
- perceptic_core_client/test/test_worker_event.py +2 -2
- perceptic_core_client/test/test_worker_event_v2.py +59 -0
- perceptic_core_client/test/test_worker_resource_api.py +21 -0
- perceptic_core_client/test/test_worker_resource_v3_api.py +66 -0
- perceptic_core_client/test/test_worker_run_event_rating_secondary_id.py +53 -0
- perceptic_core_client/test/test_worker_stream_event_v2.py +52 -0
- perceptic_core_client/test/test_worker_v2_next_page_token.py +52 -0
- perceptic_core_client/test/test_workflow_status_response.py +52 -0
- {perceptic_core_client-0.39.0.dist-info → perceptic_core_client-0.50.3.dist-info}/METADATA +1 -1
- {perceptic_core_client-0.39.0.dist-info → perceptic_core_client-0.50.3.dist-info}/RECORD +77 -27
- {perceptic_core_client-0.39.0.dist-info → perceptic_core_client-0.50.3.dist-info}/WHEEL +0 -0
- {perceptic_core_client-0.39.0.dist-info → perceptic_core_client-0.50.3.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.create_folder_response_v2 import CreateFolderResponseV2
|
|
18
|
+
|
|
19
|
+
class TestCreateFolderResponseV2(unittest.TestCase):
|
|
20
|
+
"""CreateFolderResponseV2 unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> CreateFolderResponseV2:
|
|
29
|
+
"""Test CreateFolderResponseV2
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `CreateFolderResponseV2`
|
|
34
|
+
"""
|
|
35
|
+
model = CreateFolderResponseV2()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return CreateFolderResponseV2(
|
|
38
|
+
resource_id = '',
|
|
39
|
+
uri = ''
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return CreateFolderResponseV2(
|
|
43
|
+
)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def testCreateFolderResponseV2(self):
|
|
47
|
+
"""Test CreateFolderResponseV2"""
|
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
50
|
+
|
|
51
|
+
if __name__ == '__main__':
|
|
52
|
+
unittest.main()
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.get_run_event_rating_response import GetRunEventRatingResponse
|
|
18
|
+
|
|
19
|
+
class TestGetRunEventRatingResponse(unittest.TestCase):
|
|
20
|
+
"""GetRunEventRatingResponse unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> GetRunEventRatingResponse:
|
|
29
|
+
"""Test GetRunEventRatingResponse
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `GetRunEventRatingResponse`
|
|
34
|
+
"""
|
|
35
|
+
model = GetRunEventRatingResponse()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return GetRunEventRatingResponse(
|
|
38
|
+
rating = perceptic_core_client.models.rating_dto_worker_run_event_rating_secondary_id.RatingDtoWorkerRunEventRatingSecondaryId(
|
|
39
|
+
id = '62ECB020-8429-30cc-01FF-CCfeEe150AC3',
|
|
40
|
+
grade = 1.337,
|
|
41
|
+
written_feedback = '',
|
|
42
|
+
secondary_id = perceptic_core_client.models.worker_run_event_rating_secondary_id.WorkerRunEventRatingSecondaryId(
|
|
43
|
+
run_rid = '',
|
|
44
|
+
sequence = 56, ), )
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
return GetRunEventRatingResponse(
|
|
48
|
+
)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def testGetRunEventRatingResponse(self):
|
|
52
|
+
"""Test GetRunEventRatingResponse"""
|
|
53
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
54
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
55
|
+
|
|
56
|
+
if __name__ == '__main__':
|
|
57
|
+
unittest.main()
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.get_worker_events_v2_response import GetWorkerEventsV2Response
|
|
18
|
+
|
|
19
|
+
class TestGetWorkerEventsV2Response(unittest.TestCase):
|
|
20
|
+
"""GetWorkerEventsV2Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> GetWorkerEventsV2Response:
|
|
29
|
+
"""Test GetWorkerEventsV2Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `GetWorkerEventsV2Response`
|
|
34
|
+
"""
|
|
35
|
+
model = GetWorkerEventsV2Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return GetWorkerEventsV2Response(
|
|
38
|
+
events = [
|
|
39
|
+
perceptic_core_client.models.worker_event_v2.WorkerEventV2()
|
|
40
|
+
],
|
|
41
|
+
next_page_token = perceptic_core_client.models.worker_v2_next_page_token.WorkerV2NextPageToken(
|
|
42
|
+
offset_for_worker_run_events = 56,
|
|
43
|
+
offset_for_input_request_events = 56, )
|
|
44
|
+
)
|
|
45
|
+
else:
|
|
46
|
+
return GetWorkerEventsV2Response(
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
def testGetWorkerEventsV2Response(self):
|
|
51
|
+
"""Test GetWorkerEventsV2Response"""
|
|
52
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
53
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
54
|
+
|
|
55
|
+
if __name__ == '__main__':
|
|
56
|
+
unittest.main()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.get_worker_events_v3_response import GetWorkerEventsV3Response
|
|
18
|
+
|
|
19
|
+
class TestGetWorkerEventsV3Response(unittest.TestCase):
|
|
20
|
+
"""GetWorkerEventsV3Response unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> GetWorkerEventsV3Response:
|
|
29
|
+
"""Test GetWorkerEventsV3Response
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `GetWorkerEventsV3Response`
|
|
34
|
+
"""
|
|
35
|
+
model = GetWorkerEventsV3Response()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return GetWorkerEventsV3Response(
|
|
38
|
+
events = [
|
|
39
|
+
perceptic_core_client.models.worker_event_v3.WorkerEventV3()
|
|
40
|
+
],
|
|
41
|
+
next_page_token = ''
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return GetWorkerEventsV3Response(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testGetWorkerEventsV3Response(self):
|
|
49
|
+
"""Test GetWorkerEventsV3Response"""
|
|
50
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
51
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
52
|
+
|
|
53
|
+
if __name__ == '__main__':
|
|
54
|
+
unittest.main()
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.info_event1 import InfoEvent1
|
|
18
|
+
|
|
19
|
+
class TestInfoEvent1(unittest.TestCase):
|
|
20
|
+
"""InfoEvent1 unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> InfoEvent1:
|
|
29
|
+
"""Test InfoEvent1
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `InfoEvent1`
|
|
34
|
+
"""
|
|
35
|
+
model = InfoEvent1()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return InfoEvent1(
|
|
38
|
+
sequence = 56,
|
|
39
|
+
type_of = '',
|
|
40
|
+
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
|
41
|
+
type = ''
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return InfoEvent1(
|
|
45
|
+
)
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def testInfoEvent1(self):
|
|
49
|
+
"""Test InfoEvent1"""
|
|
50
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
51
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
52
|
+
|
|
53
|
+
if __name__ == '__main__':
|
|
54
|
+
unittest.main()
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.ingest_event_request import IngestEventRequest
|
|
18
|
+
|
|
19
|
+
class TestIngestEventRequest(unittest.TestCase):
|
|
20
|
+
"""IngestEventRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> IngestEventRequest:
|
|
29
|
+
"""Test IngestEventRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `IngestEventRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = IngestEventRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return IngestEventRequest(
|
|
38
|
+
event_type = 'thought',
|
|
39
|
+
payload = None,
|
|
40
|
+
persistence_mode = 'PERSISTENT',
|
|
41
|
+
persistence_mode_or_default = 'PERSISTENT'
|
|
42
|
+
)
|
|
43
|
+
else:
|
|
44
|
+
return IngestEventRequest(
|
|
45
|
+
event_type = 'thought',
|
|
46
|
+
payload = None,
|
|
47
|
+
)
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
def testIngestEventRequest(self):
|
|
51
|
+
"""Test IngestEventRequest"""
|
|
52
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
53
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
54
|
+
|
|
55
|
+
if __name__ == '__main__':
|
|
56
|
+
unittest.main()
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.ingest_event_response import IngestEventResponse
|
|
18
|
+
|
|
19
|
+
class TestIngestEventResponse(unittest.TestCase):
|
|
20
|
+
"""IngestEventResponse unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> IngestEventResponse:
|
|
29
|
+
"""Test IngestEventResponse
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `IngestEventResponse`
|
|
34
|
+
"""
|
|
35
|
+
model = IngestEventResponse()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return IngestEventResponse(
|
|
38
|
+
run_rid = '',
|
|
39
|
+
sequence = 56
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return IngestEventResponse(
|
|
43
|
+
)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def testIngestEventResponse(self):
|
|
47
|
+
"""Test IngestEventResponse"""
|
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
50
|
+
|
|
51
|
+
if __name__ == '__main__':
|
|
52
|
+
unittest.main()
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.ingest_stream_event_request import IngestStreamEventRequest
|
|
18
|
+
|
|
19
|
+
class TestIngestStreamEventRequest(unittest.TestCase):
|
|
20
|
+
"""IngestStreamEventRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> IngestStreamEventRequest:
|
|
29
|
+
"""Test IngestStreamEventRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `IngestStreamEventRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = IngestStreamEventRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return IngestStreamEventRequest(
|
|
38
|
+
event_type = '',
|
|
39
|
+
payload = None
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return IngestStreamEventRequest(
|
|
43
|
+
)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def testIngestStreamEventRequest(self):
|
|
47
|
+
"""Test IngestStreamEventRequest"""
|
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
50
|
+
|
|
51
|
+
if __name__ == '__main__':
|
|
52
|
+
unittest.main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.list_users_response import ListUsersResponse
|
|
18
|
+
|
|
19
|
+
class TestListUsersResponse(unittest.TestCase):
|
|
20
|
+
"""ListUsersResponse unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> ListUsersResponse:
|
|
29
|
+
"""Test ListUsersResponse
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `ListUsersResponse`
|
|
34
|
+
"""
|
|
35
|
+
model = ListUsersResponse()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return ListUsersResponse(
|
|
38
|
+
users = [
|
|
39
|
+
perceptic_core_client.models.user_info_response.UserInfoResponse(
|
|
40
|
+
user_id = '',
|
|
41
|
+
username = '',
|
|
42
|
+
email = '',
|
|
43
|
+
first_name = '',
|
|
44
|
+
last_name = '', )
|
|
45
|
+
],
|
|
46
|
+
total_count = 56,
|
|
47
|
+
next_offset = 56
|
|
48
|
+
)
|
|
49
|
+
else:
|
|
50
|
+
return ListUsersResponse(
|
|
51
|
+
)
|
|
52
|
+
"""
|
|
53
|
+
|
|
54
|
+
def testListUsersResponse(self):
|
|
55
|
+
"""Test ListUsersResponse"""
|
|
56
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
57
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
58
|
+
|
|
59
|
+
if __name__ == '__main__':
|
|
60
|
+
unittest.main()
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.persistence_mode import PersistenceMode
|
|
18
|
+
|
|
19
|
+
class TestPersistenceMode(unittest.TestCase):
|
|
20
|
+
"""PersistenceMode unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def testPersistenceMode(self):
|
|
29
|
+
"""Test PersistenceMode"""
|
|
30
|
+
# inst = PersistenceMode()
|
|
31
|
+
|
|
32
|
+
if __name__ == '__main__':
|
|
33
|
+
unittest.main()
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.post_rating_request import PostRatingRequest
|
|
18
|
+
|
|
19
|
+
class TestPostRatingRequest(unittest.TestCase):
|
|
20
|
+
"""PostRatingRequest unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> PostRatingRequest:
|
|
29
|
+
"""Test PostRatingRequest
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `PostRatingRequest`
|
|
34
|
+
"""
|
|
35
|
+
model = PostRatingRequest()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return PostRatingRequest(
|
|
38
|
+
grade = 1.337,
|
|
39
|
+
written_feedback = ''
|
|
40
|
+
)
|
|
41
|
+
else:
|
|
42
|
+
return PostRatingRequest(
|
|
43
|
+
)
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def testPostRatingRequest(self):
|
|
47
|
+
"""Test PostRatingRequest"""
|
|
48
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
49
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
50
|
+
|
|
51
|
+
if __name__ == '__main__':
|
|
52
|
+
unittest.main()
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
perceptic-core-server API
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 0.0.1-SNAPSHOT
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
import unittest
|
|
16
|
+
|
|
17
|
+
from perceptic_core_client.models.post_run_event_rating_response import PostRunEventRatingResponse
|
|
18
|
+
|
|
19
|
+
class TestPostRunEventRatingResponse(unittest.TestCase):
|
|
20
|
+
"""PostRunEventRatingResponse unit test stubs"""
|
|
21
|
+
|
|
22
|
+
def setUp(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
def tearDown(self):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
def make_instance(self, include_optional) -> PostRunEventRatingResponse:
|
|
29
|
+
"""Test PostRunEventRatingResponse
|
|
30
|
+
include_optional is a boolean, when False only required
|
|
31
|
+
params are included, when True both required and
|
|
32
|
+
optional params are included """
|
|
33
|
+
# uncomment below to create an instance of `PostRunEventRatingResponse`
|
|
34
|
+
"""
|
|
35
|
+
model = PostRunEventRatingResponse()
|
|
36
|
+
if include_optional:
|
|
37
|
+
return PostRunEventRatingResponse(
|
|
38
|
+
rating = perceptic_core_client.models.rating_dto_worker_run_event_rating_secondary_id.RatingDtoWorkerRunEventRatingSecondaryId(
|
|
39
|
+
id = '62ECB020-8429-30cc-01FF-CCfeEe150AC3',
|
|
40
|
+
grade = 1.337,
|
|
41
|
+
written_feedback = '',
|
|
42
|
+
secondary_id = perceptic_core_client.models.worker_run_event_rating_secondary_id.WorkerRunEventRatingSecondaryId(
|
|
43
|
+
run_rid = '',
|
|
44
|
+
sequence = 56, ), )
|
|
45
|
+
)
|
|
46
|
+
else:
|
|
47
|
+
return PostRunEventRatingResponse(
|
|
48
|
+
)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def testPostRunEventRatingResponse(self):
|
|
52
|
+
"""Test PostRunEventRatingResponse"""
|
|
53
|
+
# inst_req_only = self.make_instance(include_optional=False)
|
|
54
|
+
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
55
|
+
|
|
56
|
+
if __name__ == '__main__':
|
|
57
|
+
unittest.main()
|