Skip to content

Commit

Permalink
Allow environment variables in dagster-mlflow schema (#7997)
Browse files Browse the repository at this point in the history
* refactor: allow environment variables in dagster-mlflow schema

* fix: isort
  • Loading branch information
chasleslr committed Jun 2, 2022
1 parent 04f9c4e commit 67e4b01
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
import mlflow
from mlflow.entities.run_status import RunStatus

from dagster import Field, Noneable, Permissive, resource
from dagster import Field, Noneable, Permissive, StringSource, resource

CONFIG_SCHEMA = {
"experiment_name": Field(str, is_required=True, description="MlFlow experiment name."),
"experiment_name": Field(StringSource, is_required=True, description="MlFlow experiment name."),
"mlflow_tracking_uri": Field(
Noneable(str),
Noneable(StringSource),
default_value=None,
is_required=False,
description="MlFlow tracking server uri.",
Expand Down

0 comments on commit 67e4b01

Please sign in to comment.