We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I request to be able to fill in the environment variable name by calling os.path.environmentvars when setting the value in main.py#L98.
An environment variable name is, for example, %TEMP% (in Windows).
[.env] LOG_DIR=%TEMP%\log
If possible, it would be nice if it could be called recursively. os.path.expandvars will only expand the environment variable name once.
def expandvarsRecursive(value):. expanded = os.path.expandvars(value) return value if expanded == value else expandvarsRecursive(expanded)
The reason for this is that if it is called recursively, we don't have to keep track of the same values.
[.env] PROJECT_HOME=C:\project LOG_DIR=%PROJECT_HOME%\log TRACE_LOG_DIR=%LOG_DIR%\trace
Please consider this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I request to be able to fill in the environment variable name by calling os.path.environmentvars when setting the value in main.py#L98.
An environment variable name is, for example, %TEMP% (in Windows).
If possible, it would be nice if it could be called recursively. os.path.expandvars will only expand the environment variable name once.
The reason for this is that if it is called recursively, we don't have to keep track of the same values.
Please consider this.
The text was updated successfully, but these errors were encountered: