Skip to content

Commit f7d71e4

Browse files
author
Andrei Neagu
committed
remove out of date comment
1 parent 23aef7c commit f7d71e4

File tree

1 file changed

+0
-7
lines changed
  • services/dynamic-scheduler/src/simcore_service_dynamic_scheduler

1 file changed

+0
-7
lines changed

services/dynamic-scheduler/src/simcore_service_dynamic_scheduler/cli.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ def echo_dotenv(ctx: typer.Context, *, minimal: bool = True):
3131
"""
3232
assert ctx # nosec
3333

34-
# NOTE: we normally DO NOT USE `os.environ` to capture env vars but this is a special case
35-
# The idea here is to have a command that can generate a **valid** `.env` file that can be used
36-
# to initialized the app. For that reason we fill required fields of the `ApplicationSettings` with
37-
# "fake" but valid values (e.g. generating a password or adding tags as `replace-with-api-key).
38-
# Nonetheless, if the caller of this CLI has already some **valid** env vars in the environment we want to use them ...
39-
# and that is why we use `os.environ`.
40-
4134
settings = ApplicationSettings.create_from_envs()
4235

4336
print_as_envfile(

0 commit comments

Comments
 (0)