xync-schema 0.6.92.dev1__tar.gz → 0.6.92.dev2__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.92.dev1/xync_schema.egg-info → xync_schema-0.6.92.dev2}/PKG-INFO +1 -1
- xync_schema-0.6.92.dev2/xync_schema/__init__.py +17 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema/models.py +3 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2/xync_schema.egg-info}/PKG-INFO +1 -1
- xync_schema-0.6.92.dev1/xync_schema/__init__.py +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/.env.sample +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/.gitignore +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/.pre-commit-config.yaml +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/README.md +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/makefile +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/pyproject.toml +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/setup.cfg +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/tests/__init__.py +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/tests/test_db.py +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema/enums.py +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema/types.py +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema.egg-info/SOURCES.txt +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema.egg-info/dependency_links.txt +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema.egg-info/requires.txt +0 -0
- {xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
async def main():
|
|
2
|
+
from os import getenv as env
|
|
3
|
+
from dotenv import load_dotenv
|
|
4
|
+
import logging
|
|
5
|
+
from x_model import init_db
|
|
6
|
+
from xync_schema import models
|
|
7
|
+
from logging import DEBUG
|
|
8
|
+
|
|
9
|
+
load_dotenv()
|
|
10
|
+
logging.basicConfig(level=DEBUG)
|
|
11
|
+
await init_db(env("DB_URL"), models, True)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
if __name__ == "__main__":
|
|
15
|
+
from asyncio import run
|
|
16
|
+
|
|
17
|
+
run(main())
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xync_schema-0.6.92.dev1 → xync_schema-0.6.92.dev2}/xync_schema.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|