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-02-19 09:50:36 +01:00
2020-01-19 21:07:54 +01:00
2020-01-21 19:40:02 +01:00
2020-01-21 19:40:02 +01:00
2020-02-19 09:50:36 +01:00
2020-04-09 22:01:35 +02:00
2020-02-20 18:29:08 +01:00
2020-02-19 09:48:42 +01:00
2020-02-19 09:50:27 +01:00
2020-04-09 22:01:35 +02:00
2020-01-12 23:32:28 +01:00
2020-02-19 09:50:45 +01:00
2020-01-12 23:32:28 +01:00
2020-02-20 11:27:26 +01:00
2020-04-09 22:01:35 +02:00
2020-01-21 19:40:02 +01:00