xn-auth 0.2.32__py3-none-any.whl → 0.2.33__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.
x_auth/models.py CHANGED
@@ -68,8 +68,8 @@ class User(Model):
68
68
  async def is_blocked(cls, sid: str) -> bool:
69
69
  return (await cls[int(sid)]).blocked
70
70
 
71
- class Meta:
72
- abstract = True
71
+ # class Meta:
72
+ # abstract = True
73
73
 
74
74
 
75
75
  class Country(Model):
@@ -169,7 +169,7 @@ class App(Model):
169
169
  ver = CharField(18, default="0.0.1")
170
170
  fcm: ForeignKeyNullableRelation[Fcm] = ForeignKeyField("models.Fcm", "apps", null=True)
171
171
  fcm_id: int
172
- # owner: OneToOneRelation["User"] = OneToOneField("models.User", "app")
172
+ owner: OneToOneRelation["User"] = OneToOneField("models.User", "app")
173
173
 
174
174
  sessions: BackwardFKRelation["Session"]
175
175
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xn-auth
3
- Version: 0.2.32
3
+ Version: 0.2.33
4
4
  Summary: Auth adapter for XN-Api framework
5
5
  Author-email: Artemiev <mixartemev@gmail.com>
6
6
  License: MIT
@@ -2,9 +2,9 @@ x_auth/controller.py,sha256=0QhqmqXOqFaWIUTWHlJKITQNmJQ5kXZOkLg7wSUTh60,2240
2
2
  x_auth/enums.py,sha256=kmkX-j1bWNpel6_-fw2YtMEmJSAj9w2iizkG03s3ZSU,631
3
3
  x_auth/exceptions.py,sha256=2B4okJxhPyNqTJXlSTfblJUQJ60bLGXdgJIu6ue7S6w,162
4
4
  x_auth/middleware.py,sha256=JfssQomDv0J_69GfS2a_2_uyRzs26zSY6IW1Vk7m8K0,2900
5
- x_auth/models.py,sha256=SGuQLfT_kF5VdC7qSxD_cfWOszBFTJv6H2upyaCDqVw,7612
5
+ x_auth/models.py,sha256=5N9DvItkYkSDvHTskAYTW4qCK0FY9MGJ_iBUjrv6jNU,7614
6
6
  x_auth/types.py,sha256=j3WGcyH24DmFEdTT6U7xzb_fEm1tFcBZsANKMy7bydo,689
7
- xn_auth-0.2.32.dist-info/METADATA,sha256=4VUEifZVmx4ZVKXm9cCKTZEYMErTeKHgtpwMlS3gp60,799
8
- xn_auth-0.2.32.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
9
- xn_auth-0.2.32.dist-info/top_level.txt,sha256=ydMDkzxgQPtW-E_MNDfUAroAFZvWSqU-x_kZSA7NSFo,7
10
- xn_auth-0.2.32.dist-info/RECORD,,
7
+ xn_auth-0.2.33.dist-info/METADATA,sha256=ZVPjVhXD2_LoQhakKS5IG4wsyqnoPcWDd8Jw0JNJ3jE,799
8
+ xn_auth-0.2.33.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
9
+ xn_auth-0.2.33.dist-info/top_level.txt,sha256=ydMDkzxgQPtW-E_MNDfUAroAFZvWSqU-x_kZSA7NSFo,7
10
+ xn_auth-0.2.33.dist-info/RECORD,,