Closed philipp94831 closed 1 year ago
I can take a look in to it and try to solve this. I mainly use windows , so I think this helps. Moreover I will try to take a look if everything in windows works as expected :)
so, should I lower case it and do that quick fix? or do you propose to make big shared dict that saves all the vars ? @philipp94831
We should create our own dict
We use os.environ in order to substitute internal variables such as
pipeline_name
: https://github.com/bakdata/kpops/blob/8f5e1bdc7f4ddf13e633259908fd1d9bcc4b34e0/kpops/pipeline_generator/pipeline.py#L90. However, when callingdict(os.environ)
, Windows returns a dictionary containing{"PIPELINE_NAME": ...}
. Therefore, substitution does not work. We should find another way to do the substitution. In my opinion, we should not add our internal variables to os.environ but rather add os.environ to our dictionary of variables.