hyperpocket 0.0.2__tar.gz → 0.0.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/PKG-INFO +1 -1
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/pocket_main.py +5 -2
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/pyproject.toml +1 -1
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/README.KR.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/calendly/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/calendly/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/calendly/oauth2_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/calendly/oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/calendly/oauth2_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/oauth2_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/oauth2_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/token_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/token_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/github/token_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/google/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/google/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/google/oauth2_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/google/oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/google/oauth2_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/linear/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/linear/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/linear/token_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/linear/token_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/linear/token_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/provider.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/oauth2_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/oauth2_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/tests/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/tests/test_oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/tests/test_token_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/token_context.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/token_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/slack/token_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/tests/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/tests/test_google_oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/tests/test_slack_oauth2_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/tests/test_slack_token_handler.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/cli/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/cli/__main__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/cli/pull.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/cli/sync.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/auth.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/git.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/logger.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/session.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/config/settings.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/constants.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/external/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/external/github_client.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/futures/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/futures/futurestore.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/pocket_auth.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/prompts.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/repository/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/repository/lock.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/repository/lockfile.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/repository/repository.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/calendly.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/github.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/google.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/linear.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/slack.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/auth/token.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/proxy.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/server.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/tool/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/tool/dto/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/tool/dto/script.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/server/tool/wasm.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/README.KR.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/in_memory.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/interface.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/redis.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/tests/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/tests/test_in_memory.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/session/tests/test_redis.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tests/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tests/test_pocket.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tests/test_pocket_auth.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/README.KR.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/builtins/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/builtins/example/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/builtins/example/add_tool.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/function/README.KR.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/function/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/function/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/function/annotation.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/function/tool.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/tests/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/tests/test_function_tool.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/tool.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/README.KR.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/README.md +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/browser.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/invoker.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/script.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/templates/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/templates/node.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/templates/python.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/tool/wasm/tool.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/__init__.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/extract_func_param_desc_from_docstring.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/find_all_leaf_class_in_package.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/find_all_subclass_in_package.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/flatten_json_schema.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/function_to_model.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/get_objects_from_subpackage.py +0 -0
- {hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/json_schema_to_model.py +0 -0
@@ -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()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/auth/tests/test_google_oauth2_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{hyperpocket-0.0.2 → hyperpocket-0.0.3}/hyperpocket/util/extract_func_param_desc_from_docstring.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|