Skip to content

Commit

Permalink
use an environment-specific __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
aakrem committed Dec 1, 2023
1 parent 99becd0 commit 86c2088
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions agenta-backend/agenta_backend/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os

if os.environ["FEATURE_FLAG"] in ["cloud", "ee"]:
import agenta_backend.commons.__init__
if os.environ["FEATURE_FLAG"] in ["cloud"]:
import agenta_backend.cloud.__init__
if os.environ["FEATURE_FLAG"] in ["ee"]:
import agenta_backend.ee.__init__

0 comments on commit 86c2088

Please sign in to comment.