scruby 2.6.2__py3-none-any.whl → 2.6.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scruby
3
- Version: 2.6.2
3
+ Version: 2.6.3
4
4
  Summary: Asynchronous library for building and managing a hybrid database, by scheme of key-value.
5
5
  Project-URL: Bug Tracker, https://github.com/kebasyaty/scruby/issues
6
6
  Project-URL: Changelog, https://github.com/kebasyaty/scruby/blob/v2/CHANGELOG.md
@@ -147,6 +147,7 @@ from scruby import Scruby, ScrubyModel
147
147
 
148
148
  class User(ScrubyModel):
149
149
  """User model."""
150
+ username: str
150
151
  first_name: str
151
152
  last_name: str
152
153
  birthday: datetime
@@ -172,6 +173,7 @@ async def main() -> None:
172
173
 
173
174
  # Create user
174
175
  user = User(
176
+ username=f"user_1",
175
177
  first_name="John",
176
178
  last_name="Smith",
177
179
  birthday=datetime(1970, 1, 1, tzinfo=ZoneInfo("UTC")),
@@ -17,8 +17,8 @@ scruby/mixins/delete.py,sha256=InKVIud_ZYx9-CchUz_IygQDXMynNi4jQ0HKYeHC_R8,4328
17
17
  scruby/mixins/find.py,sha256=oEZRE6RqIBdwvNr8iSYyod8hI6ibi_egJP0pyXmJiss,9169
18
18
  scruby/mixins/keys.py,sha256=MvBy_8fQGROaQATK2qse2V8wR-xodPQG0KKZ2PK_t9U,10790
19
19
  scruby/mixins/update.py,sha256=TyxvxB-gNijlfzTmhwrq0ydvu0C3R-RihW5h5tJ96bM,4964
20
- scruby-2.6.2.dist-info/METADATA,sha256=wY8DdpOxNi_7cnChSYlg3IFu-IzU6IKp9WtW7aCNyRM,13317
21
- scruby-2.6.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
22
- scruby-2.6.2.dist-info/licenses/GPL-3.0-LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
23
- scruby-2.6.2.dist-info/licenses/MIT-LICENSE,sha256=mS0Wz0yGNB63gEcWEnuIb_lldDYV0sjRaO-o_GL6CWE,1074
24
- scruby-2.6.2.dist-info/RECORD,,
20
+ scruby-2.6.3.dist-info/METADATA,sha256=QGkTOYGg2rDw3JoKRF07Fx9bs8gdhcwELlKDXc7IXxI,13363
21
+ scruby-2.6.3.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
22
+ scruby-2.6.3.dist-info/licenses/GPL-3.0-LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
23
+ scruby-2.6.3.dist-info/licenses/MIT-LICENSE,sha256=mS0Wz0yGNB63gEcWEnuIb_lldDYV0sjRaO-o_GL6CWE,1074
24
+ scruby-2.6.3.dist-info/RECORD,,
File without changes