xync-schema 0.6.27__tar.gz → 0.6.28__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.
- {xync_schema-0.6.27/xync_schema.egg-info → xync_schema-0.6.28}/PKG-INFO +2 -3
- {xync_schema-0.6.27 → xync_schema-0.6.28}/pyproject.toml +1 -2
- {xync_schema-0.6.27 → xync_schema-0.6.28}/tests/test_db.py +3 -3
- xync_schema-0.6.27/xync_schema/models.py → xync_schema-0.6.28/xync_schema/model.py +2 -1
- {xync_schema-0.6.27 → xync_schema-0.6.28/xync_schema.egg-info}/PKG-INFO +2 -3
- {xync_schema-0.6.27 → xync_schema-0.6.28}/xync_schema.egg-info/SOURCES.txt +1 -1
- {xync_schema-0.6.27 → xync_schema-0.6.28}/xync_schema.egg-info/requires.txt +0 -1
- {xync_schema-0.6.27 → xync_schema-0.6.28}/.env.sample +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/.gitignore +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/.pre-commit-config.yaml +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/README.md +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/makefile +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/setup.cfg +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/tests/__init__.py +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/xync_schema/__init__.py +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/xync_schema.egg-info/dependency_links.txt +0 -0
- {xync_schema-0.6.27 → xync_schema-0.6.28}/xync_schema.egg-info/top_level.txt +0 -0
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xync-schema
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.28
|
|
4
4
|
Summary: XyncNet project database model schema
|
|
5
5
|
Author-email: Mike Artemiev <mixartemev@gmail.com>
|
|
6
6
|
License: EULA
|
|
7
7
|
Project-URL: Homepage, https://gitlab.com/xync/back/schema
|
|
8
8
|
Project-URL: Repository, https://gitlab.com/xync/back/schema
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: xtg-auth
|
|
12
12
|
Provides-Extra: dev
|
|
13
13
|
Requires-Dist: pytest; extra == "dev"
|
|
14
14
|
Requires-Dist: build; extra == "dev"
|
|
15
15
|
Requires-Dist: twine; extra == "dev"
|
|
16
|
-
Requires-Dist: setuptools_scm; extra == "dev"
|
|
17
16
|
|
|
18
17
|
## INSTALL
|
|
19
18
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "xync-schema"
|
|
3
|
-
requires-python = ">=3.
|
|
3
|
+
requires-python = ">=3.12"
|
|
4
4
|
authors = [
|
|
5
5
|
{name = "Mike Artemiev", email = "mixartemev@gmail.com"},
|
|
6
6
|
]
|
|
@@ -28,7 +28,6 @@ dev = [
|
|
|
28
28
|
"pytest",
|
|
29
29
|
"build",
|
|
30
30
|
"twine",
|
|
31
|
-
"setuptools_scm",
|
|
32
31
|
]
|
|
33
32
|
|
|
34
33
|
[tool.pytest.ini_options]
|
|
@@ -6,15 +6,15 @@ from tortoise import connections
|
|
|
6
6
|
from tortoise.backends.asyncpg import AsyncpgDBClient
|
|
7
7
|
from x_model import init_db
|
|
8
8
|
|
|
9
|
-
from xync_schema import
|
|
10
|
-
from xync_schema.
|
|
9
|
+
from xync_schema import model
|
|
10
|
+
from xync_schema.model import Cur
|
|
11
11
|
|
|
12
12
|
load_dotenv()
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
@pytest.fixture
|
|
16
16
|
async def dbc() -> AsyncpgDBClient:
|
|
17
|
-
await init_db(env("DB_URL"),
|
|
17
|
+
await init_db(env("DB_URL"), model, True)
|
|
18
18
|
cn: AsyncpgDBClient = connections.get("default")
|
|
19
19
|
yield cn
|
|
20
20
|
await cn.close()
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from enum import IntEnum
|
|
3
3
|
from tortoise import fields
|
|
4
|
-
from
|
|
4
|
+
from x_auth.model import Model
|
|
5
|
+
from x_model.model import TsTrait, DatetimeSecField
|
|
5
6
|
from tg_auth.models import UserRefTrait, UserInfoTrait, User as BaseUser, UserStatus
|
|
6
7
|
|
|
7
8
|
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: xync-schema
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.28
|
|
4
4
|
Summary: XyncNet project database model schema
|
|
5
5
|
Author-email: Mike Artemiev <mixartemev@gmail.com>
|
|
6
6
|
License: EULA
|
|
7
7
|
Project-URL: Homepage, https://gitlab.com/xync/back/schema
|
|
8
8
|
Project-URL: Repository, https://gitlab.com/xync/back/schema
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
10
|
Description-Content-Type: text/markdown
|
|
11
11
|
Requires-Dist: xtg-auth
|
|
12
12
|
Provides-Extra: dev
|
|
13
13
|
Requires-Dist: pytest; extra == "dev"
|
|
14
14
|
Requires-Dist: build; extra == "dev"
|
|
15
15
|
Requires-Dist: twine; extra == "dev"
|
|
16
|
-
Requires-Dist: setuptools_scm; extra == "dev"
|
|
17
16
|
|
|
18
17
|
## INSTALL
|
|
19
18
|
```bash
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|