Hi 👋🏼
Would it be possible to allow providing the initial Iter.substitution_data ?
As of today, fields are private and it's not possible to provide some initial substitution.
Use case: Sometimes you need to parse a dotenv file, but you need some substitution to be considered without modifying the environment. I had this case multiple times, sometimes it was to set the environment variables before load the dotenv file, but I have cases where I can't.
If this feature is acceptable to you, I might give a try to implementing it.
(Unless there is already this capability or another alternative I am not aware of)
Hi 👋🏼
Would it be possible to allow providing the initial
Iter.substitution_data?As of today, fields are private and it's not possible to provide some initial substitution.
Use case: Sometimes you need to parse a dotenv file, but you need some substitution to be considered without modifying the environment. I had this case multiple times, sometimes it was to set the environment variables before load the dotenv file, but I have cases where I can't.
If this feature is acceptable to you, I might give a try to implementing it.
(Unless there is already this capability or another alternative I am not aware of)