internal 0.1.69__py3-none-any.whl → 0.1.71__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.

Potentially problematic release.


This version of internal might be problematic. Click here for more details.

internal/http/requests.py CHANGED
@@ -18,7 +18,7 @@ async def async_request(app: FastAPI, method, url, current_user: dict = None, **
18
18
  }
19
19
 
20
20
  try:
21
- async with httpx.AsyncClient(timeout=timeout) as client:
21
+ async with httpx.AsyncClient(timeout=timeout, verify=False) as client:
22
22
  response = await client.request(method, url, **kwargs)
23
23
  return response
24
24
  except httpx.TimeoutException as exc:
@@ -9,7 +9,7 @@ from beanie import Document, Link
9
9
  async def async_response(data=None, message=None, code=None, page_no=None, total_num=None, page_size=None,
10
10
  status_code=status.HTTP_200_OK):
11
11
  def _serialize(data):
12
- if isinstance(data, Document):
12
+ if issubclass(data, Document):
13
13
  link_field_list = []
14
14
  for field_name in data.__annotations__:
15
15
  field_type = getattr(data, field_name)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 0.1.69
3
+ Version: 0.1.71
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -11,14 +11,14 @@ internal/ext/amazon/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
11
11
  internal/ext/amazon/aws/__init__.py,sha256=2YFjb-rHG1JaZGZiZffYDesgTAJjDshOqQbswOYzhP8,834
12
12
  internal/ext/amazon/aws/const.py,sha256=l4WMg5bKWujwOKABBkCO2zclNg3abnYOfbhD7DG8GsA,109
13
13
  internal/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- internal/http/requests.py,sha256=Uof9HbxVBconKNENlZkkvYpCbcU7XzBHpUAk1RutALc,1401
15
- internal/http/responses.py,sha256=4Pql7euUaXo-aRkpkpFP0STlnwiK06r1C-nlQ4M30ZU,1584
14
+ internal/http/requests.py,sha256=o-eMxG4HqlgJGoErPaiRywGbw5cfUYiW4wJGMXEovS4,1415
15
+ internal/http/responses.py,sha256=cBLKNxKJ5Q-uhcaiB1PvY-wC76G7qKURjPH45z4quZA,1584
16
16
  internal/interface/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  internal/interface/base_interface.py,sha256=R5MmO5oa5-ORPV_adkegLVCwsVio2zFOuQFGiby3khs,340
18
18
  internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  internal/model/base_model.py,sha256=gNbixWuGiK8Tbe78wHuLneZ8p3fwMwQRKurBDrGoh6s,1874
20
20
  internal/model/operate.py,sha256=Yuq7oyM2xmBy_X9021SgrpnpYQW6D_bgydI9PRFuQVQ,1619
21
21
  internal/utils.py,sha256=0SubS0iUhDvjSX1F4TykasA5-enYJzt2VH-f7_0BnjI,1509
22
- internal-0.1.69.dist-info/METADATA,sha256=IOoJc84Jbku3GK6LoJ96kya6VuxLSUFZIeHHcLAHiFE,625
23
- internal-0.1.69.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
24
- internal-0.1.69.dist-info/RECORD,,
22
+ internal-0.1.71.dist-info/METADATA,sha256=F-eSv-8yHcMbCZvm8XojXWPCJj3uMadhGFMNqkl4hRA,625
23
+ internal-0.1.71.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
24
+ internal-0.1.71.dist-info/RECORD,,