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.

Use DependenciesContainer for config

See original GitHub issue

Why can’t I use a DependenciesContainer for inheriting a Configuration from a parent Container? I have to use providers.Configuration() on every level. This makes it tedious to e.g. change strict=true

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
wackazongcommented, Mar 4, 2021

Great, that’s what I was looking for. Thanks!

0reactions
wackazongcommented, Mar 26, 2021

For s3_client=... in Gateways I get a mypy warning: Provider[Any] has not attribute aws_access_key_id. I tried some thing bu I cannot figure out how to annotate this. Could you give me a hint maybe?

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 >
Chapter 12: DI Container introduction - Dependency Injection
Figure 12.2 Simplified workflow for Auto-Wiring. A DI Container uses its configuration to find the appropriate concrete class that matches the requested type....
Read more >
How To Manage Docker Dependencies With Ease
To create a container image, you need to use a Dockerfile—a simple text document containing a set of instructions for assembling an image....
Read more >
Automate the deployment of pod dependencies in Kubernetes
The recommended way to install application dependencies in Kubernetes is through Init Containers. Init Containers are defined in the pod ...
Read more >
Configure Service Dependency Step Settings - Harness.io Docs
These settings specify the maximum resources used by the container at runtime. Limit Memory. Maximum memory that the container can use.
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