svc-infra 0.1.177__py3-none-any.whl → 0.1.178__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.
@@ -3,6 +3,8 @@ from datetime import datetime
3
3
  from typing import Optional
4
4
  import uuid
5
5
 
6
+ from svc_infra.auth.user_default import _pwd
7
+
6
8
  from sqlalchemy import (
7
9
  String, Boolean, DateTime, JSON, Text, func, UniqueConstraint, Index
8
10
  )
@@ -26,7 +28,7 @@ class User(ModelBase):
26
28
  password_hash: Mapped[str] = mapped_column(String(512), nullable=False)
27
29
 
28
30
  @property
29
- def password(self) -> str:
31
+ def password(self) -> str: # never readable
30
32
  raise AttributeError("password is write-only")
31
33
 
32
34
  @password.setter
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: svc-infra
3
- Version: 0.1.177
3
+ Version: 0.1.178
4
4
  Summary: Infrastructure for building and deploying prod-ready services
5
5
  License: MIT
6
6
  Keywords: fastapi,sqlalchemy,alembic,auth,infra,async,pydantic
@@ -49,7 +49,7 @@ svc_infra/db/core.py,sha256=3Efm88fajfKJa8gDiiTVkhx2ci_UbrLiR4B8gMQYuwU,10745
49
49
  svc_infra/db/scaffold.py,sha256=tlqqw_D7Oyzt1qm-UQnAKkzwHpmTTNmcNgInauzgoQ8,9896
50
50
  svc_infra/db/templates/__init__.py,sha256=HDUUOs-5eR9yuEs8JakwWewPw6swvRvmorWagSoSMVg,51
51
51
  svc_infra/db/templates/models_schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
- svc_infra/db/templates/models_schemas/auth/models.py.tmpl,sha256=5Ffzr4D9pjEOKrqhYuE7QkgMO_Ac29ranh9y1zDMajs,2451
52
+ svc_infra/db/templates/models_schemas/auth/models.py.tmpl,sha256=5H0I301gR9m2_zrxvay29TF0wV0yUjIlgR46oJkFT5s,2515
53
53
  svc_infra/db/templates/models_schemas/auth/schemas.py.tmpl,sha256=GjDDEHO-BNV-Xi5z2ZOygXovnECgSu8OkEg8Qx6vgIE,1693
54
54
  svc_infra/db/templates/models_schemas/entity/models.py.tmpl,sha256=dZk7a3WwpddSylPW81ARTyjbqJ-4rduX8-KAZ3Tlomo,1173
55
55
  svc_infra/db/templates/models_schemas/entity/schemas.py.tmpl,sha256=zBhid1jFPwVN86OvkiIJkTFphN7LDcs_Hs9kxxeoNjE,1009
@@ -75,7 +75,7 @@ svc_infra/observability/templates/prometheus_rules.yml,sha256=sbVLm1h40FMkGSeWO4
75
75
  svc_infra/observability/tracing/__init__.py,sha256=TOs2yCicqBdo4OfOHTMmqeHsn7DBRu5EdvF2L5f31Y0,237
76
76
  svc_infra/observability/tracing/setup.py,sha256=21Ob276U4KZOs6M2o1O79wQXFHV0gY6YdMyjeqMrzMU,5042
77
77
  svc_infra/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
78
- svc_infra-0.1.177.dist-info/METADATA,sha256=Pv0eiCffnr_mYR1TU_emig0_gVpB-RGsW_SKL1bLblk,4987
79
- svc_infra-0.1.177.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
80
- svc_infra-0.1.177.dist-info/entry_points.txt,sha256=6x_nZOsjvn6hRZsMgZLgTasaCSKCgAjsGhACe_CiP0U,48
81
- svc_infra-0.1.177.dist-info/RECORD,,
78
+ svc_infra-0.1.178.dist-info/METADATA,sha256=KJUDnzRLLHDuSm8sYtPM2vf5u85sKOUB2STDYJg2_vg,4987
79
+ svc_infra-0.1.178.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
80
+ svc_infra-0.1.178.dist-info/entry_points.txt,sha256=6x_nZOsjvn6hRZsMgZLgTasaCSKCgAjsGhACe_CiP0U,48
81
+ svc_infra-0.1.178.dist-info/RECORD,,