python-injector / python-injector/injector
Support eager singleton
Open
@sheinbergon is already working on this.
Since Aug 20, 2025.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
There doesn't seem to be a way to bind eager singletons. The only reference is in the Module's provides method, but this is unreferenced.
def provides(interface, scope=None, eager=False):
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.