fix url check
This commit is contained in:
@@ -34,10 +34,10 @@ def setup_clients(logger: SupersetLogger) -> Dict[str, SupersetClient]:
|
||||
clients = {}
|
||||
|
||||
environments = {
|
||||
"dev": "https://devta.bi.dwh.rusal.com/api/v1",
|
||||
"prod": "https://prodta.bi.dwh.rusal.com/api/v1",
|
||||
"sbx": "https://sandboxta.bi.dwh.rusal.com/api/v1",
|
||||
"preprod": "https://preprodta.bi.dwh.rusal.com/api/v1"
|
||||
"dev": "https://devta.bi.dwh.rusal.com/api/v1/",
|
||||
"prod": "https://prodta.bi.dwh.rusal.com/api/v1/",
|
||||
"sbx": "https://sandboxta.bi.dwh.rusal.com/api/v1/",
|
||||
"preprod": "https://preprodta.bi.dwh.rusal.com/api/v1/"
|
||||
}
|
||||
|
||||
try:
|
||||
@@ -48,6 +48,7 @@ def setup_clients(logger: SupersetLogger) -> Dict[str, SupersetClient]:
|
||||
raise ValueError(f"Пароль для '{env_name} migrate' не найден в keyring.")
|
||||
|
||||
config = SupersetConfig(
|
||||
env=env_name,
|
||||
base_url=base_url,
|
||||
auth={
|
||||
"provider": "db",
|
||||
|
||||
Reference in New Issue
Block a user