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,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.chunk_response import ChunkResponse
18
+
19
+ class TestChunkResponse(unittest.TestCase):
20
+ """ChunkResponse 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) -> ChunkResponse:
29
+ """Test ChunkResponse
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 `ChunkResponse`
34
+ """
35
+ model = ChunkResponse()
36
+ if include_optional:
37
+ return ChunkResponse(
38
+ chunk_id = '',
39
+ document_id = '',
40
+ bank_id = '',
41
+ chunk_index = 56,
42
+ chunk_text = '',
43
+ created_at = ''
44
+ )
45
+ else:
46
+ return ChunkResponse(
47
+ chunk_id = '',
48
+ document_id = '',
49
+ bank_id = '',
50
+ chunk_index = 56,
51
+ chunk_text = '',
52
+ created_at = '',
53
+ )
54
+ """
55
+
56
+ def testChunkResponse(self):
57
+ """Test ChunkResponse"""
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()
@@ -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.create_bank_request import CreateBankRequest
18
+
19
+ class TestCreateBankRequest(unittest.TestCase):
20
+ """CreateBankRequest 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) -> CreateBankRequest:
29
+ """Test CreateBankRequest
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 `CreateBankRequest`
34
+ """
35
+ model = CreateBankRequest()
36
+ if include_optional:
37
+ return CreateBankRequest(
38
+ name = '',
39
+ personality = {agreeableness=0.7, bias_strength=0.7, conscientiousness=0.6, extraversion=0.5, neuroticism=0.3, openness=0.8},
40
+ background = ''
41
+ )
42
+ else:
43
+ return CreateBankRequest(
44
+ )
45
+ """
46
+
47
+ def testCreateBankRequest(self):
48
+ """Test CreateBankRequest"""
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,178 @@
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.default_api import DefaultApi
18
+
19
+
20
+ class TestDefaultApi(unittest.IsolatedAsyncioTestCase):
21
+ """DefaultApi unit test stubs"""
22
+
23
+ async def asyncSetUp(self) -> None:
24
+ self.api = DefaultApi()
25
+
26
+ async def asyncTearDown(self) -> None:
27
+ await self.api.api_client.close()
28
+
29
+ async def test_add_bank_background(self) -> None:
30
+ """Test case for add_bank_background
31
+
32
+ Add/merge memory bank background
33
+ """
34
+ pass
35
+
36
+ async def test_cancel_operation(self) -> None:
37
+ """Test case for cancel_operation
38
+
39
+ Cancel a pending async operation
40
+ """
41
+ pass
42
+
43
+ async def test_clear_bank_memories(self) -> None:
44
+ """Test case for clear_bank_memories
45
+
46
+ Clear memory bank memories
47
+ """
48
+ pass
49
+
50
+ async def test_create_or_update_bank(self) -> None:
51
+ """Test case for create_or_update_bank
52
+
53
+ Create or update memory bank
54
+ """
55
+ pass
56
+
57
+ async def test_delete_document(self) -> None:
58
+ """Test case for delete_document
59
+
60
+ Delete a document
61
+ """
62
+ pass
63
+
64
+ async def test_get_agent_stats(self) -> None:
65
+ """Test case for get_agent_stats
66
+
67
+ Get statistics for memory bank
68
+ """
69
+ pass
70
+
71
+ async def test_get_bank_profile(self) -> None:
72
+ """Test case for get_bank_profile
73
+
74
+ Get memory bank profile
75
+ """
76
+ pass
77
+
78
+ async def test_get_chunk(self) -> None:
79
+ """Test case for get_chunk
80
+
81
+ Get chunk details
82
+ """
83
+ pass
84
+
85
+ async def test_get_document(self) -> None:
86
+ """Test case for get_document
87
+
88
+ Get document details
89
+ """
90
+ pass
91
+
92
+ async def test_get_entity(self) -> None:
93
+ """Test case for get_entity
94
+
95
+ Get entity details
96
+ """
97
+ pass
98
+
99
+ async def test_get_graph(self) -> None:
100
+ """Test case for get_graph
101
+
102
+ Get memory graph data
103
+ """
104
+ pass
105
+
106
+ async def test_list_banks(self) -> None:
107
+ """Test case for list_banks
108
+
109
+ List all memory banks
110
+ """
111
+ pass
112
+
113
+ async def test_list_documents(self) -> None:
114
+ """Test case for list_documents
115
+
116
+ List documents
117
+ """
118
+ pass
119
+
120
+ async def test_list_entities(self) -> None:
121
+ """Test case for list_entities
122
+
123
+ List entities
124
+ """
125
+ pass
126
+
127
+ async def test_list_memories(self) -> None:
128
+ """Test case for list_memories
129
+
130
+ List memory units
131
+ """
132
+ pass
133
+
134
+ async def test_list_operations(self) -> None:
135
+ """Test case for list_operations
136
+
137
+ List async operations
138
+ """
139
+ pass
140
+
141
+ async def test_recall_memories(self) -> None:
142
+ """Test case for recall_memories
143
+
144
+ Recall memory
145
+ """
146
+ pass
147
+
148
+ async def test_reflect(self) -> None:
149
+ """Test case for reflect
150
+
151
+ Reflect and generate answer
152
+ """
153
+ pass
154
+
155
+ async def test_regenerate_entity_observations(self) -> None:
156
+ """Test case for regenerate_entity_observations
157
+
158
+ Regenerate entity observations
159
+ """
160
+ pass
161
+
162
+ async def test_retain_memories(self) -> None:
163
+ """Test case for retain_memories
164
+
165
+ Retain memories
166
+ """
167
+ pass
168
+
169
+ async def test_update_bank_personality(self) -> None:
170
+ """Test case for update_bank_personality
171
+
172
+ Update memory bank personality
173
+ """
174
+ pass
175
+
176
+
177
+ if __name__ == '__main__':
178
+ unittest.main()
@@ -0,0 +1,52 @@
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.delete_response import DeleteResponse
18
+
19
+ class TestDeleteResponse(unittest.TestCase):
20
+ """DeleteResponse 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) -> DeleteResponse:
29
+ """Test DeleteResponse
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 `DeleteResponse`
34
+ """
35
+ model = DeleteResponse()
36
+ if include_optional:
37
+ return DeleteResponse(
38
+ success = True
39
+ )
40
+ else:
41
+ return DeleteResponse(
42
+ success = True,
43
+ )
44
+ """
45
+
46
+ def testDeleteResponse(self):
47
+ """Test DeleteResponse"""
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,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.document_response import DocumentResponse
18
+
19
+ class TestDocumentResponse(unittest.TestCase):
20
+ """DocumentResponse 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) -> DocumentResponse:
29
+ """Test DocumentResponse
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 `DocumentResponse`
34
+ """
35
+ model = DocumentResponse()
36
+ if include_optional:
37
+ return DocumentResponse(
38
+ id = '',
39
+ bank_id = '',
40
+ original_text = '',
41
+ content_hash = '',
42
+ created_at = '',
43
+ updated_at = '',
44
+ memory_unit_count = 56
45
+ )
46
+ else:
47
+ return DocumentResponse(
48
+ id = '',
49
+ bank_id = '',
50
+ original_text = '',
51
+ content_hash = '',
52
+ created_at = '',
53
+ updated_at = '',
54
+ memory_unit_count = 56,
55
+ )
56
+ """
57
+
58
+ def testDocumentResponse(self):
59
+ """Test DocumentResponse"""
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,71 @@
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_detail_response import EntityDetailResponse
18
+
19
+ class TestEntityDetailResponse(unittest.TestCase):
20
+ """EntityDetailResponse 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) -> EntityDetailResponse:
29
+ """Test EntityDetailResponse
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 `EntityDetailResponse`
34
+ """
35
+ model = EntityDetailResponse()
36
+ if include_optional:
37
+ return EntityDetailResponse(
38
+ id = '',
39
+ canonical_name = '',
40
+ mention_count = 56,
41
+ first_seen = '',
42
+ last_seen = '',
43
+ metadata = {
44
+ 'key' : null
45
+ },
46
+ observations = [
47
+ hindsight_client_api.models.entity_observation_response.EntityObservationResponse(
48
+ text = '',
49
+ mentioned_at = '', )
50
+ ]
51
+ )
52
+ else:
53
+ return EntityDetailResponse(
54
+ id = '',
55
+ canonical_name = '',
56
+ mention_count = 56,
57
+ observations = [
58
+ hindsight_client_api.models.entity_observation_response.EntityObservationResponse(
59
+ text = '',
60
+ mentioned_at = '', )
61
+ ],
62
+ )
63
+ """
64
+
65
+ def testEntityDetailResponse(self):
66
+ """Test EntityDetailResponse"""
67
+ # inst_req_only = self.make_instance(include_optional=False)
68
+ # inst_req_and_optional = self.make_instance(include_optional=True)
69
+
70
+ if __name__ == '__main__':
71
+ unittest.main()
@@ -0,0 +1,51 @@
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_include_options import EntityIncludeOptions
18
+
19
+ class TestEntityIncludeOptions(unittest.TestCase):
20
+ """EntityIncludeOptions 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) -> EntityIncludeOptions:
29
+ """Test EntityIncludeOptions
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 `EntityIncludeOptions`
34
+ """
35
+ model = EntityIncludeOptions()
36
+ if include_optional:
37
+ return EntityIncludeOptions(
38
+ max_tokens = 56
39
+ )
40
+ else:
41
+ return EntityIncludeOptions(
42
+ )
43
+ """
44
+
45
+ def testEntityIncludeOptions(self):
46
+ """Test EntityIncludeOptions"""
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()
@@ -0,0 +1,61 @@
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_list_item import EntityListItem
18
+
19
+ class TestEntityListItem(unittest.TestCase):
20
+ """EntityListItem 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) -> EntityListItem:
29
+ """Test EntityListItem
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 `EntityListItem`
34
+ """
35
+ model = EntityListItem()
36
+ if include_optional:
37
+ return EntityListItem(
38
+ id = '',
39
+ canonical_name = '',
40
+ mention_count = 56,
41
+ first_seen = '',
42
+ last_seen = '',
43
+ metadata = {
44
+ 'key' : null
45
+ }
46
+ )
47
+ else:
48
+ return EntityListItem(
49
+ id = '',
50
+ canonical_name = '',
51
+ mention_count = 56,
52
+ )
53
+ """
54
+
55
+ def testEntityListItem(self):
56
+ """Test EntityListItem"""
57
+ # inst_req_only = self.make_instance(include_optional=False)
58
+ # inst_req_and_optional = self.make_instance(include_optional=True)
59
+
60
+ if __name__ == '__main__':
61
+ unittest.main()
@@ -0,0 +1,56 @@
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_list_response import EntityListResponse
18
+
19
+ class TestEntityListResponse(unittest.TestCase):
20
+ """EntityListResponse 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) -> EntityListResponse:
29
+ """Test EntityListResponse
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 `EntityListResponse`
34
+ """
35
+ model = EntityListResponse()
36
+ if include_optional:
37
+ return EntityListResponse(
38
+ items = [
39
+ {canonical_name=John, first_seen=2024-01-15T10:30:00Z, id=123e4567-e89b-12d3-a456-426614174000, last_seen=2024-02-01T14:00:00Z, mention_count=15}
40
+ ]
41
+ )
42
+ else:
43
+ return EntityListResponse(
44
+ items = [
45
+ {canonical_name=John, first_seen=2024-01-15T10:30:00Z, id=123e4567-e89b-12d3-a456-426614174000, last_seen=2024-02-01T14:00:00Z, mention_count=15}
46
+ ],
47
+ )
48
+ """
49
+
50
+ def testEntityListResponse(self):
51
+ """Test EntityListResponse"""
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()