hindsight-client 0.0.13__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.
Files changed (134) hide show
  1. hindsight_client/__init__.py +26 -0
  2. hindsight_client/hindsight_client.py +432 -0
  3. hindsight_client-0.0.13.dist-info/METADATA +56 -0
  4. hindsight_client-0.0.13.dist-info/RECORD +134 -0
  5. hindsight_client-0.0.13.dist-info/WHEEL +4 -0
  6. hindsight_client_api/__init__.py +126 -0
  7. hindsight_client_api/api/__init__.py +6 -0
  8. hindsight_client_api/api/default_api.py +5976 -0
  9. hindsight_client_api/api/monitoring_api.py +281 -0
  10. hindsight_client_api/api_client.py +807 -0
  11. hindsight_client_api/api_response.py +21 -0
  12. hindsight_client_api/configuration.py +572 -0
  13. hindsight_client_api/docs/AddBackgroundRequest.md +31 -0
  14. hindsight_client_api/docs/BackgroundResponse.md +31 -0
  15. hindsight_client_api/docs/BankListItem.md +35 -0
  16. hindsight_client_api/docs/BankListResponse.md +30 -0
  17. hindsight_client_api/docs/BankProfileResponse.md +33 -0
  18. hindsight_client_api/docs/Budget.md +15 -0
  19. hindsight_client_api/docs/ChunkData.md +33 -0
  20. hindsight_client_api/docs/ChunkIncludeOptions.md +30 -0
  21. hindsight_client_api/docs/ChunkResponse.md +35 -0
  22. hindsight_client_api/docs/CreateBankRequest.md +32 -0
  23. hindsight_client_api/docs/DefaultApi.md +1569 -0
  24. hindsight_client_api/docs/DeleteResponse.md +30 -0
  25. hindsight_client_api/docs/DocumentResponse.md +36 -0
  26. hindsight_client_api/docs/EntityDetailResponse.md +36 -0
  27. hindsight_client_api/docs/EntityIncludeOptions.md +30 -0
  28. hindsight_client_api/docs/EntityListItem.md +35 -0
  29. hindsight_client_api/docs/EntityListResponse.md +30 -0
  30. hindsight_client_api/docs/EntityObservationResponse.md +31 -0
  31. hindsight_client_api/docs/EntityStateResponse.md +32 -0
  32. hindsight_client_api/docs/GraphDataResponse.md +33 -0
  33. hindsight_client_api/docs/HTTPValidationError.md +29 -0
  34. hindsight_client_api/docs/IncludeOptions.md +31 -0
  35. hindsight_client_api/docs/ListDocumentsResponse.md +33 -0
  36. hindsight_client_api/docs/ListMemoryUnitsResponse.md +33 -0
  37. hindsight_client_api/docs/MemoryItem.md +34 -0
  38. hindsight_client_api/docs/MetadataFilter.md +32 -0
  39. hindsight_client_api/docs/MonitoringApi.md +72 -0
  40. hindsight_client_api/docs/PersonalityTraits.md +35 -0
  41. hindsight_client_api/docs/RecallRequest.md +37 -0
  42. hindsight_client_api/docs/RecallResponse.md +33 -0
  43. hindsight_client_api/docs/RecallResult.md +40 -0
  44. hindsight_client_api/docs/ReflectFact.md +35 -0
  45. hindsight_client_api/docs/ReflectIncludeOptions.md +30 -0
  46. hindsight_client_api/docs/ReflectRequest.md +34 -0
  47. hindsight_client_api/docs/ReflectResponse.md +31 -0
  48. hindsight_client_api/docs/RetainRequest.md +31 -0
  49. hindsight_client_api/docs/RetainResponse.md +33 -0
  50. hindsight_client_api/docs/UpdatePersonalityRequest.md +30 -0
  51. hindsight_client_api/docs/ValidationError.md +31 -0
  52. hindsight_client_api/docs/ValidationErrorLocInner.md +28 -0
  53. hindsight_client_api/exceptions.py +219 -0
  54. hindsight_client_api/models/__init__.py +54 -0
  55. hindsight_client_api/models/add_background_request.py +89 -0
  56. hindsight_client_api/models/background_response.py +98 -0
  57. hindsight_client_api/models/bank_list_item.py +111 -0
  58. hindsight_client_api/models/bank_list_response.py +95 -0
  59. hindsight_client_api/models/bank_profile_response.py +97 -0
  60. hindsight_client_api/models/budget.py +38 -0
  61. hindsight_client_api/models/chunk_data.py +93 -0
  62. hindsight_client_api/models/chunk_include_options.py +87 -0
  63. hindsight_client_api/models/chunk_response.py +97 -0
  64. hindsight_client_api/models/create_bank_request.py +110 -0
  65. hindsight_client_api/models/delete_response.py +87 -0
  66. hindsight_client_api/models/document_response.py +104 -0
  67. hindsight_client_api/models/entity_detail_response.py +122 -0
  68. hindsight_client_api/models/entity_include_options.py +87 -0
  69. hindsight_client_api/models/entity_list_item.py +112 -0
  70. hindsight_client_api/models/entity_list_response.py +95 -0
  71. hindsight_client_api/models/entity_observation_response.py +94 -0
  72. hindsight_client_api/models/entity_state_response.py +99 -0
  73. hindsight_client_api/models/graph_data_response.py +93 -0
  74. hindsight_client_api/models/http_validation_error.py +95 -0
  75. hindsight_client_api/models/include_options.py +107 -0
  76. hindsight_client_api/models/list_documents_response.py +93 -0
  77. hindsight_client_api/models/list_memory_units_response.py +93 -0
  78. hindsight_client_api/models/memory_item.py +116 -0
  79. hindsight_client_api/models/metadata_filter.py +96 -0
  80. hindsight_client_api/models/personality_traits.py +98 -0
  81. hindsight_client_api/models/recall_request.py +129 -0
  82. hindsight_client_api/models/recall_response.py +142 -0
  83. hindsight_client_api/models/recall_result.py +152 -0
  84. hindsight_client_api/models/reflect_fact.py +122 -0
  85. hindsight_client_api/models/reflect_include_options.py +87 -0
  86. hindsight_client_api/models/reflect_request.py +118 -0
  87. hindsight_client_api/models/reflect_response.py +97 -0
  88. hindsight_client_api/models/retain_request.py +97 -0
  89. hindsight_client_api/models/retain_response.py +93 -0
  90. hindsight_client_api/models/update_personality_request.py +91 -0
  91. hindsight_client_api/models/validation_error.py +99 -0
  92. hindsight_client_api/models/validation_error_loc_inner.py +138 -0
  93. hindsight_client_api/rest.py +213 -0
  94. hindsight_client_api/test/__init__.py +0 -0
  95. hindsight_client_api/test/test_add_background_request.py +53 -0
  96. hindsight_client_api/test/test_background_response.py +53 -0
  97. hindsight_client_api/test/test_bank_list_item.py +60 -0
  98. hindsight_client_api/test/test_bank_list_response.py +68 -0
  99. hindsight_client_api/test/test_bank_profile_response.py +58 -0
  100. hindsight_client_api/test/test_budget.py +33 -0
  101. hindsight_client_api/test/test_chunk_data.py +57 -0
  102. hindsight_client_api/test/test_chunk_include_options.py +51 -0
  103. hindsight_client_api/test/test_chunk_response.py +62 -0
  104. hindsight_client_api/test/test_create_bank_request.py +53 -0
  105. hindsight_client_api/test/test_default_api.py +178 -0
  106. hindsight_client_api/test/test_delete_response.py +52 -0
  107. hindsight_client_api/test/test_document_response.py +64 -0
  108. hindsight_client_api/test/test_entity_detail_response.py +71 -0
  109. hindsight_client_api/test/test_entity_include_options.py +51 -0
  110. hindsight_client_api/test/test_entity_list_item.py +61 -0
  111. hindsight_client_api/test/test_entity_list_response.py +56 -0
  112. hindsight_client_api/test/test_entity_observation_response.py +53 -0
  113. hindsight_client_api/test/test_entity_state_response.py +64 -0
  114. hindsight_client_api/test/test_graph_data_response.py +82 -0
  115. hindsight_client_api/test/test_http_validation_error.py +58 -0
  116. hindsight_client_api/test/test_include_options.py +54 -0
  117. hindsight_client_api/test/test_list_documents_response.py +66 -0
  118. hindsight_client_api/test/test_list_memory_units_response.py +66 -0
  119. hindsight_client_api/test/test_memory_item.py +58 -0
  120. hindsight_client_api/test/test_metadata_filter.py +54 -0
  121. hindsight_client_api/test/test_monitoring_api.py +38 -0
  122. hindsight_client_api/test/test_personality_traits.py +62 -0
  123. hindsight_client_api/test/test_recall_request.py +67 -0
  124. hindsight_client_api/test/test_recall_response.py +76 -0
  125. hindsight_client_api/test/test_recall_result.py +67 -0
  126. hindsight_client_api/test/test_reflect_fact.py +57 -0
  127. hindsight_client_api/test/test_reflect_include_options.py +51 -0
  128. hindsight_client_api/test/test_reflect_request.py +59 -0
  129. hindsight_client_api/test/test_reflect_response.py +55 -0
  130. hindsight_client_api/test/test_retain_request.py +57 -0
  131. hindsight_client_api/test/test_retain_response.py +58 -0
  132. hindsight_client_api/test/test_update_personality_request.py +52 -0
  133. hindsight_client_api/test/test_validation_error.py +60 -0
  134. hindsight_client_api/test/test_validation_error_loc_inner.py +50 -0
