hindsight-client 0.1.13__py3-none-any.whl → 0.1.15__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.
- hindsight_client/hindsight_client.py +11 -10
- {hindsight_client-0.1.13.dist-info → hindsight_client-0.1.15.dist-info}/METADATA +1 -1
- hindsight_client-0.1.15.dist-info/RECORD +109 -0
- hindsight_client_api/__init__.py +21 -3
- hindsight_client_api/api/__init__.py +5 -1
- hindsight_client_api/api/banks_api.py +2045 -0
- hindsight_client_api/api/documents_api.py +1234 -0
- hindsight_client_api/api/entities_api.py +921 -0
- hindsight_client_api/api/memory_api.py +1901 -0
- hindsight_client_api/api/monitoring_api.py +1 -1
- hindsight_client_api/api/operations_api.py +610 -0
- hindsight_client_api/api_client.py +1 -1
- hindsight_client_api/configuration.py +2 -2
- hindsight_client_api/docs/BankListItem.md +2 -2
- hindsight_client_api/docs/BankStatsResponse.md +39 -0
- hindsight_client_api/docs/BanksApi.md +517 -0
- hindsight_client_api/docs/CancelOperationResponse.md +32 -0
- hindsight_client_api/docs/DeleteDocumentResponse.md +33 -0
- hindsight_client_api/docs/DeleteResponse.md +2 -0
- hindsight_client_api/docs/DocumentsApi.md +313 -0
- hindsight_client_api/docs/EntitiesApi.md +230 -0
- hindsight_client_api/docs/MemoryApi.md +499 -0
- hindsight_client_api/docs/OperationResponse.md +36 -0
- hindsight_client_api/docs/OperationsApi.md +154 -0
- hindsight_client_api/docs/OperationsListResponse.md +31 -0
- hindsight_client_api/exceptions.py +1 -1
- hindsight_client_api/models/__init__.py +6 -1
- hindsight_client_api/models/add_background_request.py +1 -1
- hindsight_client_api/models/background_response.py +1 -1
- hindsight_client_api/models/bank_list_item.py +13 -3
- hindsight_client_api/models/bank_list_response.py +1 -1
- hindsight_client_api/models/bank_profile_response.py +1 -1
- hindsight_client_api/models/bank_stats_response.py +105 -0
- hindsight_client_api/models/budget.py +1 -1
- hindsight_client_api/models/cancel_operation_response.py +91 -0
- hindsight_client_api/models/chunk_data.py +1 -1
- hindsight_client_api/models/chunk_include_options.py +1 -1
- hindsight_client_api/models/chunk_response.py +1 -1
- hindsight_client_api/models/create_bank_request.py +1 -1
- hindsight_client_api/models/delete_document_response.py +93 -0
- hindsight_client_api/models/delete_response.py +19 -5
- hindsight_client_api/models/disposition_traits.py +1 -1
- hindsight_client_api/models/document_response.py +1 -1
- hindsight_client_api/models/entity_detail_response.py +1 -1
- hindsight_client_api/models/entity_include_options.py +1 -1
- hindsight_client_api/models/entity_list_item.py +1 -1
- hindsight_client_api/models/entity_list_response.py +1 -1
- hindsight_client_api/models/entity_observation_response.py +1 -1
- hindsight_client_api/models/entity_state_response.py +1 -1
- hindsight_client_api/models/graph_data_response.py +1 -1
- hindsight_client_api/models/http_validation_error.py +1 -1
- hindsight_client_api/models/include_options.py +1 -1
- hindsight_client_api/models/list_documents_response.py +1 -1
- hindsight_client_api/models/list_memory_units_response.py +1 -1
- hindsight_client_api/models/memory_item.py +1 -1
- hindsight_client_api/models/operation_response.py +109 -0
- hindsight_client_api/models/operations_list_response.py +97 -0
- hindsight_client_api/models/recall_request.py +1 -1
- hindsight_client_api/models/recall_response.py +1 -1
- hindsight_client_api/models/recall_result.py +1 -1
- hindsight_client_api/models/reflect_fact.py +1 -1
- hindsight_client_api/models/reflect_include_options.py +1 -1
- hindsight_client_api/models/reflect_request.py +1 -1
- hindsight_client_api/models/reflect_response.py +1 -1
- hindsight_client_api/models/retain_request.py +1 -1
- hindsight_client_api/models/retain_response.py +1 -1
- hindsight_client_api/models/update_disposition_request.py +1 -1
- hindsight_client_api/models/validation_error.py +1 -1
- hindsight_client_api/models/validation_error_loc_inner.py +1 -1
- hindsight_client_api/rest.py +1 -1
- hindsight_client-0.1.13.dist-info/RECORD +0 -131
- hindsight_client_api/api/default_api.py +0 -5976
- hindsight_client_api/docs/DefaultApi.md +0 -1568
- hindsight_client_api/test/__init__.py +0 -0
- hindsight_client_api/test/test_add_background_request.py +0 -53
- hindsight_client_api/test/test_background_response.py +0 -53
- hindsight_client_api/test/test_bank_list_item.py +0 -60
- hindsight_client_api/test/test_bank_list_response.py +0 -68
- hindsight_client_api/test/test_bank_profile_response.py +0 -58
- hindsight_client_api/test/test_budget.py +0 -33
- hindsight_client_api/test/test_chunk_data.py +0 -57
- hindsight_client_api/test/test_chunk_include_options.py +0 -51
- hindsight_client_api/test/test_chunk_response.py +0 -62
- hindsight_client_api/test/test_create_bank_request.py +0 -53
- hindsight_client_api/test/test_default_api.py +0 -178
- hindsight_client_api/test/test_delete_response.py +0 -52
- hindsight_client_api/test/test_disposition_traits.py +0 -56
- hindsight_client_api/test/test_document_response.py +0 -64
- hindsight_client_api/test/test_entity_detail_response.py +0 -71
- hindsight_client_api/test/test_entity_include_options.py +0 -51
- hindsight_client_api/test/test_entity_list_item.py +0 -61
- hindsight_client_api/test/test_entity_list_response.py +0 -56
- hindsight_client_api/test/test_entity_observation_response.py +0 -53
- hindsight_client_api/test/test_entity_state_response.py +0 -64
- hindsight_client_api/test/test_graph_data_response.py +0 -82
- hindsight_client_api/test/test_http_validation_error.py +0 -58
- hindsight_client_api/test/test_include_options.py +0 -54
- hindsight_client_api/test/test_list_documents_response.py +0 -66
- hindsight_client_api/test/test_list_memory_units_response.py +0 -66
- hindsight_client_api/test/test_memory_item.py +0 -58
- hindsight_client_api/test/test_monitoring_api.py +0 -45
- hindsight_client_api/test/test_recall_request.py +0 -64
- hindsight_client_api/test/test_recall_response.py +0 -76
- hindsight_client_api/test/test_recall_result.py +0 -67
- hindsight_client_api/test/test_reflect_fact.py +0 -57
- hindsight_client_api/test/test_reflect_include_options.py +0 -51
- hindsight_client_api/test/test_reflect_request.py +0 -56
- hindsight_client_api/test/test_reflect_response.py +0 -55
- hindsight_client_api/test/test_retain_request.py +0 -57
- hindsight_client_api/test/test_retain_response.py +0 -58
- hindsight_client_api/test/test_update_disposition_request.py +0 -52
- hindsight_client_api/test/test_validation_error.py +0 -60
- hindsight_client_api/test/test_validation_error_loc_inner.py +0 -50
- {hindsight_client-0.1.13.dist-info → hindsight_client-0.1.15.dist-info}/WHEEL +0 -0
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.recall_result import RecallResult
|
|
18
|
-
|
|
19
|
-
class TestRecallResult(unittest.TestCase):
|
|
20
|
-
"""RecallResult 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) -> RecallResult:
|
|
29
|
-
"""Test RecallResult
|
|
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 `RecallResult`
|
|
34
|
-
"""
|
|
35
|
-
model = RecallResult()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return RecallResult(
|
|
38
|
-
id = '',
|
|
39
|
-
text = '',
|
|
40
|
-
type = '',
|
|
41
|
-
entities = [
|
|
42
|
-
''
|
|
43
|
-
],
|
|
44
|
-
context = '',
|
|
45
|
-
occurred_start = '',
|
|
46
|
-
occurred_end = '',
|
|
47
|
-
mentioned_at = '',
|
|
48
|
-
document_id = '',
|
|
49
|
-
metadata = {
|
|
50
|
-
'key' : ''
|
|
51
|
-
},
|
|
52
|
-
chunk_id = ''
|
|
53
|
-
)
|
|
54
|
-
else:
|
|
55
|
-
return RecallResult(
|
|
56
|
-
id = '',
|
|
57
|
-
text = '',
|
|
58
|
-
)
|
|
59
|
-
"""
|
|
60
|
-
|
|
61
|
-
def testRecallResult(self):
|
|
62
|
-
"""Test RecallResult"""
|
|
63
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
|
64
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
65
|
-
|
|
66
|
-
if __name__ == '__main__':
|
|
67
|
-
unittest.main()
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.reflect_fact import ReflectFact
|
|
18
|
-
|
|
19
|
-
class TestReflectFact(unittest.TestCase):
|
|
20
|
-
"""ReflectFact 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) -> ReflectFact:
|
|
29
|
-
"""Test ReflectFact
|
|
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 `ReflectFact`
|
|
34
|
-
"""
|
|
35
|
-
model = ReflectFact()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ReflectFact(
|
|
38
|
-
id = '',
|
|
39
|
-
text = '',
|
|
40
|
-
type = '',
|
|
41
|
-
context = '',
|
|
42
|
-
occurred_start = '',
|
|
43
|
-
occurred_end = ''
|
|
44
|
-
)
|
|
45
|
-
else:
|
|
46
|
-
return ReflectFact(
|
|
47
|
-
text = '',
|
|
48
|
-
)
|
|
49
|
-
"""
|
|
50
|
-
|
|
51
|
-
def testReflectFact(self):
|
|
52
|
-
"""Test ReflectFact"""
|
|
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()
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.reflect_include_options import ReflectIncludeOptions
|
|
18
|
-
|
|
19
|
-
class TestReflectIncludeOptions(unittest.TestCase):
|
|
20
|
-
"""ReflectIncludeOptions 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) -> ReflectIncludeOptions:
|
|
29
|
-
"""Test ReflectIncludeOptions
|
|
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 `ReflectIncludeOptions`
|
|
34
|
-
"""
|
|
35
|
-
model = ReflectIncludeOptions()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ReflectIncludeOptions(
|
|
38
|
-
facts = hindsight_client_api.models.facts_include_options.FactsIncludeOptions()
|
|
39
|
-
)
|
|
40
|
-
else:
|
|
41
|
-
return ReflectIncludeOptions(
|
|
42
|
-
)
|
|
43
|
-
"""
|
|
44
|
-
|
|
45
|
-
def testReflectIncludeOptions(self):
|
|
46
|
-
"""Test ReflectIncludeOptions"""
|
|
47
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
|
48
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
49
|
-
|
|
50
|
-
if __name__ == '__main__':
|
|
51
|
-
unittest.main()
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.reflect_request import ReflectRequest
|
|
18
|
-
|
|
19
|
-
class TestReflectRequest(unittest.TestCase):
|
|
20
|
-
"""ReflectRequest 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) -> ReflectRequest:
|
|
29
|
-
"""Test ReflectRequest
|
|
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 `ReflectRequest`
|
|
34
|
-
"""
|
|
35
|
-
model = ReflectRequest()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ReflectRequest(
|
|
38
|
-
query = '',
|
|
39
|
-
budget = 'low',
|
|
40
|
-
context = '',
|
|
41
|
-
include = hindsight_client_api.models.reflect_include_options.ReflectIncludeOptions(
|
|
42
|
-
facts = hindsight_client_api.models.facts_include_options.FactsIncludeOptions(), )
|
|
43
|
-
)
|
|
44
|
-
else:
|
|
45
|
-
return ReflectRequest(
|
|
46
|
-
query = '',
|
|
47
|
-
)
|
|
48
|
-
"""
|
|
49
|
-
|
|
50
|
-
def testReflectRequest(self):
|
|
51
|
-
"""Test ReflectRequest"""
|
|
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()
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.reflect_response import ReflectResponse
|
|
18
|
-
|
|
19
|
-
class TestReflectResponse(unittest.TestCase):
|
|
20
|
-
"""ReflectResponse 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) -> ReflectResponse:
|
|
29
|
-
"""Test ReflectResponse
|
|
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 `ReflectResponse`
|
|
34
|
-
"""
|
|
35
|
-
model = ReflectResponse()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ReflectResponse(
|
|
38
|
-
text = '',
|
|
39
|
-
based_on = [
|
|
40
|
-
{context=healthcare discussion, id=123e4567-e89b-12d3-a456-426614174000, occurred_end=2024-01-15T10:30:00Z, occurred_start=2024-01-15T10:30:00Z, text=AI is used in healthcare, type=world}
|
|
41
|
-
]
|
|
42
|
-
)
|
|
43
|
-
else:
|
|
44
|
-
return ReflectResponse(
|
|
45
|
-
text = '',
|
|
46
|
-
)
|
|
47
|
-
"""
|
|
48
|
-
|
|
49
|
-
def testReflectResponse(self):
|
|
50
|
-
"""Test ReflectResponse"""
|
|
51
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
|
52
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
53
|
-
|
|
54
|
-
if __name__ == '__main__':
|
|
55
|
-
unittest.main()
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.retain_request import RetainRequest
|
|
18
|
-
|
|
19
|
-
class TestRetainRequest(unittest.TestCase):
|
|
20
|
-
"""RetainRequest 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) -> RetainRequest:
|
|
29
|
-
"""Test RetainRequest
|
|
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 `RetainRequest`
|
|
34
|
-
"""
|
|
35
|
-
model = RetainRequest()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return RetainRequest(
|
|
38
|
-
items = [
|
|
39
|
-
{content=Alice mentioned she's working on a new ML model, context=team meeting, document_id=meeting_notes_2024_01_15, metadata={channel=engineering, source=slack}, timestamp=2024-01-15T10:30:00Z}
|
|
40
|
-
],
|
|
41
|
-
var_async = True
|
|
42
|
-
)
|
|
43
|
-
else:
|
|
44
|
-
return RetainRequest(
|
|
45
|
-
items = [
|
|
46
|
-
{content=Alice mentioned she's working on a new ML model, context=team meeting, document_id=meeting_notes_2024_01_15, metadata={channel=engineering, source=slack}, timestamp=2024-01-15T10:30:00Z}
|
|
47
|
-
],
|
|
48
|
-
)
|
|
49
|
-
"""
|
|
50
|
-
|
|
51
|
-
def testRetainRequest(self):
|
|
52
|
-
"""Test RetainRequest"""
|
|
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()
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.retain_response import RetainResponse
|
|
18
|
-
|
|
19
|
-
class TestRetainResponse(unittest.TestCase):
|
|
20
|
-
"""RetainResponse 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) -> RetainResponse:
|
|
29
|
-
"""Test RetainResponse
|
|
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 `RetainResponse`
|
|
34
|
-
"""
|
|
35
|
-
model = RetainResponse()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return RetainResponse(
|
|
38
|
-
success = True,
|
|
39
|
-
bank_id = '',
|
|
40
|
-
items_count = 56,
|
|
41
|
-
var_async = True
|
|
42
|
-
)
|
|
43
|
-
else:
|
|
44
|
-
return RetainResponse(
|
|
45
|
-
success = True,
|
|
46
|
-
bank_id = '',
|
|
47
|
-
items_count = 56,
|
|
48
|
-
var_async = True,
|
|
49
|
-
)
|
|
50
|
-
"""
|
|
51
|
-
|
|
52
|
-
def testRetainResponse(self):
|
|
53
|
-
"""Test RetainResponse"""
|
|
54
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
|
55
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
56
|
-
|
|
57
|
-
if __name__ == '__main__':
|
|
58
|
-
unittest.main()
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.update_disposition_request import UpdateDispositionRequest
|
|
18
|
-
|
|
19
|
-
class TestUpdateDispositionRequest(unittest.TestCase):
|
|
20
|
-
"""UpdateDispositionRequest 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) -> UpdateDispositionRequest:
|
|
29
|
-
"""Test UpdateDispositionRequest
|
|
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 `UpdateDispositionRequest`
|
|
34
|
-
"""
|
|
35
|
-
model = UpdateDispositionRequest()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return UpdateDispositionRequest(
|
|
38
|
-
disposition = {empathy=3, literalism=3, skepticism=3}
|
|
39
|
-
)
|
|
40
|
-
else:
|
|
41
|
-
return UpdateDispositionRequest(
|
|
42
|
-
disposition = {empathy=3, literalism=3, skepticism=3},
|
|
43
|
-
)
|
|
44
|
-
"""
|
|
45
|
-
|
|
46
|
-
def testUpdateDispositionRequest(self):
|
|
47
|
-
"""Test UpdateDispositionRequest"""
|
|
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()
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.validation_error import ValidationError
|
|
18
|
-
|
|
19
|
-
class TestValidationError(unittest.TestCase):
|
|
20
|
-
"""ValidationError 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) -> ValidationError:
|
|
29
|
-
"""Test ValidationError
|
|
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 `ValidationError`
|
|
34
|
-
"""
|
|
35
|
-
model = ValidationError()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ValidationError(
|
|
38
|
-
loc = [
|
|
39
|
-
null
|
|
40
|
-
],
|
|
41
|
-
msg = '',
|
|
42
|
-
type = ''
|
|
43
|
-
)
|
|
44
|
-
else:
|
|
45
|
-
return ValidationError(
|
|
46
|
-
loc = [
|
|
47
|
-
null
|
|
48
|
-
],
|
|
49
|
-
msg = '',
|
|
50
|
-
type = '',
|
|
51
|
-
)
|
|
52
|
-
"""
|
|
53
|
-
|
|
54
|
-
def testValidationError(self):
|
|
55
|
-
"""Test ValidationError"""
|
|
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()
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Hindsight HTTP API
|
|
5
|
-
|
|
6
|
-
HTTP API for Hindsight
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 1.0.0
|
|
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 hindsight_client_api.models.validation_error_loc_inner import ValidationErrorLocInner
|
|
18
|
-
|
|
19
|
-
class TestValidationErrorLocInner(unittest.TestCase):
|
|
20
|
-
"""ValidationErrorLocInner 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) -> ValidationErrorLocInner:
|
|
29
|
-
"""Test ValidationErrorLocInner
|
|
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 `ValidationErrorLocInner`
|
|
34
|
-
"""
|
|
35
|
-
model = ValidationErrorLocInner()
|
|
36
|
-
if include_optional:
|
|
37
|
-
return ValidationErrorLocInner(
|
|
38
|
-
)
|
|
39
|
-
else:
|
|
40
|
-
return ValidationErrorLocInner(
|
|
41
|
-
)
|
|
42
|
-
"""
|
|
43
|
-
|
|
44
|
-
def testValidationErrorLocInner(self):
|
|
45
|
-
"""Test ValidationErrorLocInner"""
|
|
46
|
-
# inst_req_only = self.make_instance(include_optional=False)
|
|
47
|
-
# inst_req_and_optional = self.make_instance(include_optional=True)
|
|
48
|
-
|
|
49
|
-
if __name__ == '__main__':
|
|
50
|
-
unittest.main()
|
|
File without changes
|