maleo-foundation 0.1.52__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,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.1.52
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
@@ -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.52.dist-info/METADATA,sha256=SMQ8kAlVCCNzBcPlovLzOXcXVbuW9CW-8lUAabfLcc0,3354
71
- maleo_foundation-0.1.52.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
72
- maleo_foundation-0.1.52.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
73
- maleo_foundation-0.1.52.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,,