square-authentication 10.0.0__py3-none-any.whl → 10.0.1__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.
@@ -682,6 +682,16 @@ async def get_user_details_v0(
682
682
  """
683
683
  main process
684
684
  """
685
+ local_list_user = global_object_square_database_helper.get_rows_v0(
686
+ database_name=global_string_database_name,
687
+ schema_name=global_string_schema_name,
688
+ table_name=User.__tablename__,
689
+ filters=FiltersV0(
690
+ root={
691
+ User.user_id.name: FilterConditionsV0(eq=user_id),
692
+ }
693
+ ),
694
+ )["data"]["main"]
685
695
  local_list_app = global_object_square_database_helper.get_rows_v0(
686
696
  database_name=global_string_database_name,
687
697
  schema_name=global_string_public_schema_name,
@@ -729,6 +739,7 @@ async def get_user_details_v0(
729
739
  """
730
740
  return_this = {
731
741
  "user_id": user_id,
742
+ "username": local_list_user[0][User.user_username.name],
732
743
  "profile": user_profile,
733
744
  "apps": [
734
745
  y[App.app_name.name]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: square_authentication
3
- Version: 10.0.0
3
+ Version: 10.0.1
4
4
  Summary: authentication layer for my personal server.
5
5
  Home-page: https://github.com/thepmsquare/square_authentication
6
6
  Author: Parth Mukesh Mangtani
@@ -8,15 +8,15 @@ square_authentication/pydantic_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
8
8
  square_authentication/pydantic_models/core.py,sha256=7H1N1y8VpPA_-NrudX8j0YG_YzpHnPXZuwtGaKRPSy0,1268
9
9
  square_authentication/pydantic_models/profile.py,sha256=tq7RJMfbMBMi7FaRQksWJR3Iucr2l8P2ziKgQvV4owg,110
10
10
  square_authentication/routes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- square_authentication/routes/core.py,sha256=680ys8LjnjSu9Npr67xco4SZ7BHJcwB09Tpki1nE12U,135543
11
+ square_authentication/routes/core.py,sha256=siUzI7DmQz7D5vw74GF56fsCXqdo9ZowTbgYFRv2wNk,136021
12
12
  square_authentication/routes/profile.py,sha256=9GDhy_NtS886KhCZKQ_0m94tPgAPJ6KrS_GbnXgOPYM,27033
13
13
  square_authentication/routes/utility.py,sha256=KDr8KdkT0jAGPjfP-b5XXYG7p49WU7J1FiK6oSIckQI,1779
14
14
  square_authentication/utils/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
15
15
  square_authentication/utils/core.py,sha256=2jMPnbbURNIMiajYfWIlGNblI7DocWNPZcU_psAq4SE,1567
16
16
  square_authentication/utils/encryption.py,sha256=WakaiEAgWpTJltxBzqOtv81_DCDKfzJqt60fWSPoNvo,2027
17
17
  square_authentication/utils/token.py,sha256=t-RPBY4cYyT1ro3lkLBTOy2BeRGBfluBVBivL5DLmDg,680
18
- square_authentication-10.0.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
19
- square_authentication-10.0.0.dist-info/METADATA,sha256=CROuAFk59HAoUSFvv0D_TTVmRMTgn-gsDJuv6lHsJSU,1909
20
- square_authentication-10.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- square_authentication-10.0.0.dist-info/top_level.txt,sha256=wDssVJIl9KIEJPj5rR3rv4uRI7yCndMBrvHd_6BGXQA,22
22
- square_authentication-10.0.0.dist-info/RECORD,,
18
+ square_authentication-10.0.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
19
+ square_authentication-10.0.1.dist-info/METADATA,sha256=5xhpYpvLuiP-4zfBh6h4W0ZNJh0YaMFaslbbL4GailQ,1909
20
+ square_authentication-10.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ square_authentication-10.0.1.dist-info/top_level.txt,sha256=wDssVJIl9KIEJPj5rR3rv4uRI7yCndMBrvHd_6BGXQA,22
22
+ square_authentication-10.0.1.dist-info/RECORD,,