Unrud
9c622b57d5
Allow callable in configuration for plugin.type
Example:
```python3
\# Load default configuration
my_config = config.load()
\# Pass a class directly
my_config.update({"auth": {"type": MyAuth}})
\# Pass an object directly
my_rights = MyRights()
my_config.update({"rights": {"type": lambda config: my_rights}})
app = Application(my_config)
````
2020-04-09 22:01:35 +02:00
..
2020-01-15 01:27:41 +01:00
2018-09-04 03:33:45 +02:00
2020-02-20 10:41:33 +01:00
2020-02-19 09:50:27 +01:00
2020-02-19 09:50:36 +01:00
2020-04-09 22:01:35 +02:00
2020-02-19 09:50:36 +01:00
2020-02-19 09:50:36 +01:00
2020-02-20 11:27:26 +01:00
2020-02-19 09:50:36 +01:00