()
| 153 | ) |
| 154 | |
| 155 | def read_generic_env_vars() -> str: |
| 156 | import os |
| 157 | |
| 158 | token = os.environ.get("CUSTOM_SERVICE_TOKEN", "NOT_SET") |
| 159 | url = os.environ.get("CUSTOM_SERVICE_URL", "NOT_SET") |
| 160 | return f"{token}|{url}" |
| 161 | |
| 162 | with sandbox(spec=spec, delete_on_exit=True) as sb: |
| 163 | result = sb.exec_python(read_generic_env_vars) |