@@ -669,8 +669,8 @@ class TaskConfig(object):
669669 Any Project/Domain/Org configuration.
670670 """
671671
672- project : Optional [str ] = None
673- domain : Optional [str ] = None
672+ project : Optional [str ] = "flytesnacks"
673+ domain : Optional [str ] = "development"
674674 org : Optional [str ] = None
675675
676676 @classmethod
@@ -699,15 +699,13 @@ class Config(object):
699699 stats (StatsConfig): Configuration for statsd metrics.
700700 data_config (DataConfig): Data storage configuration.
701701 local_sandbox_path (str): Path for local sandbox runs.
702- task_config (TaskConfig): Project/Domain/Org configuration.
703702 """
704703
705704 platform : PlatformConfig = PlatformConfig ()
706705 secrets : SecretsConfig = SecretsConfig ()
707706 stats : StatsConfig = StatsConfig ()
708707 data_config : DataConfig = DataConfig ()
709708 local_sandbox_path : str = tempfile .mkdtemp (prefix = "flyte" )
710- task_config : TaskConfig = TaskConfig ()
711709
712710 def with_params (
713711 self ,
@@ -716,15 +714,13 @@ def with_params(
716714 stats : StatsConfig = None ,
717715 data_config : DataConfig = None ,
718716 local_sandbox_path : str = None ,
719- task_config : TaskConfig = None ,
720717 ) -> Config :
721718 return Config (
722719 platform = platform or self .platform ,
723720 secrets = secrets or self .secrets ,
724721 stats = stats or self .stats ,
725722 data_config = data_config or self .data_config ,
726723 local_sandbox_path = local_sandbox_path or self .local_sandbox_path ,
727- task_config = task_config or self .task_config ,
728724 )
729725
730726 @classmethod
@@ -746,7 +742,6 @@ def auto(cls, config_file: typing.Union[str, ConfigFile, None] = None) -> Config
746742 secrets = SecretsConfig .auto (config_file ),
747743 stats = StatsConfig .auto (config_file ),
748744 data_config = DataConfig .auto (config_file ),
749- task_config = TaskConfig .auto (config_file ),
750745 ** kwargs ,
751746 )
752747
0 commit comments