File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222from pydantic import BaseModel
2323
2424from veadk .cloud .cloud_app import CloudApp
25- from veadk .config import getenv
25+ from veadk .config import getenv , veadk_environments
2626from veadk .integrations .ve_faas .ve_faas import VeFaaS
2727from veadk .utils .logger import get_logger
2828from veadk .utils .misc import formatted_timestamp
@@ -143,18 +143,12 @@ def deploy(
143143 CloudApp: The deployed cloud application instance.
144144 """
145145 # prevent deepeval writing operations
146- import veadk .config
147-
148- veadk .config .veadk_environments ["DEEPEVAL_TELEMETRY_OPT_OUT" ] = "YES"
146+ veadk_environments ["DEEPEVAL_TELEMETRY_OPT_OUT" ] = "YES"
149147
150148 if use_adk_web :
151- import veadk .config
152-
153- veadk .config .veadk_environments ["USE_ADK_WEB" ] = "True"
149+ veadk_environments ["USE_ADK_WEB" ] = "True"
154150 else :
155- import veadk .config
156-
157- veadk .config .veadk_environments ["USE_ADK_WEB" ] = "False"
151+ veadk_environments ["USE_ADK_WEB" ] = "False"
158152
159153 # convert `path` to absolute path
160154 path = str (Path (path ).resolve ())
You can’t perform that action at this time.
0 commit comments