@@ -36,13 +36,13 @@ def __repr__(self) -> str:
3636
3737 @property
3838 def bindings_file_path (self ) -> Path :
39- from uipath .platform .common . constants import UIPATH_BINDINGS_FILE
39+ from uipath .platform .constants import UIPATH_BINDINGS_FILE
4040
4141 return Path (UIPATH_BINDINGS_FILE )
4242
4343 @property
4444 def config_file_path (self ) -> Path :
45- from uipath .platform .common . constants import (
45+ from uipath .platform .constants import (
4646 ENV_UIPATH_CONFIG_PATH ,
4747 UIPATH_CONFIG_FILE ,
4848 )
@@ -51,97 +51,97 @@ def config_file_path(self) -> Path:
5151
5252 @property
5353 def config_file_name (self ) -> str :
54- from uipath .platform .common . constants import UIPATH_CONFIG_FILE
54+ from uipath .platform .constants import UIPATH_CONFIG_FILE
5555
5656 return UIPATH_CONFIG_FILE
5757
5858 @property
5959 def project_id (self ) -> str | None :
60- from uipath .platform .common . constants import ENV_UIPATH_PROJECT_ID
60+ from uipath .platform .constants import ENV_UIPATH_PROJECT_ID
6161
6262 return os .getenv (ENV_UIPATH_PROJECT_ID , None )
6363
6464 @property
6565 def agent_id (self ) -> str | None :
66- from uipath .platform .common . constants import ENV_UIPATH_AGENT_ID
66+ from uipath .platform .constants import ENV_UIPATH_AGENT_ID
6767
6868 return os .getenv (ENV_UIPATH_AGENT_ID ) or self .project_id
6969
7070 @property
7171 def cloud_user_id (self ) -> str | None :
72- from uipath .platform .common . constants import ENV_UIPATH_CLOUD_USER_ID
72+ from uipath .platform .constants import ENV_UIPATH_CLOUD_USER_ID
7373
7474 return os .getenv (ENV_UIPATH_CLOUD_USER_ID , None )
7575
7676 @property
7777 def project_files_source (self ) -> str | None :
78- from uipath .platform .common . constants import ENV_UIPATH_PROJECT_FILES_SOURCE
78+ from uipath .platform .constants import ENV_UIPATH_PROJECT_FILES_SOURCE
7979
8080 return os .getenv (ENV_UIPATH_PROJECT_FILES_SOURCE , None )
8181
8282 @property
8383 def project_key (self ) -> str | None :
84- from uipath .platform .common . constants import ENV_PROJECT_KEY
84+ from uipath .platform .constants import ENV_PROJECT_KEY
8585
8686 return os .getenv (ENV_PROJECT_KEY , None )
8787
8888 @property
8989 def tenant_name (self ) -> str | None :
90- from uipath .platform .common . constants import ENV_TENANT_NAME
90+ from uipath .platform .constants import ENV_TENANT_NAME
9191
9292 return os .getenv (ENV_TENANT_NAME , None )
9393
9494 @property
9595 def tenant_id (self ) -> str | None :
96- from uipath .platform .common . constants import ENV_TENANT_ID
96+ from uipath .platform .constants import ENV_TENANT_ID
9797
9898 return os .getenv (ENV_TENANT_ID , None )
9999
100100 @property
101101 def organization_id (self ) -> str | None :
102- from uipath .platform .common . constants import ENV_ORGANIZATION_ID
102+ from uipath .platform .constants import ENV_ORGANIZATION_ID
103103
104104 return os .getenv (ENV_ORGANIZATION_ID , None )
105105
106106 @property
107107 def base_url (self ) -> str | None :
108- from uipath .platform .common . constants import ENV_BASE_URL
108+ from uipath .platform .constants import ENV_BASE_URL
109109
110110 return os .getenv (ENV_BASE_URL , None )
111111
112112 @property
113113 def folder_key (self ) -> str | None :
114- from uipath .platform .common . constants import ENV_FOLDER_KEY
114+ from uipath .platform .constants import ENV_FOLDER_KEY
115115
116116 return os .getenv (ENV_FOLDER_KEY , None )
117117
118118 @property
119119 def folder_path (self ) -> str | None :
120- from uipath .platform .common . constants import ENV_FOLDER_PATH
120+ from uipath .platform .constants import ENV_FOLDER_PATH
121121
122122 return os .getenv (ENV_FOLDER_PATH , None )
123123
124124 @property
125125 def process_key (self ) -> str | None :
126- from uipath .platform .common . constants import ENV_PROCESS_KEY
126+ from uipath .platform .constants import ENV_PROCESS_KEY
127127
128128 return os .getenv (ENV_PROCESS_KEY , None )
129129
130130 @property
131131 def process_uuid (self ) -> str | None :
132- from uipath .platform .common . constants import ENV_UIPATH_PROCESS_UUID
132+ from uipath .platform .constants import ENV_UIPATH_PROCESS_UUID
133133
134134 return os .getenv (ENV_UIPATH_PROCESS_UUID , None )
135135
136136 @property
137137 def trace_id (self ) -> str | None :
138- from uipath .platform .common . constants import ENV_UIPATH_TRACE_ID
138+ from uipath .platform .constants import ENV_UIPATH_TRACE_ID
139139
140140 return os .getenv (ENV_UIPATH_TRACE_ID , None )
141141
142142 @property
143143 def process_version (self ) -> str | None :
144- from uipath .platform .common . constants import ENV_UIPATH_PROCESS_VERSION
144+ from uipath .platform .constants import ENV_UIPATH_PROCESS_VERSION
145145
146146 return os .getenv (ENV_UIPATH_PROCESS_VERSION , None )
147147
@@ -151,39 +151,39 @@ def is_studio_project(self) -> bool:
151151
152152 @property
153153 def job_key (self ) -> str | None :
154- from uipath .platform .common . constants import ENV_JOB_KEY
154+ from uipath .platform .constants import ENV_JOB_KEY
155155
156156 return os .getenv (ENV_JOB_KEY , None )
157157
158158 @property
159159 def has_legacy_eval_folder (self ) -> bool :
160- from uipath .platform .common . constants import LEGACY_EVAL_FOLDER
160+ from uipath .platform .constants import LEGACY_EVAL_FOLDER
161161
162162 eval_path = Path (os .getcwd ()) / LEGACY_EVAL_FOLDER
163163 return eval_path .exists () and eval_path .is_dir ()
164164
165165 @property
166166 def has_eval_folder (self ) -> bool :
167- from uipath .platform .common . constants import EVALS_FOLDER
167+ from uipath .platform .constants import EVALS_FOLDER
168168
169169 coded_eval_path = Path (os .getcwd ()) / EVALS_FOLDER
170170 return coded_eval_path .exists () and coded_eval_path .is_dir ()
171171
172172 @property
173173 def entry_points_file_path (self ) -> Path :
174- from uipath .platform .common . constants import ENTRY_POINTS_FILE
174+ from uipath .platform .constants import ENTRY_POINTS_FILE
175175
176176 return Path (ENTRY_POINTS_FILE )
177177
178178 @property
179179 def uiproj_file_path (self ) -> Path :
180- from uipath .platform .common . constants import UIPROJ_FILE
180+ from uipath .platform .constants import UIPROJ_FILE
181181
182182 return Path (UIPROJ_FILE )
183183
184184 @property
185185 def studio_metadata_file_path (self ) -> Path :
186- from uipath .platform .common . constants import STUDIO_METADATA_FILE
186+ from uipath .platform .constants import STUDIO_METADATA_FILE
187187
188188 return Path (".uipath" , STUDIO_METADATA_FILE )
189189
@@ -198,7 +198,7 @@ def is_rooted_to_debug_job(self) -> bool:
198198
199199 @property
200200 def is_tracing_enabled (self ) -> bool :
201- from uipath .platform .common . constants import ENV_TRACING_ENABLED
201+ from uipath .platform .constants import ENV_TRACING_ENABLED
202202
203203 return os .getenv (ENV_TRACING_ENABLED , "true" ).lower () == "true"
204204
0 commit comments