hindsight-client 0.2.0__py3-none-any.whl → 0.2.1__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-0.2.0.dist-info → hindsight_client-0.2.1.dist-info}/METADATA +1 -1
- hindsight_client-0.2.1.dist-info/RECORD +62 -0
- hindsight_client_api/__init__.py +58 -119
- hindsight_client_api/api_client.py +6 -13
- hindsight_client_api/configuration.py +4 -15
- hindsight_client_api/exceptions.py +2 -22
- hindsight_client_api/models/__init__.py +1 -1
- hindsight_client_api/models/entity_input.py +22 -10
- hindsight_client_api/models/memory_item.py +10 -6
- hindsight_client_api/rest.py +60 -38
- hindsight_client-0.2.0.dist-info/RECORD +0 -110
- hindsight_client_api/docs/AddBackgroundRequest.md +0 -31
- hindsight_client_api/docs/BackgroundResponse.md +0 -31
- hindsight_client_api/docs/BankListItem.md +0 -35
- hindsight_client_api/docs/BankListResponse.md +0 -30
- hindsight_client_api/docs/BankProfileResponse.md +0 -33
- hindsight_client_api/docs/BankStatsResponse.md +0 -39
- hindsight_client_api/docs/BanksApi.md +0 -517
- hindsight_client_api/docs/Budget.md +0 -15
- hindsight_client_api/docs/CancelOperationResponse.md +0 -32
- hindsight_client_api/docs/ChunkData.md +0 -33
- hindsight_client_api/docs/ChunkIncludeOptions.md +0 -30
- hindsight_client_api/docs/ChunkResponse.md +0 -35
- hindsight_client_api/docs/CreateBankRequest.md +0 -32
- hindsight_client_api/docs/DeleteDocumentResponse.md +0 -33
- hindsight_client_api/docs/DeleteResponse.md +0 -32
- hindsight_client_api/docs/DispositionTraits.md +0 -32
- hindsight_client_api/docs/DocumentResponse.md +0 -36
- hindsight_client_api/docs/DocumentsApi.md +0 -313
- hindsight_client_api/docs/EntitiesApi.md +0 -230
- hindsight_client_api/docs/EntityDetailResponse.md +0 -36
- hindsight_client_api/docs/EntityIncludeOptions.md +0 -30
- hindsight_client_api/docs/EntityListItem.md +0 -35
- hindsight_client_api/docs/EntityListResponse.md +0 -30
- hindsight_client_api/docs/EntityObservationResponse.md +0 -31
- hindsight_client_api/docs/EntityStateResponse.md +0 -32
- hindsight_client_api/docs/GraphDataResponse.md +0 -33
- hindsight_client_api/docs/HTTPValidationError.md +0 -29
- hindsight_client_api/docs/IncludeOptions.md +0 -31
- hindsight_client_api/docs/ListDocumentsResponse.md +0 -33
- hindsight_client_api/docs/ListMemoryUnitsResponse.md +0 -33
- hindsight_client_api/docs/MemoryApi.md +0 -499
- hindsight_client_api/docs/MemoryItem.md +0 -34
- hindsight_client_api/docs/MonitoringApi.md +0 -136
- hindsight_client_api/docs/OperationResponse.md +0 -36
- hindsight_client_api/docs/OperationsApi.md +0 -154
- hindsight_client_api/docs/OperationsListResponse.md +0 -31
- hindsight_client_api/docs/RecallRequest.md +0 -36
- hindsight_client_api/docs/RecallResponse.md +0 -33
- hindsight_client_api/docs/RecallResult.md +0 -40
- hindsight_client_api/docs/ReflectFact.md +0 -35
- hindsight_client_api/docs/ReflectIncludeOptions.md +0 -30
- hindsight_client_api/docs/ReflectRequest.md +0 -35
- hindsight_client_api/docs/ReflectResponse.md +0 -32
- hindsight_client_api/docs/RetainRequest.md +0 -31
- hindsight_client_api/docs/RetainResponse.md +0 -33
- hindsight_client_api/docs/UpdateDispositionRequest.md +0 -30
- hindsight_client_api/docs/ValidationError.md +0 -31
- hindsight_client_api/docs/ValidationErrorLocInner.md +0 -28
- {hindsight_client-0.2.0.dist-info → hindsight_client-0.2.1.dist-info}/WHEEL +0 -0
hindsight_client_api/rest.py
CHANGED
|
@@ -52,36 +52,75 @@ class RESTResponse(io.IOBase):
|
|
|
52
52
|
class RESTClientObject:
|
|
53
53
|
|
|
54
54
|
def __init__(self, configuration) -> None:
|
|
55
|
+
# Store configuration for deferred initialization
|
|
56
|
+
# aiohttp.TCPConnector requires a running event loop, so we defer
|
|
57
|
+
# creation until the first request (which runs in async context)
|
|
58
|
+
self._configuration = configuration
|
|
59
|
+
self._pool_manager: Optional[aiohttp.ClientSession] = None
|
|
60
|
+
self._retry_client: Optional[aiohttp_retry.RetryClient] = None
|
|
55
61
|
|
|
56
|
-
|
|
57
|
-
self.
|
|
62
|
+
self.proxy = configuration.proxy
|
|
63
|
+
self.proxy_headers = configuration.proxy_headers
|
|
64
|
+
|
|
65
|
+
def _ensure_session(self) -> None:
|
|
66
|
+
"""Create aiohttp session lazily (must be called from async context)."""
|
|
67
|
+
if self._pool_manager is not None:
|
|
68
|
+
return
|
|
69
|
+
|
|
70
|
+
configuration = self._configuration
|
|
71
|
+
maxsize = configuration.connection_pool_maxsize
|
|
58
72
|
|
|
59
|
-
|
|
60
|
-
cafile=configuration.ssl_ca_cert
|
|
61
|
-
cadata=configuration.ca_cert_data,
|
|
73
|
+
ssl_context = ssl.create_default_context(
|
|
74
|
+
cafile=configuration.ssl_ca_cert
|
|
62
75
|
)
|
|
63
76
|
if configuration.cert_file:
|
|
64
|
-
|
|
77
|
+
ssl_context.load_cert_chain(
|
|
65
78
|
configuration.cert_file, keyfile=configuration.key_file
|
|
66
79
|
)
|
|
67
80
|
|
|
68
81
|
if not configuration.verify_ssl:
|
|
69
|
-
|
|
70
|
-
|
|
82
|
+
ssl_context.check_hostname = False
|
|
83
|
+
ssl_context.verify_mode = ssl.CERT_NONE
|
|
71
84
|
|
|
72
|
-
|
|
73
|
-
|
|
85
|
+
connector = aiohttp.TCPConnector(
|
|
86
|
+
limit=maxsize,
|
|
87
|
+
ssl=ssl_context
|
|
88
|
+
)
|
|
74
89
|
|
|
75
|
-
self.
|
|
90
|
+
self._pool_manager = aiohttp.ClientSession(
|
|
91
|
+
connector=connector,
|
|
92
|
+
trust_env=True
|
|
93
|
+
)
|
|
76
94
|
|
|
77
|
-
|
|
78
|
-
|
|
95
|
+
retries = configuration.retries
|
|
96
|
+
if retries is not None:
|
|
97
|
+
self._retry_client = aiohttp_retry.RetryClient(
|
|
98
|
+
client_session=self._pool_manager,
|
|
99
|
+
retry_options=aiohttp_retry.ExponentialRetry(
|
|
100
|
+
attempts=retries,
|
|
101
|
+
factor=2.0,
|
|
102
|
+
start_timeout=0.1,
|
|
103
|
+
max_timeout=120.0
|
|
104
|
+
)
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def pool_manager(self) -> aiohttp.ClientSession:
|
|
109
|
+
"""Get the pool manager, initializing if needed."""
|
|
110
|
+
self._ensure_session()
|
|
111
|
+
return self._pool_manager
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def retry_client(self) -> Optional[aiohttp_retry.RetryClient]:
|
|
115
|
+
"""Get the retry client, initializing if needed."""
|
|
116
|
+
self._ensure_session()
|
|
117
|
+
return self._retry_client
|
|
79
118
|
|
|
80
|
-
async def close(self)
|
|
81
|
-
if self.
|
|
82
|
-
await self.
|
|
83
|
-
if self.
|
|
84
|
-
await self.
|
|
119
|
+
async def close(self):
|
|
120
|
+
if self._pool_manager is not None:
|
|
121
|
+
await self._pool_manager.close()
|
|
122
|
+
if self._retry_client is not None:
|
|
123
|
+
await self._retry_client.close()
|
|
85
124
|
|
|
86
125
|
async def request(
|
|
87
126
|
self,
|
|
@@ -186,27 +225,10 @@ class RESTClientObject:
|
|
|
186
225
|
raise ApiException(status=0, reason=msg)
|
|
187
226
|
|
|
188
227
|
pool_manager: Union[aiohttp.ClientSession, aiohttp_retry.RetryClient]
|
|
189
|
-
|
|
190
|
-
# https pool manager
|
|
191
|
-
if self.pool_manager is None:
|
|
192
|
-
self.pool_manager = aiohttp.ClientSession(
|
|
193
|
-
connector=aiohttp.TCPConnector(limit=self.maxsize, ssl=self.ssl_context),
|
|
194
|
-
trust_env=True,
|
|
195
|
-
)
|
|
196
|
-
pool_manager = self.pool_manager
|
|
197
|
-
|
|
198
|
-
if self.retries is not None and method in ALLOW_RETRY_METHODS:
|
|
199
|
-
if self.retry_client is None:
|
|
200
|
-
self.retry_client = aiohttp_retry.RetryClient(
|
|
201
|
-
client_session=self.pool_manager,
|
|
202
|
-
retry_options=aiohttp_retry.ExponentialRetry(
|
|
203
|
-
attempts=self.retries,
|
|
204
|
-
factor=2.0,
|
|
205
|
-
start_timeout=0.1,
|
|
206
|
-
max_timeout=120.0
|
|
207
|
-
)
|
|
208
|
-
)
|
|
228
|
+
if self.retry_client is not None and method in ALLOW_RETRY_METHODS:
|
|
209
229
|
pool_manager = self.retry_client
|
|
230
|
+
else:
|
|
231
|
+
pool_manager = self.pool_manager
|
|
210
232
|
|
|
211
233
|
r = await pool_manager.request(**args)
|
|
212
234
|
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
hindsight_client/__init__.py,sha256=PyDJ4UVKmtRN5OeBs0-rl-tUtqS8OoX53qvejKGC3JU,3114
|
|
2
|
-
hindsight_client/hindsight_client.py,sha256=FzlKL3HsoOvyYRipe4sKnZUJ-FWHrNe86fkAavPPSZA,16172
|
|
3
|
-
hindsight_client_api/__init__.py,sha256=5PKjxuRIBdYzBm_35NF_B583xiI5TAlbxmTTKkF60j0,7004
|
|
4
|
-
hindsight_client_api/api_client.py,sha256=6Q0Hdx1h4U549-Bfk9ckwSlIdF27arfLMMQsGeoyR98,27860
|
|
5
|
-
hindsight_client_api/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
hindsight_client_api/configuration.py,sha256=HJVm0OTS-ShvzbNjhlB7P_zFpZSCI2UVAMgxHZGsGxY,17787
|
|
7
|
-
hindsight_client_api/exceptions.py,sha256=YkyzFWcoSnqgQ1_Zb0KcfdzzC09amaPMNeQJee0VbAM,6470
|
|
8
|
-
hindsight_client_api/rest.py,sha256=MZjIq4Rp21cNayqnI6SC9aP8K4DjsEcPPebHl2Y6nCM,7225
|
|
9
|
-
hindsight_client_api/api/__init__.py,sha256=Kn3AGORXpRNUKhh0v-I9-8BoZYGgVxhzIQ1_suO261w,420
|
|
10
|
-
hindsight_client_api/api/banks_api.py,sha256=Vk607GRBbRz_Wwr59z7iOSsz-VwY5JRtjawY7fruOBU,79646
|
|
11
|
-
hindsight_client_api/api/documents_api.py,sha256=F890v_gYJgbbaqE760jSpTEzT1fVBJ8Lk0Zo-H0ueiQ,46778
|
|
12
|
-
hindsight_client_api/api/entities_api.py,sha256=QGw4UBbQueXMWG5zx9AD30SuRxDqUaQWpLbFAXClU3k,35098
|
|
13
|
-
hindsight_client_api/api/memory_api.py,sha256=aJmZe253m8sL1dJB8HKYPyGDbE5j6JJi3T-rPDPWYbQ,77697
|
|
14
|
-
hindsight_client_api/api/monitoring_api.py,sha256=pt_jMV8GN6xpxX-iqk-FjrlihXLuygCKCXxg9ksEMcE,19807
|
|
15
|
-
hindsight_client_api/api/operations_api.py,sha256=C-ABeir4C-fz7mbN9_uDGqhVReA9OzsuvC0YYJdWlNo,23249
|
|
16
|
-
hindsight_client_api/docs/AddBackgroundRequest.md,sha256=kGqmmpNVKwddWU8vQi8rrFCU7duFEDYwBLclPOlS9yw,1214
|
|
17
|
-
hindsight_client_api/docs/BackgroundResponse.md,sha256=VAn0Kz5hj8BCqzeb_tHFL1H-YC6ePi6QrChWR1sPlc0,1061
|
|
18
|
-
hindsight_client_api/docs/BankListItem.md,sha256=QhNR5gBXj6zIFPWYZYAuWDsM6jnB9dN6JAQt8HkWaUQ,1136
|
|
19
|
-
hindsight_client_api/docs/BankListResponse.md,sha256=20McKN_iVmyOFzQBGOGo-a0D7P2YJTeh31GJna1P6J8,989
|
|
20
|
-
hindsight_client_api/docs/BankProfileResponse.md,sha256=QsB-nP0gaAitMKxZlzliIqHEra_9gUYqzTi5ib-rMG8,1117
|
|
21
|
-
hindsight_client_api/docs/BankStatsResponse.md,sha256=ArJZQnudHPprX_VHAdAgBcdfO6EB84Uh7MubUgIDYBE,1362
|
|
22
|
-
hindsight_client_api/docs/BanksApi.md,sha256=kCuYVmRAEpfqfV5RvlfJ6L7QbJ9VQWP1VVTG3i1jYCY,16607
|
|
23
|
-
hindsight_client_api/docs/Budget.md,sha256=UMCVLms95l0XATPyK4VcTQoeGQjRv6FsnaKZ547s0Ow,309
|
|
24
|
-
hindsight_client_api/docs/CancelOperationResponse.md,sha256=Fy7PDYGywE3txFbBEGye5HPuPGcjJrNnYFtQrROZZak,1118
|
|
25
|
-
hindsight_client_api/docs/ChunkData.md,sha256=8HaU0DkJnIcVayGQc52noa-QxoM_lckzfX0p3B0cVsg,1021
|
|
26
|
-
hindsight_client_api/docs/ChunkIncludeOptions.md,sha256=zPqCLDkW7flyLjJdhrBnh97zm8Y7WTs-kkaYI1xK9G0,1088
|
|
27
|
-
hindsight_client_api/docs/ChunkResponse.md,sha256=6qZwJfZATMT2dD8ML8IDJ7eSwF-8bmuKz2pLGU1UYPE,1068
|
|
28
|
-
hindsight_client_api/docs/CreateBankRequest.md,sha256=YaJoRl-vBdee48YN-1OjWrmIaenKWKGfWkTM13ljqGE,1107
|
|
29
|
-
hindsight_client_api/docs/DeleteDocumentResponse.md,sha256=PzP5Rgi8iYBrJYBJO1f_ovVi_210h47jyY4uYAg6JUk,1144
|
|
30
|
-
hindsight_client_api/docs/DeleteResponse.md,sha256=lJLOnSd5QxiFN349Y2EJXL5roRDRhj58llyLcrPi-w4,1010
|
|
31
|
-
hindsight_client_api/docs/DispositionTraits.md,sha256=soMPj6hVeJxOGoec9fewHzEGWLoghBhBtw4MVU5HFgw,1271
|
|
32
|
-
hindsight_client_api/docs/DocumentResponse.md,sha256=ruwb2llltuJLZ3KoVJ-zwF3C7ELjpjaUNet9OK-4JKQ,1145
|
|
33
|
-
hindsight_client_api/docs/DocumentsApi.md,sha256=-fiHgyRSrHnI7Jq56bMsRIWGKkRTxWv_ugBjBWabCY0,9690
|
|
34
|
-
hindsight_client_api/docs/EntitiesApi.md,sha256=snMl6SoujNoBIwamltK3Xi_Dsx1S60DEqqIRg9nsuRU,7331
|
|
35
|
-
hindsight_client_api/docs/EntityDetailResponse.md,sha256=Ea6SGkeMCZWzhOGyzJ5nP7PU7a6SBit6GL8gWnNyOvA,1308
|
|
36
|
-
hindsight_client_api/docs/EntityIncludeOptions.md,sha256=ldI3RHhT8ub11bc1hmwqCEy4XGzJrFq08NGfEXy7p_Y,1100
|
|
37
|
-
hindsight_client_api/docs/EntityListItem.md,sha256=BpYo9ftZyCHUlB6xPURvCvGu_7YSore0xt8Y_b-4gHA,1125
|
|
38
|
-
hindsight_client_api/docs/EntityListResponse.md,sha256=uwzq605X0L8iHDVR12pIG0t-iVPCgUz5NR39lyWYgqE,1022
|
|
39
|
-
hindsight_client_api/docs/EntityObservationResponse.md,sha256=6-7UxvIKFqGyQaoyHOdadHzXnAigOb2zGHXmpvr6rf0,1109
|
|
40
|
-
hindsight_client_api/docs/EntityStateResponse.md,sha256=08ntXHc69PVXiOGcrg3HwqeYo9wHG5ivfcAvJI-C6eQ,1123
|
|
41
|
-
hindsight_client_api/docs/GraphDataResponse.md,sha256=UIsZmMFNXwKNujVeha8TFPiq4HxZqHOWDXNXbm1yNm8,1119
|
|
42
|
-
hindsight_client_api/docs/HTTPValidationError.md,sha256=IZC9oMGPXsIFy7yeKKgRpZHQXzz0wyIp2ZChHA9MaXI,1008
|
|
43
|
-
hindsight_client_api/docs/IncludeOptions.md,sha256=GZ4xlW2amRYgWq_dL7sdmnrmUdWtdY9FnHqKhotcRoI,1080
|
|
44
|
-
hindsight_client_api/docs/ListDocumentsResponse.md,sha256=knIyqPUGLe1Pg0dLnjrnHgO1RqB7RisKEZWSyiX4oiI,1125
|
|
45
|
-
hindsight_client_api/docs/ListMemoryUnitsResponse.md,sha256=UBFQ1uJd9AAcRHWtgr7hjx86ka_EmPKr5LwH15UO2Mc,1160
|
|
46
|
-
hindsight_client_api/docs/MemoryApi.md,sha256=0rTXM4HsK7McTQhf00RsuW05XDqcraj11894hc0NYfY,16719
|
|
47
|
-
hindsight_client_api/docs/MemoryItem.md,sha256=UaHZE9BQO9BJgsGJL8QfAeuogtCZmFoH4XZshoyLmcI,1045
|
|
48
|
-
hindsight_client_api/docs/MonitoringApi.md,sha256=Iquzlr0AmtLliR9c-yKy9-PyXWqncytBhLbZ0eO1C_8,3755
|
|
49
|
-
hindsight_client_api/docs/OperationResponse.md,sha256=N5DUPYa9Q6lALTdpUsPfLVBJBplxQqV3Pi8t6ZMYATc,1152
|
|
50
|
-
hindsight_client_api/docs/OperationsApi.md,sha256=stE5s6j-N0n9DfMD9TJKfk0iFtXpMx9KF9DXFlPB0l0,4868
|
|
51
|
-
hindsight_client_api/docs/OperationsListResponse.md,sha256=X_ULXJETpzI1-n3J8irktDlOBWyOo-0sa7JdHUO8Ovw,1117
|
|
52
|
-
hindsight_client_api/docs/RecallRequest.md,sha256=PiRDR-7hihL2zhCKTRNdJKIUZ5hTHBURwQCrMQl_XHs,1309
|
|
53
|
-
hindsight_client_api/docs/RecallResponse.md,sha256=VbABZlZwMTaSuqaqAAOOAjkuqaDB4azaQAFP5noJkVc,1173
|
|
54
|
-
hindsight_client_api/docs/RecallResult.md,sha256=1QTIqPN86Gq--tw-LwFVBmO5QD4dj8DbzJqe0ywUrew,1297
|
|
55
|
-
hindsight_client_api/docs/ReflectFact.md,sha256=f9wmQde692is1dF6sw6S5_zIDI9Z_AHSbCvD7ALluLY,1075
|
|
56
|
-
hindsight_client_api/docs/ReflectIncludeOptions.md,sha256=tH-pQeSv0QH9hoLmQhsg0PO5R3jVolDK6JFUG5CHi50,1112
|
|
57
|
-
hindsight_client_api/docs/ReflectRequest.md,sha256=MxOgwBhzXZCbBWBhDDs89aWtOWZQ9bjQSGmsrirNkMo,1309
|
|
58
|
-
hindsight_client_api/docs/ReflectResponse.md,sha256=oA6GmB264k9N8_j7tQYU4Ubj_S-mWXe0_quJTJ57k6w,1082
|
|
59
|
-
hindsight_client_api/docs/RetainRequest.md,sha256=u-IhxRJo2iFWtskDsRpBJJjOdm7mfLGE6j1W6iNTcKY,1090
|
|
60
|
-
hindsight_client_api/docs/RetainResponse.md,sha256=2a3Wz7ilrnQ_BFf6YTqWDmA94gohs8kU9sCR3mJYrj8,1065
|
|
61
|
-
hindsight_client_api/docs/UpdateDispositionRequest.md,sha256=C3Q9UcVts2wPjYQgy1JH2ch1jy0tP2xswGe8sUzkZ_8,1112
|
|
62
|
-
hindsight_client_api/docs/ValidationError.md,sha256=moV1dyA1z8n2DSD18ri7x7GDJujHc6--fbwGr4u8cl4,1001
|
|
63
|
-
hindsight_client_api/docs/ValidationErrorLocInner.md,sha256=WP7Zm2LNt2HZb6XHo0cLvLCrht-EGFKp0i4zD3jPMto,988
|
|
64
|
-
hindsight_client_api/models/__init__.py,sha256=7d7fYdP_wGCEkXoXA3iA7aMZNJR1BZn49rUxiZeLt6I,3602
|
|
65
|
-
hindsight_client_api/models/add_background_request.py,sha256=3rld3CjxNSPbxX9CoDSr5WEuhEoo-gRrCZ709Vvy9rI,2867
|
|
66
|
-
hindsight_client_api/models/background_response.py,sha256=SUFt-k6ipl2SXAvHb3IU3IJ5LuXIGEoK8_pVbZO3Dgw,3144
|
|
67
|
-
hindsight_client_api/models/bank_list_item.py,sha256=grJYCFBinjxEy1M8ZxPiy8asUVKj58b2KnScE2tmU-Q,4137
|
|
68
|
-
hindsight_client_api/models/bank_list_response.py,sha256=LiACkek7iqhA5mmVvYQkMnf4J5bfSFwBJ_mkC0u_Nz4,2896
|
|
69
|
-
hindsight_client_api/models/bank_profile_response.py,sha256=1vMc2814672N61dLK2a8b_H0yJfbOxSgiAQvHztvyrk,3030
|
|
70
|
-
hindsight_client_api/models/bank_stats_response.py,sha256=ekrmI8GnALqfSzOIRXF0a8mXPWyyqzz76SSEl7gfnRE,3521
|
|
71
|
-
hindsight_client_api/models/budget.py,sha256=AwTSqd59PKqQEM1g3qM3E7fSH2lUFll9iFLjzRMhtDE,702
|
|
72
|
-
hindsight_client_api/models/cancel_operation_response.py,sha256=jxLGkFmZ8aWRMcHVmnnnl306u8R10mSS5Yo9n-vtNCM,2656
|
|
73
|
-
hindsight_client_api/models/chunk_data.py,sha256=3iU9LmeMrMr2cdnSoE38_ipx7YZxAHU46v72ShVbPKo,2828
|
|
74
|
-
hindsight_client_api/models/chunk_include_options.py,sha256=96r8h9pZbHGvK2OMC3q4xfoBqXRwCSypmcCDO0KCM7A,2634
|
|
75
|
-
hindsight_client_api/models/chunk_response.py,sha256=5E6XHhhEO7AF_OMNk6vJZFT47_IRex8bGHlFW-AEPLs,2888
|
|
76
|
-
hindsight_client_api/models/create_bank_request.py,sha256=5IEuAmetFFtI1NFH0gTzTCtVni49TNVXAnrqz9n9lhk,3668
|
|
77
|
-
hindsight_client_api/models/delete_document_response.py,sha256=k_gHKh2qiUOyAS-iLzPPGVNFwTltvH2gbFceLU-JBrI,2788
|
|
78
|
-
hindsight_client_api/models/delete_response.py,sha256=8TjUUMXrEfbxxMHj5PsCaqEib2qpaA3JT45cbxToFj0,3126
|
|
79
|
-
hindsight_client_api/models/disposition_traits.py,sha256=I61B7L3BkGQlAxBONDILwE-hH_S3oY2IFrbeTzpj9Mg,3055
|
|
80
|
-
hindsight_client_api/models/document_response.py,sha256=hvtlBhm0EEGldM5Gh82cwnFYCL2ckwI2upDySdhbFZ0,3256
|
|
81
|
-
hindsight_client_api/models/entity_detail_response.py,sha256=51Pv6lQEVGjUZ2KimRP0xFCowwOgt0ShcNITeHLF0Ro,4312
|
|
82
|
-
hindsight_client_api/models/entity_include_options.py,sha256=j6o0SPWslW7y461xahbw4l1VXMIU1B5vxR3MX8cJ2FY,2635
|
|
83
|
-
hindsight_client_api/models/entity_input.py,sha256=-ZGF71tAznuuTOHK1gIL-wNAfiAD2zvsIRldtgOmrsU,2431
|
|
84
|
-
hindsight_client_api/models/entity_list_item.py,sha256=ZtdnkJ-xz7djdls1RaYXl7BEF_q1YIcan61MrHH0x6g,3602
|
|
85
|
-
hindsight_client_api/models/entity_list_response.py,sha256=J3EYrjHKJk8AjcUQH2uEI3s1Hw11mIyQDgKrvPRhd4w,2913
|
|
86
|
-
hindsight_client_api/models/entity_observation_response.py,sha256=Sbz_m0MssD-gYyV4sAeD56HGrnmlWcdO0bBs73K65YU,2804
|
|
87
|
-
hindsight_client_api/models/entity_state_response.py,sha256=VNxiaOcNy2vCXuNGJMD1WbTTqwUguizvCxJHkt7Lyuw,3239
|
|
88
|
-
hindsight_client_api/models/graph_data_response.py,sha256=24l32YX7rzsNZBIeLAL2TX25O3-7Ji-I-9WkYPHWSNQ,2721
|
|
89
|
-
hindsight_client_api/models/http_validation_error.py,sha256=KKvY67lajAI7hAys0IZHeeTsG2ArvpVIATqSMjbWGOY,2937
|
|
90
|
-
hindsight_client_api/models/include_options.py,sha256=FlB8QT_bqA141_tSv51QvZRbqKZdcaR2estkHg6eBGc,3645
|
|
91
|
-
hindsight_client_api/models/list_documents_response.py,sha256=8lXIfprjJHpWCgiKkw4-M8d2y4NOTcK76HoF1otMekI,2675
|
|
92
|
-
hindsight_client_api/models/list_memory_units_response.py,sha256=gEC-opRav_3cWdKvoO7Hure3dnVyFiFC0gtDP0TE7H8,2684
|
|
93
|
-
hindsight_client_api/models/memory_item.py,sha256=xDMmKYS3ZixyiNATBX4E4_OLxYMfPxtXjs_Jhv792A0,4330
|
|
94
|
-
hindsight_client_api/models/operation_response.py,sha256=ach9QI35J3FtPKLzZDqb54Xfov7ouiEhto4nztCKc8I,3467
|
|
95
|
-
hindsight_client_api/models/operations_list_response.py,sha256=3XOfvTBBkv7VmYo-PZX0wVK_RtMCZkQdaPkXXhGIiRU,3088
|
|
96
|
-
hindsight_client_api/models/recall_request.py,sha256=IPYeipQO7qxUepB01iCkz2ACNWQg5jXLIPzSAxsTQts,4053
|
|
97
|
-
hindsight_client_api/models/recall_response.py,sha256=t_qYAUMHXFBnXX7kCF8EeLfqeyF9V01wvQizCDvf4dY,5103
|
|
98
|
-
hindsight_client_api/models/recall_result.py,sha256=fI-TCBDFGuSIytFsI7FADtJkmvsTOX-G3bFFRxLJbMY,5402
|
|
99
|
-
hindsight_client_api/models/reflect_fact.py,sha256=sYW00LmDpY7VptK0E4I0gUWHkCRaCTeypuHSdciknw8,3973
|
|
100
|
-
hindsight_client_api/models/reflect_include_options.py,sha256=q3TqMu-zrJw8LIHOl5pb0baDEQlOlFkBI5gE9MEmKQQ,2584
|
|
101
|
-
hindsight_client_api/models/reflect_request.py,sha256=OOfOiLh0pmrIVo5ZFBFL09H69v8UGzWWlyp5I-CPCpE,4007
|
|
102
|
-
hindsight_client_api/models/reflect_response.py,sha256=jqh3gJvqlz2MKbk4H9sgHe3EfprmpIoMZgxHMuxQlVw,3414
|
|
103
|
-
hindsight_client_api/models/retain_request.py,sha256=LABq0vwi3ZYnb1RB6UCLw6PoFT4Q4qap8LNWLquh7jE,3178
|
|
104
|
-
hindsight_client_api/models/retain_response.py,sha256=b3t5H7_ixi7jZw_kvb2XYh0Q6IDTfHvWRR2KaKqf7ls,2796
|
|
105
|
-
hindsight_client_api/models/update_disposition_request.py,sha256=6D3qceEJByBWcZrfSbNXrdlrDtnj0_QXh2zosc49-5E,2817
|
|
106
|
-
hindsight_client_api/models/validation_error.py,sha256=XnK71WeEUbZyXPbzv1uKaNAFEYxfsiS7G0cvjTgCxiM,3029
|
|
107
|
-
hindsight_client_api/models/validation_error_loc_inner.py,sha256=q51Yi64xsxhsy3_AAD5DlcfI2-g_81hQoN6Olh3I8ag,4812
|
|
108
|
-
hindsight_client-0.2.0.dist-info/METADATA,sha256=cD7W3A8iLYPqI9llPg0kChvZda9gaWkJOh60pC10Zzs,647
|
|
109
|
-
hindsight_client-0.2.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
110
|
-
hindsight_client-0.2.0.dist-info/RECORD,,
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# AddBackgroundRequest
|
|
2
|
-
|
|
3
|
-
Request model for adding/merging background information.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**content** | **str** | New background information to add or merge |
|
|
10
|
-
**update_disposition** | **bool** | If true, infer disposition traits from the merged background (default: true) | [optional] [default to True]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```python
|
|
15
|
-
from hindsight_client_api.models.add_background_request import AddBackgroundRequest
|
|
16
|
-
|
|
17
|
-
# TODO update the JSON string below
|
|
18
|
-
json = "{}"
|
|
19
|
-
# create an instance of AddBackgroundRequest from a JSON string
|
|
20
|
-
add_background_request_instance = AddBackgroundRequest.from_json(json)
|
|
21
|
-
# print the JSON string representation of the object
|
|
22
|
-
print(AddBackgroundRequest.to_json())
|
|
23
|
-
|
|
24
|
-
# convert the object into a dict
|
|
25
|
-
add_background_request_dict = add_background_request_instance.to_dict()
|
|
26
|
-
# create an instance of AddBackgroundRequest from a dict
|
|
27
|
-
add_background_request_from_dict = AddBackgroundRequest.from_dict(add_background_request_dict)
|
|
28
|
-
```
|
|
29
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
30
|
-
|
|
31
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# BackgroundResponse
|
|
2
|
-
|
|
3
|
-
Response model for background update.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**background** | **str** | |
|
|
10
|
-
**disposition** | [**DispositionTraits**](DispositionTraits.md) | | [optional]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```python
|
|
15
|
-
from hindsight_client_api.models.background_response import BackgroundResponse
|
|
16
|
-
|
|
17
|
-
# TODO update the JSON string below
|
|
18
|
-
json = "{}"
|
|
19
|
-
# create an instance of BackgroundResponse from a JSON string
|
|
20
|
-
background_response_instance = BackgroundResponse.from_json(json)
|
|
21
|
-
# print the JSON string representation of the object
|
|
22
|
-
print(BackgroundResponse.to_json())
|
|
23
|
-
|
|
24
|
-
# convert the object into a dict
|
|
25
|
-
background_response_dict = background_response_instance.to_dict()
|
|
26
|
-
# create an instance of BackgroundResponse from a dict
|
|
27
|
-
background_response_from_dict = BackgroundResponse.from_dict(background_response_dict)
|
|
28
|
-
```
|
|
29
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
30
|
-
|
|
31
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# BankListItem
|
|
2
|
-
|
|
3
|
-
Bank list item with profile summary.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bank_id** | **str** | |
|
|
10
|
-
**name** | **str** | | [optional]
|
|
11
|
-
**disposition** | [**DispositionTraits**](DispositionTraits.md) | |
|
|
12
|
-
**background** | **str** | | [optional]
|
|
13
|
-
**created_at** | **str** | | [optional]
|
|
14
|
-
**updated_at** | **str** | | [optional]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```python
|
|
19
|
-
from hindsight_client_api.models.bank_list_item import BankListItem
|
|
20
|
-
|
|
21
|
-
# TODO update the JSON string below
|
|
22
|
-
json = "{}"
|
|
23
|
-
# create an instance of BankListItem from a JSON string
|
|
24
|
-
bank_list_item_instance = BankListItem.from_json(json)
|
|
25
|
-
# print the JSON string representation of the object
|
|
26
|
-
print(BankListItem.to_json())
|
|
27
|
-
|
|
28
|
-
# convert the object into a dict
|
|
29
|
-
bank_list_item_dict = bank_list_item_instance.to_dict()
|
|
30
|
-
# create an instance of BankListItem from a dict
|
|
31
|
-
bank_list_item_from_dict = BankListItem.from_dict(bank_list_item_dict)
|
|
32
|
-
```
|
|
33
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
34
|
-
|
|
35
|
-
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# BankListResponse
|
|
2
|
-
|
|
3
|
-
Response model for listing all banks.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**banks** | [**List[BankListItem]**](BankListItem.md) | |
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```python
|
|
14
|
-
from hindsight_client_api.models.bank_list_response import BankListResponse
|
|
15
|
-
|
|
16
|
-
# TODO update the JSON string below
|
|
17
|
-
json = "{}"
|
|
18
|
-
# create an instance of BankListResponse from a JSON string
|
|
19
|
-
bank_list_response_instance = BankListResponse.from_json(json)
|
|
20
|
-
# print the JSON string representation of the object
|
|
21
|
-
print(BankListResponse.to_json())
|
|
22
|
-
|
|
23
|
-
# convert the object into a dict
|
|
24
|
-
bank_list_response_dict = bank_list_response_instance.to_dict()
|
|
25
|
-
# create an instance of BankListResponse from a dict
|
|
26
|
-
bank_list_response_from_dict = BankListResponse.from_dict(bank_list_response_dict)
|
|
27
|
-
```
|
|
28
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
29
|
-
|
|
30
|
-
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# BankProfileResponse
|
|
2
|
-
|
|
3
|
-
Response model for bank profile.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bank_id** | **str** | |
|
|
10
|
-
**name** | **str** | |
|
|
11
|
-
**disposition** | [**DispositionTraits**](DispositionTraits.md) | |
|
|
12
|
-
**background** | **str** | |
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```python
|
|
17
|
-
from hindsight_client_api.models.bank_profile_response import BankProfileResponse
|
|
18
|
-
|
|
19
|
-
# TODO update the JSON string below
|
|
20
|
-
json = "{}"
|
|
21
|
-
# create an instance of BankProfileResponse from a JSON string
|
|
22
|
-
bank_profile_response_instance = BankProfileResponse.from_json(json)
|
|
23
|
-
# print the JSON string representation of the object
|
|
24
|
-
print(BankProfileResponse.to_json())
|
|
25
|
-
|
|
26
|
-
# convert the object into a dict
|
|
27
|
-
bank_profile_response_dict = bank_profile_response_instance.to_dict()
|
|
28
|
-
# create an instance of BankProfileResponse from a dict
|
|
29
|
-
bank_profile_response_from_dict = BankProfileResponse.from_dict(bank_profile_response_dict)
|
|
30
|
-
```
|
|
31
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
32
|
-
|
|
33
|
-
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# BankStatsResponse
|
|
2
|
-
|
|
3
|
-
Response model for bank statistics endpoint.
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**bank_id** | **str** | |
|
|
10
|
-
**total_nodes** | **int** | |
|
|
11
|
-
**total_links** | **int** | |
|
|
12
|
-
**total_documents** | **int** | |
|
|
13
|
-
**nodes_by_fact_type** | **Dict[str, int]** | |
|
|
14
|
-
**links_by_link_type** | **Dict[str, int]** | |
|
|
15
|
-
**links_by_fact_type** | **Dict[str, int]** | |
|
|
16
|
-
**links_breakdown** | **Dict[str, Dict[str, int]]** | |
|
|
17
|
-
**pending_operations** | **int** | |
|
|
18
|
-
**failed_operations** | **int** | |
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```python
|
|
23
|
-
from hindsight_client_api.models.bank_stats_response import BankStatsResponse
|
|
24
|
-
|
|
25
|
-
# TODO update the JSON string below
|
|
26
|
-
json = "{}"
|
|
27
|
-
# create an instance of BankStatsResponse from a JSON string
|
|
28
|
-
bank_stats_response_instance = BankStatsResponse.from_json(json)
|
|
29
|
-
# print the JSON string representation of the object
|
|
30
|
-
print(BankStatsResponse.to_json())
|
|
31
|
-
|
|
32
|
-
# convert the object into a dict
|
|
33
|
-
bank_stats_response_dict = bank_stats_response_instance.to_dict()
|
|
34
|
-
# create an instance of BankStatsResponse from a dict
|
|
35
|
-
bank_stats_response_from_dict = BankStatsResponse.from_dict(bank_stats_response_dict)
|
|
36
|
-
```
|
|
37
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
38
|
-
|
|
39
|
-
|