question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: providers.Configuration from *.ini

See original GitHub issue

Hi,

I use this module daily at work and for me fits perfectly! Thanks so much for your work!

Question: Is there any way to load ini file directly to dependency_injector.providers.Configuration? Currently I solve this by implementing in Core my configuration loader and then override config values. Other way is to use directly python ConfigParser, load ini file and then override Core.config. I don’t want to use directly ConfigParser because I had too much customized this class.

So there is another question: Is there any awy to use customized ConfigParser to paste parameters from ini to Core.config?

best regards!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
rmk135commented, Jun 25, 2020
0reactions
LastStarDustcommented, Jun 11, 2020

Thank you very much

Read more comments on GitHub >

github_iconTop Results From Across the Web

ASP.NET Core Configuration - Configuration Providers
In this article, we're going to talk about different configuration providers in ASP.NET Core applications.
Read more >
Configuration provider - Dependency Injector
Configuration provider provides configuration options to the other providers. ... It implements the principle “use first, define later”. Loading from an INI file....
Read more >
Inject different implementation based on yaml configuration
So using dependency injector package, I've created a container: class Container(containers.DeclarativeContainer): config = providers.
Read more >
Using a configuration provider to externalize secrets
A configuration provider lets you specify variables instead of plaintext in a connector or worker configuration, and workers running in your connector resolve ......
Read more >
Configuration providers - .NET - Microsoft Learn
XML configuration provider ; INI configuration provider. Keys are case-insensitive. All of the file configuration providers throw the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found