mmerickel / wired

A service locator implementation for Python.
https://wired.readthedocs.io
MIT License
17 stars 9 forks source link

Predicate support in factory registration/lookup #30

Closed pauleveritt closed 4 years ago

pauleveritt commented 5 years ago

Support other predicates beside context/name, potentially extensible predicates.

In my other system (predico) based on dectate, I had a system of configurable predicates. Will be harder here, as we're based on adapter registry lookups.

pauleveritt commented 4 years ago

After talking with @mmerickel it's unlikely that wired will get a config system, so closing this.