Add support of custom providers.
See original GitHub issueWe need to realize something like this:
>>> from elizabeth import Generic
>>> generic = Generic('en')
>>> class SomeProvider():
def hello(self):
return "Hello!"
>>> class Another():
def bye(self):
return "Bye!"
>>> generic.add_provider(SomeProvider)
>>> generic.add_provider(Another)
>>> generic.someprovider.hello()
>>> generic.another.bye()
# Hello!
# Bye!
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Custom providers | NestJS - A progressive Node.js framework
Like any provider, a custom provider is scoped to its declaring module. To make it visible to other modules, it must be exported....
Read more >Create and use a custom resource provider - Azure
This tutorial shows how to create and use an Azure Custom Resource Provider. Use custom resource providers to change workflows on Azure.
Read more >Portis adds support for custom provider nodes - Medium
We're thrilled to announce that as of Portis-SDK v1.2.3, you can now configure your own provider node for all outgoing communication with ...
Read more >Using Custom User Providers with Keycloak - Baeldung
In this tutorial, we'll show how to add a custom provider to Keycloak, ... Keycloak supports the concept of custom providers.
Read more >How to Develop a Custom Provider in Terraform - InfraCloud
It allows infrastructure to be expressed as code in a simple, human readable language called HCL (HashiCorp Configuration Language). It supports ...
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 Free
Top 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

Sounds neat. Is there anything in particular you would like me to do? I’ll try to get started on it in the morning.
No problem, glad it works.