From ef4900c522db8d5a9ddbfcd87cc6fa3f87e6dd61 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Mon, 25 Mar 2024 12:41:38 +1100 Subject: [PATCH] refactor: mark hook_support module as private/internal Signed-off-by: Federico Bond --- openfeature/client.py | 2 +- openfeature/hook/{hook_support.py => _hook_support.py} | 0 tests/hook/test_hook_support.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename openfeature/hook/{hook_support.py => _hook_support.py} (100%) diff --git a/openfeature/client.py b/openfeature/client.py index f08749d6..c299dda9 100644 --- a/openfeature/client.py +++ b/openfeature/client.py @@ -21,7 +21,7 @@ Reason, ) from openfeature.hook import Hook, HookContext -from openfeature.hook.hook_support import ( +from openfeature.hook._hook_support import ( after_all_hooks, after_hooks, before_hooks, diff --git a/openfeature/hook/hook_support.py b/openfeature/hook/_hook_support.py similarity index 100% rename from openfeature/hook/hook_support.py rename to openfeature/hook/_hook_support.py diff --git a/tests/hook/test_hook_support.py b/tests/hook/test_hook_support.py index 37e06eee..64bb8f6f 100644 --- a/tests/hook/test_hook_support.py +++ b/tests/hook/test_hook_support.py @@ -6,7 +6,7 @@ from openfeature.evaluation_context import EvaluationContext from openfeature.flag_evaluation import FlagEvaluationDetails, FlagType from openfeature.hook import Hook, HookContext -from openfeature.hook.hook_support import ( +from openfeature.hook._hook_support import ( after_all_hooks, after_hooks, before_hooks,