Update creating-a-plugin.md

This commit is contained in:
jinser 2020-12-29 02:02:23 +08:00 committed by GitHub
parent a068040cbf
commit f53cf80221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,10 +82,10 @@ foo
示例: 示例:
```python ```python
from pydantic import BaseSetting from pydantic import BaseSettings
class Config(BaseSetting): class Config(BaseSettings):
# plugin custom config # plugin custom config
plugin_setting: str = "default" plugin_setting: str = "default"