Unrud
|
1bb1f37b3d
|
Replace pkg_resources with importlib for Python >= 3.9
Fixes #1184
|
2022-04-18 23:03:10 +02:00 |
|
Unrud
|
6ff0be84e4
|
Change name in file header
|
2021-12-20 21:21:21 +01:00 |
|
Unrud
|
c93d7b8715
|
More type hints
|
2021-12-20 21:21:20 +01:00 |
|
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 |
|
Unrud
|
0cd95f8a39
|
Rename loader to load_plugin
|
2020-01-15 00:33:21 +01:00 |
|
Unrud
|
8543f3ea1d
|
Extract method loader()
|
2020-01-14 22:43:48 +01:00 |
|