From 16db9be3df7d196fff49a97a8d40e9fc767aa443 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Mon, 11 Mar 2024 11:59:51 +1100 Subject: [PATCH] refactor: move OTel hooks to openfeature.contrib.hook Signed-off-by: Federico Bond --- .../contrib/{hooks => hook}/opentelemetry/__init__.py | 0 hooks/openfeature-hooks-opentelemetry/tests/test_otel.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/{hooks => hook}/opentelemetry/__init__.py (100%) diff --git a/hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hooks/opentelemetry/__init__.py b/hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hook/opentelemetry/__init__.py similarity index 100% rename from hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hooks/opentelemetry/__init__.py rename to hooks/openfeature-hooks-opentelemetry/src/openfeature/contrib/hook/opentelemetry/__init__.py diff --git a/hooks/openfeature-hooks-opentelemetry/tests/test_otel.py b/hooks/openfeature-hooks-opentelemetry/tests/test_otel.py index cebcb59..284ba37 100644 --- a/hooks/openfeature-hooks-opentelemetry/tests/test_otel.py +++ b/hooks/openfeature-hooks-opentelemetry/tests/test_otel.py @@ -4,7 +4,7 @@ from opentelemetry import trace from opentelemetry.trace import Span -from openfeature.contrib.hooks.opentelemetry import TracingHook +from openfeature.contrib.hook.opentelemetry import TracingHook from openfeature.evaluation_context import EvaluationContext from openfeature.flag_evaluation import FlagEvaluationDetails, FlagType from openfeature.hook import HookContext