We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f559aac commit 65511dcCopy full SHA for 65511dc
services/director/src/simcore_service_director/system_utils.py
@@ -1,8 +1,7 @@
1
from pathlib import Path
2
-from typing import List
3
4
5
-def get_system_extra_hosts_raw(extra_host_domain: str) -> List[str]:
+def get_system_extra_hosts_raw(extra_host_domain: str) -> list[str]:
6
extra_hosts = []
7
hosts_path = Path("/etc/hosts")
8
if hosts_path.exists() and extra_host_domain != "undefined":
0 commit comments