xync-schema 0.6.92.dev1__py3-none-any.whl → 0.6.92.dev2__py3-none-any.whl

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/__init__.py CHANGED
@@ -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())
xync_schema/models.py CHANGED
@@ -9,6 +9,9 @@ from x_auth.models import (
9
9
  Username as Username,
10
10
  User as TgUser,
11
11
  Proxy as Proxy,
12
+ Dc as Dc,
13
+ Fcm as Fcm,
14
+ App as App,
12
15
  Session as Session,
13
16
  Peer as Peer,
14
17
  UpdateState as UpdateState,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-schema
3
- Version: 0.6.92.dev1
3
+ Version: 0.6.92.dev2
4
4
  Summary: XyncNet project database model schema
5
5
  Author-email: Mike Artemiev <mixartemev@gmail.com>
6
6
  License: EULA
@@ -0,0 +1,8 @@
1
+ xync_schema/__init__.py,sha256=iuGuNLNesQNzMnfM2ao6QhgS-6E0LSdp2CV2c3qhubQ,379
2
+ xync_schema/enums.py,sha256=V0FYnenVT4gR5IN3zrAFRP2M7mHbQDoqwRl5xSI-lNc,12911
3
+ xync_schema/models.py,sha256=GEuDJPxST34c5NkgOlQ9jksPez4BkRiuiurqtSb16jY,30766
4
+ xync_schema/types.py,sha256=sYWjJMcwv7mjm38FnWyxWhT6Z4bGpt92BTVZrqyZ0Ic,1675
5
+ xync_schema-0.6.92.dev2.dist-info/METADATA,sha256=8dADCdN9bQWHympSgbXdCzsmLzglhK0fZYOJYPejrx0,4060
6
+ xync_schema-0.6.92.dev2.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
7
+ xync_schema-0.6.92.dev2.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
8
+ xync_schema-0.6.92.dev2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.4.0)
2
+ Generator: setuptools (80.7.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- xync_schema/enums.py,sha256=V0FYnenVT4gR5IN3zrAFRP2M7mHbQDoqwRl5xSI-lNc,12911
3
- xync_schema/models.py,sha256=OEAgynmLFYbp2PHwZJ3diyB7iCokggfuvk2I3q2b39g,30720
4
- xync_schema/types.py,sha256=sYWjJMcwv7mjm38FnWyxWhT6Z4bGpt92BTVZrqyZ0Ic,1675
5
- xync_schema-0.6.92.dev1.dist-info/METADATA,sha256=qqAOrrHll17uJUKJPE6y5FGMDOWipUifZfSW4542DVI,4060
6
- xync_schema-0.6.92.dev1.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
7
- xync_schema-0.6.92.dev1.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
8
- xync_schema-0.6.92.dev1.dist-info/RECORD,,