Skip to content

Commit

Permalink
fix: update deprecated SDK references and remove unused resources
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed May 12, 2024
1 parent aca26cb commit 1082d9a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion config/graphql/resolvers.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ def resolve_config(
:return: Instance of Config
"""
use_case: ConfigUseCase = use_case_provider()
enabled_analytics = info.context.feature.isOn("enable-analytics")
result = use_case.fetch_configuration()
return result
1 change: 0 additions & 1 deletion core/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ def process_request(
) -> NoReturn:
request.feature = self.__growth_book
request.feature.load_features()
request.feature.destroy()
2 changes: 1 addition & 1 deletion di/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ class CoreContainer(containers.DeclarativeContainer):
api_host=settings.GROWTH_BOOK["host"],
client_key=settings.GROWTH_BOOK["key"],
cache_ttl=settings.GROWTH_BOOK["ttl"],
trackingCallback=on_experiment_viewed
on_experiment_viewed=on_experiment_viewed
)

0 comments on commit 1082d9a

Please sign in to comment.