Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Nov 19, 2024
1 parent e7a1a7e commit f1d4930
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion haupt/haupt/polyconf/asgi/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
os.environ[ENV_KEYS_SERVICE] = PolyaxonServices.STREAMS
os.environ[ENV_KEYS_SERVICE_MODE] = PolyaxonServices.VIEWER
os.environ[ENV_KEYS_UI_IN_SANDBOX] = "true"
logging.debug("Sandbox root {}".format(os.environ.get(ENV_KEYS_SANDBOX_ROOT, ctx_paths.CONTEXT_OFFLINE_ROOT)))
logging.debug(
"Sandbox root {}".format(
os.environ.get(ENV_KEYS_SANDBOX_ROOT, ctx_paths.CONTEXT_OFFLINE_ROOT)
)
)
settings.set_sandbox_config(
path=os.environ.get(ENV_KEYS_SANDBOX_ROOT, ctx_paths.CONTEXT_OFFLINE_ROOT),
env_only_config=True,
Expand Down
3 changes: 2 additions & 1 deletion haupt/haupt/streams/endpoints/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

from haupt.common.endpoints.files import FilePathResponse
from haupt.common.endpoints.validation import validate_internal_auth, validate_methods
from haupt.polyconf.config_manager import PLATFORM_CONFIG
from haupt.streams.connections.fs import AppFS
from haupt.streams.controllers.logs import get_archived_agent_logs
from haupt.streams.endpoints.base import UJSONResponse
Expand All @@ -26,8 +27,8 @@
)
from polyaxon._k8s.manager.async_manager import AsyncK8sManager
from polyaxon._services import PolyaxonServices
from haupt.polyconf.config_manager import PLATFORM_CONFIG
from traceml.logging import V1Logs

logger = logging.getLogger("haupt.streams.agents")


Expand Down

0 comments on commit f1d4930

Please sign in to comment.