File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def read_config(
5757) -> PipelineGraph :
5858 """Reads `filenames` and returns a PipelineGraph"""
5959
60- cp = ConfigParser ()
60+ cp = ConfigParser (interpolation = None )
6161 for filename in filenames :
6262 with open (filename , "r" , encoding = "utf-8" ) as fh :
6363 cp .read_file (fh )
@@ -87,7 +87,7 @@ def config_to_graph(cp: ConfigParser, base_dir: str = ".") -> PipelineGraph:
8787
8888def graph_to_config (pipeline_graph : PipelineGraph , base_dir : str = "." ) -> ConfigParser :
8989 pipeline_graph .reset_node_names ()
90- cp = ConfigParser ()
90+ cp = ConfigParser (interpolation = None )
9191 for node in pipeline_graph .traverse_nodes ():
9292 write_config_node (node , cp , base_dir )
9393 return cp
@@ -103,7 +103,7 @@ def write_config(pipeline_graph: PipelineGraph, filename: str):
103103
104104
105105def write_config_node_string (node : PipelineNode , base_dir : str = "" ):
106- cp = ConfigParser ()
106+ cp = ConfigParser (interpolation = None )
107107 write_config_node (node , cp , base_dir )
108108 buf = io .StringIO ()
109109 cp .write (buf )
You can’t perform that action at this time.
0 commit comments