maleo-foundation 0.1.51__py3-none-any.whl → 0.1.53__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.
@@ -20,6 +20,8 @@ class ClientHTTPControllerManager:
20
20
 
21
21
  async def _client_handler(self) -> AsyncGenerator[httpx.AsyncClient, None]:
22
22
  """Reusable generator for client handling."""
23
+ if self._client is None or (self._client is not None and self._client.is_closed):
24
+ self._client = httpx.AsyncClient()
23
25
  yield self._client
24
26
 
25
27
  async def inject_client(self) -> AsyncGenerator[httpx.AsyncClient, None]:
@@ -1,6 +1,4 @@
1
1
  import jwt
2
- from cryptography.hazmat.primitives import serialization
3
- from cryptography.hazmat.backends import default_backend
4
2
  from maleo_foundation.models.transfers.general.token import BaseTokenGeneralTransfers
5
3
  from maleo_foundation.models.schemas.token import BaseTokenSchemas
6
4
  from maleo_foundation.models.transfers.parameters.token import BaseTokenParametersTransfers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.1.51
3
+ Version: 0.1.53
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -16,7 +16,7 @@ maleo_foundation/managers/middleware.py,sha256=7CDXPMb28AR7J72TWOeKFxOlMypKezEtO
16
16
  maleo_foundation/managers/service.py,sha256=0T3dHcpGdkvT0YuTvPssRR8_wDkHTPW-VI8yUl9iY80,14928
17
17
  maleo_foundation/managers/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  maleo_foundation/managers/client/base.py,sha256=Z7_ANKbrlnShoZeSpP6N9Y0JLquDWG2FAedMvceYtt0,1120
19
- maleo_foundation/managers/client/maleo.py,sha256=rhm0yAk5tdMPsyRX7C-zgQoxEa6vQm4yMP7TPvlYoI4,4153
19
+ maleo_foundation/managers/client/maleo.py,sha256=xxzUERrpFQKWrOMxPi8t3zH0z3MliBii2cvXaRQunGI,4290
20
20
  maleo_foundation/managers/client/google/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  maleo_foundation/managers/client/google/base.py,sha256=0_4MYc-clsnSS2hjwwe-DNaycmcwsoUeF9mm21GLpbI,1202
22
22
  maleo_foundation/managers/client/google/secret.py,sha256=BNRE-VnD3GTgRtUQg2zzaitYHZ_yThTl7wRKPngqW-U,3067
@@ -53,7 +53,7 @@ maleo_foundation/models/transfers/results/service/query.py,sha256=G5A4FRkHyRRlpu
53
53
  maleo_foundation/models/transfers/results/service/controllers/__init__.py,sha256=HZJWMy2dskzOCzLmp_UaL9rjbQ-sDMI7sd2bXb-4QOU,175
54
54
  maleo_foundation/models/transfers/results/service/controllers/rest.py,sha256=wCuFyOTQkuBs2cqjPsWnPy0XIsCfMqGByhrSy57qp7Y,1107
55
55
  maleo_foundation/services/__init__.py,sha256=Ho5zJSA89xdGFKIwOdzjmd8sm23cIuwrqYAxCEBBTIU,120
56
- maleo_foundation/services/token.py,sha256=ExoyjnOthfLh1fRr_DSzZ9c6GUIqvlyN_6CZJMvCFi0,1344
56
+ maleo_foundation/services/token.py,sha256=QkiMBTe4aol2uDBfFP2MFa58j-yevr8HtBjenifElR0,1230
57
57
  maleo_foundation/utils/__init__.py,sha256=SRPEVoqjZoO6W8rtF_Ti8VIangg6Auwm6eHbZMdOthY,520
58
58
  maleo_foundation/utils/controller.py,sha256=ECzPzpw36zBAjKcWcDbUAhIJGbc6UpeypdUUX6ipXBg,6396
59
59
  maleo_foundation/utils/exceptions.py,sha256=LPPcU-6_3NbRIBZg2Nr2Ac5HF1qZJbHbMVnwfIfZg6g,3702
@@ -67,7 +67,7 @@ maleo_foundation/utils/loaders/__init__.py,sha256=Dnuv7BWyglSddnbsFb96s-b3KaW7UK
67
67
  maleo_foundation/utils/loaders/json.py,sha256=NsXLq3VZSgzmEf99tV1VtrmiudWdQ8Pzh_hI4Rm0cM8,397
68
68
  maleo_foundation/utils/loaders/key.py,sha256=GZ4h1ONfp6Xx8-E8AWoGP4ajAZrwPhZRtidjn_u82Qg,2562
69
69
  maleo_foundation/utils/loaders/yaml.py,sha256=jr8v3BlgmRCMTzdNgKhIYt1tnubaJXcDSSGkKVR8pbw,362
70
- maleo_foundation-0.1.51.dist-info/METADATA,sha256=9d21IPs3aAQAT0OM_KSi32ThpUcjnSPhzwky2MbD7No,3354
71
- maleo_foundation-0.1.51.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
72
- maleo_foundation-0.1.51.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
73
- maleo_foundation-0.1.51.dist-info/RECORD,,
70
+ maleo_foundation-0.1.53.dist-info/METADATA,sha256=kbspfEHcLNmIwhVZ9VJvqTU3IJcCR3VC4TWlY2aF2NQ,3354
71
+ maleo_foundation-0.1.53.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
72
+ maleo_foundation-0.1.53.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
73
+ maleo_foundation-0.1.53.dist-info/RECORD,,