entari-plugin-database 0.3.1__tar.gz → 0.3.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: entari-plugin-database
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Entari plugin for SQLAlchemy ORM
5
5
  Author-Email: RF-Tar-Railt <rf_tar_railt@qq.com>
6
6
  License: MIT
@@ -11,7 +11,7 @@ Requires-Dist: graia-amnesia>=0.11.4
11
11
  Requires-Dist: tarina<0.8.0,>=0.7.1
12
12
  Requires-Dist: arclet-letoderea>=0.19.5
13
13
  Requires-Dist: alembic>=1.16.5
14
- Requires-Dist: arclet-entari<0.19.0,>=0.18.0rc1
14
+ Requires-Dist: arclet-entari<0.19.0,>=0.18.0rc4
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # entari-plugin-database
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "entari-plugin-database"
3
- version = "0.3.1"
3
+ version = "0.3.2"
4
4
  description = "Entari plugin for SQLAlchemy ORM"
5
5
  authors = [
6
6
  { name = "RF-Tar-Railt", email = "rf_tar_railt@qq.com" },
@@ -12,7 +12,7 @@ dependencies = [
12
12
  "tarina<0.8.0,>=0.7.1",
13
13
  "arclet-letoderea>=0.19.5",
14
14
  "alembic>=1.16.5",
15
- "arclet-entari<0.19.0,>=0.18.0rc1",
15
+ "arclet-entari<0.19.0,>=0.18.0rc4",
16
16
  ]
17
17
  requires-python = ">=3.10"
18
18
  readme = "README.md"
@@ -1,3 +1,4 @@
1
+ from arclet.entari.plugin import PluginRole
1
2
  from sqlalchemy.ext.asyncio import create_async_engine
2
3
  from arclet.letoderea.utils import add_task
3
4
  from arclet.entari import Plugin, plugin
@@ -21,8 +22,9 @@ from .config import Config
21
22
  plugin.declare_static()
22
23
  plugin.metadata(
23
24
  "Database 服务",
25
+ PluginRole.LIBRARY,
24
26
  [{"name": "RF-Tar-Railt", "email": "rf_tar_railt@qq.com"}],
25
- "0.3.1",
27
+ "0.3.2",
26
28
  description="基于 SQLAlchemy 的数据库服务插件",
27
29
  urls={
28
30
  "homepage": "https://github.com/ArcletProject/entari-plugin-database",