@@ -0,0 +1,53 @@
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.entity_observation_response import EntityObservationResponse
18
+
19
+ class TestEntityObservationResponse(unittest.TestCase):
20
+ """EntityObservationResponse 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) -> EntityObservationResponse:
29
+ """Test EntityObservationResponse
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 `EntityObservationResponse`
34
+ """
35
+ model = EntityObservationResponse()
36
+ if include_optional:
37
+ return EntityObservationResponse(
38
+ text = '',
39
+ mentioned_at = ''
40
+ )
41
+ else:
42
+ return EntityObservationResponse(
43
+ text = '',
44
+ )
45
+ """
46
+
47
+ def testEntityObservationResponse(self):
48
+ """Test EntityObservationResponse"""
49
+ # inst_req_only = self.make_instance(include_optional=False)
50
+ # inst_req_and_optional = self.make_instance(include_optional=True)
51
+
52
+ if __name__ == '__main__':
53
+ unittest.main()
@@ -0,0 +1,64 @@
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.entity_state_response import EntityStateResponse
18
+
19
+ class TestEntityStateResponse(unittest.TestCase):
20
+ """EntityStateResponse 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) -> EntityStateResponse:
29
+ """Test EntityStateResponse
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 `EntityStateResponse`
34
+ """
35
+ model = EntityStateResponse()
36
+ if include_optional:
37
+ return EntityStateResponse(
38
+ entity_id = '',
39
+ canonical_name = '',
40
+ observations = [
41
+ hindsight_client_api.models.entity_observation_response.EntityObservationResponse(
42
+ text = '',
43
+ mentioned_at = '', )
44
+ ]
45
+ )
46
+ else:
47
+ return EntityStateResponse(
48
+ entity_id = '',
49
+ canonical_name = '',
50
+ observations = [
51
+ hindsight_client_api.models.entity_observation_response.EntityObservationResponse(
52
+ text = '',
53
+ mentioned_at = '', )
54
+ ],
55
+ )
56
+ """
57
+
58
+ def testEntityStateResponse(self):
59
+ """Test EntityStateResponse"""
60
+ # inst_req_only = self.make_instance(include_optional=False)
61
+ # inst_req_and_optional = self.make_instance(include_optional=True)
62
+
63
+ if __name__ == '__main__':
64
+ unittest.main()
@@ -0,0 +1,82 @@
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.graph_data_response import GraphDataResponse
18
+
19
+ class TestGraphDataResponse(unittest.TestCase):
20
+ """GraphDataResponse 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) -> GraphDataResponse:
29
+ """Test GraphDataResponse
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 `GraphDataResponse`
34
+ """
35
+ model = GraphDataResponse()
36
+ if include_optional:
37
+ return GraphDataResponse(
38
+ nodes = [
39
+ {
40
+ 'key' : null
41
+ }
42
+ ],
43
+ edges = [
44
+ {
45
+ 'key' : null
46
+ }
47
+ ],
48
+ table_rows = [
49
+ {
50
+ 'key' : null
51
+ }
52
+ ],
53
+ total_units = 56
54
+ )
55
+ else:
56
+ return GraphDataResponse(
57
+ nodes = [
58
+ {
59
+ 'key' : null
60
+ }
61
+ ],
62
+ edges = [
63
+ {
64
+ 'key' : null
65
+ }
66
+ ],
67
+ table_rows = [
68
+ {
69
+ 'key' : null
70
+ }
71
+ ],
72
+ total_units = 56,
73
+ )
74
+ """
75
+
76
+ def testGraphDataResponse(self):
77
+ """Test GraphDataResponse"""
78
+ # inst_req_only = self.make_instance(include_optional=False)
79
+ # inst_req_and_optional = self.make_instance(include_optional=True)
80
+
81
+ if __name__ == '__main__':
82
+ unittest.main()
@@ -0,0 +1,58 @@
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.http_validation_error import HTTPValidationError
18
+
19
+ class TestHTTPValidationError(unittest.TestCase):
20
+ """HTTPValidationError 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) -> HTTPValidationError:
29
+ """Test HTTPValidationError
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 `HTTPValidationError`
34
+ """
35
+ model = HTTPValidationError()
36
+ if include_optional:
37
+ return HTTPValidationError(
38
+ detail = [
39
+ hindsight_client_api.models.validation_error.ValidationError(
40
+ loc = [
41
+ null
42
+ ],
43
+ msg = '',
44
+ type = '', )
45
+ ]
46
+ )
47
+ else:
48
+ return HTTPValidationError(
49
+ )
50
+ """
51
+
52
+ def testHTTPValidationError(self):
53
+ """Test HTTPValidationError"""
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()
@@ -0,0 +1,54 @@
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.include_options import IncludeOptions
18
+
19
+ class TestIncludeOptions(unittest.TestCase):
20
+ """IncludeOptions 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) -> IncludeOptions:
29
+ """Test IncludeOptions
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 `IncludeOptions`
34
+ """
35
+ model = IncludeOptions()
36
+ if include_optional:
37
+ return IncludeOptions(
38
+ entities = hindsight_client_api.models.entity_include_options.EntityIncludeOptions(
39
+ max_tokens = 56, ),
40
+ chunks = hindsight_client_api.models.chunk_include_options.ChunkIncludeOptions(
41
+ max_tokens = 56, )
42
+ )
43
+ else:
44
+ return IncludeOptions(
45
+ )
46
+ """
47
+
48
+ def testIncludeOptions(self):
49
+ """Test IncludeOptions"""
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,66 @@
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.list_documents_response import ListDocumentsResponse
18
+
19
+ class TestListDocumentsResponse(unittest.TestCase):
20
+ """ListDocumentsResponse 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) -> ListDocumentsResponse:
29
+ """Test ListDocumentsResponse
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 `ListDocumentsResponse`
34
+ """
35
+ model = ListDocumentsResponse()
36
+ if include_optional:
37
+ return ListDocumentsResponse(
38
+ items = [
39
+ {
40
+ 'key' : null
41
+ }
42
+ ],
43
+ total = 56,
44
+ limit = 56,
45
+ offset = 56
46
+ )
47
+ else:
48
+ return ListDocumentsResponse(
49
+ items = [
50
+ {
51
+ 'key' : null
52
+ }
53
+ ],
54
+ total = 56,
55
+ limit = 56,
56
+ offset = 56,
57
+ )
58
+ """
59
+
60
+ def testListDocumentsResponse(self):
61
+ """Test ListDocumentsResponse"""
62
+ # inst_req_only = self.make_instance(include_optional=False)
63
+ # inst_req_and_optional = self.make_instance(include_optional=True)
64
+
65
+ if __name__ == '__main__':
66
+ unittest.main()
@@ -0,0 +1,66 @@
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.list_memory_units_response import ListMemoryUnitsResponse
18
+
19
+ class TestListMemoryUnitsResponse(unittest.TestCase):
20
+ """ListMemoryUnitsResponse 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) -> ListMemoryUnitsResponse:
29
+ """Test ListMemoryUnitsResponse
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 `ListMemoryUnitsResponse`
34
+ """
35
+ model = ListMemoryUnitsResponse()
36
+ if include_optional:
37
+ return ListMemoryUnitsResponse(
38
+ items = [
39
+ {
40
+ 'key' : null
41
+ }
42
+ ],
43
+ total = 56,
44
+ limit = 56,
45
+ offset = 56
46
+ )
47
+ else:
48
+ return ListMemoryUnitsResponse(
49
+ items = [
50
+ {
51
+ 'key' : null
52
+ }
53
+ ],
54
+ total = 56,
55
+ limit = 56,
56
+ offset = 56,
57
+ )
58
+ """
59
+
60
+ def testListMemoryUnitsResponse(self):
61
+ """Test ListMemoryUnitsResponse"""
62
+ # inst_req_only = self.make_instance(include_optional=False)
63
+ # inst_req_and_optional = self.make_instance(include_optional=True)
64
+
65
+ if __name__ == '__main__':
66
+ unittest.main()
@@ -0,0 +1,58 @@
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.memory_item import MemoryItem
18
+
19
+ class TestMemoryItem(unittest.TestCase):
20
+ """MemoryItem 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) -> MemoryItem:
29
+ """Test MemoryItem
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 `MemoryItem`
34
+ """
35
+ model = MemoryItem()
36
+ if include_optional:
37
+ return MemoryItem(
38
+ content = '',
39
+ timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
40
+ context = '',
41
+ metadata = {
42
+ 'key' : ''
43
+ },
44
+ document_id = ''
45
+ )
46
+ else:
47
+ return MemoryItem(
48
+ content = '',
49
+ )
50
+ """
51
+
52
+ def testMemoryItem(self):
53
+ """Test MemoryItem"""
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()
@@ -0,0 +1,54 @@
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.metadata_filter import MetadataFilter
18
+
19
+ class TestMetadataFilter(unittest.TestCase):
20
+ """MetadataFilter 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) -> MetadataFilter:
29
+ """Test MetadataFilter
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 `MetadataFilter`
34
+ """
35
+ model = MetadataFilter()
36
+ if include_optional:
37
+ return MetadataFilter(
38
+ key = '',
39
+ value = '',
40
+ match_unset = True
41
+ )
42
+ else:
43
+ return MetadataFilter(
44
+ key = '',
45
+ )
46
+ """
47
+
48
+ def testMetadataFilter(self):
49
+ """Test MetadataFilter"""
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,38 @@
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.api.monitoring_api import MonitoringApi
18
+
19
+
20
+ class TestMonitoringApi(unittest.IsolatedAsyncioTestCase):
21
+ """MonitoringApi unit test stubs"""
22
+
23
+ async def asyncSetUp(self) -> None:
24
+ self.api = MonitoringApi()
25
+
26
+ async def asyncTearDown(self) -> None:
27
+ await self.api.api_client.close()
28
+
29
+ async def test_metrics_endpoint_metrics_get(self) -> None:
30
+ """Test case for metrics_endpoint_metrics_get
31
+
32
+ Prometheus metrics endpoint
33
+ """
34
+ pass
35
+
36
+
37
+ if __name__ == '__main__':
38
+ unittest.main()
@@ -0,0 +1,62 @@
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.personality_traits import PersonalityTraits
18
+
19
+ class TestPersonalityTraits(unittest.TestCase):
20
+ """PersonalityTraits 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) -> PersonalityTraits:
29
+ """Test PersonalityTraits
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 `PersonalityTraits`
34
+ """
35
+ model = PersonalityTraits()
36
+ if include_optional:
37
+ return PersonalityTraits(
38
+ openness = 0.0,
39
+ conscientiousness = 0.0,
40
+ extraversion = 0.0,
41
+ agreeableness = 0.0,
42
+ neuroticism = 0.0,
43
+ bias_strength = 0.0
44
+ )
45
+ else:
46
+ return PersonalityTraits(
47
+ openness = 0.0,
48
+ conscientiousness = 0.0,
49
+ extraversion = 0.0,
50
+ agreeableness = 0.0,
51
+ neuroticism = 0.0,
52
+ bias_strength = 0.0,
53
+ )
54
+ """
55
+
56
+ def testPersonalityTraits(self):
57
+ """Test PersonalityTraits"""
58
+ # inst_req_only = self.make_instance(include_optional=False)
59
+ # inst_req_and_optional = self.make_instance(include_optional=True)
60
+
61
+ if __name__ == '__main__':
62
+ unittest.main()