-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
When using expand_vars=True
, and the content is like "${VAR}ANOTHER_CONTENT"
, the ANOTHER_CONTENT
will be ignored.
#359
Comments
Hm, I'd also expect expanded variables to work with other characters included. Would def appreciate a PR if any kind soul looks into this |
Hello! I am a first-time contributor to environs and new to open-source in general, so I apologize in advance if something I say does not make sense. This bug seems to be caused by environs/src/environs/__init__.py Lines 542 to 556 in ddd66d3
Meanwhile, environs/src/environs/__init__.py Lines 557 to 561 in ddd66d3
Using Please let me know if this approach makes sense, so I can open a pull request for the same. Thank you! |
Thanks @basedBaba , I also noticed this. I think you are correct. But I also want to point out that the r"$" is not handled correctly either. We'd better handle the var expansion and the r"$" replacement in one time. |
code
expect:
Val_A;Val_B;
what I got:
Val_A
is this a bug? Thanks very much!
The text was updated successfully, but these errors were encountered: