hyperpocket 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- hyperpocket/pocket_main.py +5 -2
- {hyperpocket-0.0.2.dist-info → hyperpocket-0.0.3.dist-info}/METADATA +1 -1
- {hyperpocket-0.0.2.dist-info → hyperpocket-0.0.3.dist-info}/RECORD +5 -5
- {hyperpocket-0.0.2.dist-info → hyperpocket-0.0.3.dist-info}/WHEEL +0 -0
- {hyperpocket-0.0.2.dist-info → hyperpocket-0.0.3.dist-info}/entry_points.txt +0 -0
hyperpocket/pocket_main.py
CHANGED
@@ -330,16 +330,19 @@ class Pocket(object):
|
|
330
330
|
def _tool_instance(self, tool_name: str) -> Tool:
|
331
331
|
return self.tools[tool_name]
|
332
332
|
|
333
|
+
def _teardown_server(self):
|
334
|
+
self.server.teardown()
|
335
|
+
|
333
336
|
def __enter__(self):
|
334
337
|
return self
|
335
338
|
|
336
339
|
def __exit__(self, exc_type, exc_val, exc_tb):
|
337
340
|
if self.__dict__.get('server'):
|
338
|
-
self.
|
341
|
+
self._teardown_server()
|
339
342
|
|
340
343
|
def __del__(self):
|
341
344
|
if self.__dict__.get('server'):
|
342
|
-
self.
|
345
|
+
self._teardown_server()
|
343
346
|
|
344
347
|
def __getstate__(self):
|
345
348
|
state = self.__dict__.copy()
|
@@ -60,7 +60,7 @@ hyperpocket/external/github_client.py,sha256=89DkXoyBrpE_YoBasTJ5d87w3Ih47UTD_Aw
|
|
60
60
|
hyperpocket/futures/__init__.py,sha256=_pRnYZLbogkYFInA3jokkxrcEVRt6YNaBmkf_dSk3SM,136
|
61
61
|
hyperpocket/futures/futurestore.py,sha256=4DeLlnLz-vdwjYKSVvgx-DNeEPLtzuIDo0xCuY1Aq9Y,1328
|
62
62
|
hyperpocket/pocket_auth.py,sha256=5zN8l2DJOy9ogBFGPmO3-F0NoiGVTw4raRrwk0vbXpw,16001
|
63
|
-
hyperpocket/pocket_main.py,sha256=
|
63
|
+
hyperpocket/pocket_main.py,sha256=HDeKGVdKT1D-Go1XV2FBP85xwWAdIKKg1wMSoAlYyZg,12434
|
64
64
|
hyperpocket/prompts.py,sha256=Kl19Vlzc3hX_g04s17WSW5dLp-mvi0JELxJxCy2z7tU,754
|
65
65
|
hyperpocket/repository/__init__.py,sha256=dVwj6KN-cazbIbFC2t0cqz7BOtoZWRgGfnC5-lrsXAg,202
|
66
66
|
hyperpocket/repository/lock.py,sha256=wg1zkDYh58U6D1EU-gXhCwrwnZI-qe0esO1dJsjkldA,5359
|
@@ -124,7 +124,7 @@ hyperpocket/util/flatten_json_schema.py,sha256=PXK6I1S2QDxwSGmUVEl5bbSPrjTa38GBl
|
|
124
124
|
hyperpocket/util/function_to_model.py,sha256=f6806fVJfZp2PyXwN5ZoD8-4Bw81KMYlUEgFAXJuUas,1806
|
125
125
|
hyperpocket/util/get_objects_from_subpackage.py,sha256=Aq87PD_H57c2IjLS28Hf0Wu5vLVyoOtDoBvKzvQ1UPw,929
|
126
126
|
hyperpocket/util/json_schema_to_model.py,sha256=YFQSv_a-7OYf_6XPMyi097CKVm4sjDxy9k8DjlU9FP8,2897
|
127
|
-
hyperpocket-0.0.
|
128
|
-
hyperpocket-0.0.
|
129
|
-
hyperpocket-0.0.
|
130
|
-
hyperpocket-0.0.
|
127
|
+
hyperpocket-0.0.3.dist-info/METADATA,sha256=-ln3ZFUsfBn1tTSx3CUWMY37PpYpUmPO-x7J3MFItYI,9808
|
128
|
+
hyperpocket-0.0.3.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
129
|
+
hyperpocket-0.0.3.dist-info/entry_points.txt,sha256=HP1S7F8Sozcu87qCmOSbUpl-bvodrJvjeodWKi4TlF0,50
|
130
|
+
hyperpocket-0.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|