@@ -44,14 +44,20 @@ class FeatureFlags:
4444 development. Feature flags are environment variables of the form DSTACK_FF_*
4545 """
4646
47- # DSTACK_FF_AUTOCREATED_FLEETS_ENABLED enables legacy autocreated fleets:
48- # If there are no fleet suitable for the run, a new fleet is created automatically instead of an error.
4947 AUTOCREATED_FLEETS_ENABLED = os .getenv ("DSTACK_FF_AUTOCREATED_FLEETS_ENABLED" ) is not None
50- # DSTACK_FF_PIPELINE_PROCESSING_ENABLED enables new pipeline-based processing tasks (background/pipeline_tasks/)
51- # instead of scheduler-based processing tasks (background/scheduled_tasks/) for tasks that implement pipelines.
52- PIPELINE_PROCESSING_ENABLED = os .getenv ("DSTACK_FF_PIPELINE_PROCESSING_ENABLED" ) is not None
53- # If DSTACK_FF_CLI_PRINT_JOB_CONNECTION_INFO enabled, `dstack apply` command prints server-provided
54- # IDE URL(s) and SSH command(s) before job logs (for dev-environments only).
48+ """DSTACK_FF_AUTOCREATED_FLEETS_ENABLED enables legacy autocreated fleets:
49+ If there are no fleet suitable for the run, a new fleet is created automatically instead of an error.
50+ """
51+
52+ PIPELINE_PROCESSING_DISABLED = os .getenv ("DSTACK_FF_PIPELINE_PROCESSING_DISABLED" ) is not None
53+ """DSTACK_FF_PIPELINE_PROCESSING_DISABLED disables pipeline-based processing tasks (background/pipeline_tasks/)
54+ and enables legacy scheduler-based processing tasks (background/scheduled_tasks/).
55+ """
56+ PIPELINE_PROCESSING_ENABLED = not PIPELINE_PROCESSING_DISABLED
57+
5558 CLI_PRINT_JOB_CONNECTION_INFO = (
5659 os .getenv ("DSTACK_FF_CLI_PRINT_JOB_CONNECTION_INFO" ) is not None
5760 )
61+ """If DSTACK_FF_CLI_PRINT_JOB_CONNECTION_INFO enabled, `dstack apply` command prints server-provided
62+ IDE URL(s) and SSH command(s) before job logs (for dev-environments only).
63+ """
0 commit comments