-
Hi! It turned out, that here environment is updated with provided My problem was fixed by setting the variable value to an empty string. In docs of
This sounds like the env will be used "as is". Same name of parameter in Question: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
When following the link provided behind However, I can definitely see why one would be surprised though that Changing Is there anything else that you can imagine doing to improve this? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply! About 1), I think you would be most qualified to submit a PR with a documentation update, you could write the docs you would have liked to see, and the contribution would be much appreciated :). About 2): Since the capability was contributed, I could only guess. And doing just that, I guess the author saw this usage as primary use case, maybe even one that is most common for them. |
Beta Was this translation helpful? Give feedback.
-
I am closing this one as a kind of fix has been merged. |
Beta Was this translation helpful? Give feedback.
When following the link provided behind
docs
now, I seeenv – Optional dictionary containing the desired environment variables.
in theclone_from(...)
method. Inarguably this description is not very precise, and to me it doesn't sound like it would use the given environment dictionary as is.However, I can definitely see why one would be surprised though that
env
inclone_from
behaves differently fromenv
inexecute
for instance. The parameter name could have been better.Changing
env
inclone_from
to something more specific would be a breaking change, as is changing the name in any other method.Is there anything else that you can imagine doing to improve this?