config post_init method not working for command line overrides
See original GitHub issueThe post_init only is being run with the default values in base_configs.py
. However, when we add overrides from the command line, e.g., --viewer.no-enable
, it won’t be re-run. @brentyi @evonneng thoughts on how to fix this and still have post_init logic somewhere? I’m curious if this would have to be built into the dcargs
library itself.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Override yml configuration in spring-boot with command line ...
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on...
Read more >Command line argument does not override remote config #907
Hi, I use these versions : Spring 5.0.3.RELEASE Spring Boot 2.0.0.RC1 Spring Cloud Config 2.0.0.M5 (Finchley.
Read more >Guide To Running Logic on Startup in Spring - Baeldung
Here we're trying to access an autowired field in the constructor. When the constructor is called, the Spring bean is not yet fully...
Read more >C Command Line Overrides
To create a Command Line Setting Override, add a system-property attribute, specifying the string you would like to assign as the name for...
Read more >Java Unit Testing with JUnit and TestNG
Regression Test: Tests to ensure the a change (such as enhancement, patches or configuration change) does not break the system or introduce new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ja makes sense. ill play around with this a bit today with the end goal of clearing out the post_init func. Thanks for the help Brent!
Oh this makes sense. You are suggesting calling methods on the config object!