logs-py 3.0.3__py3-none-any.whl → 3.0.4__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 logs-py might be problematic. Click here for more details.

@@ -26,6 +26,14 @@ class CustomFieldValueConverter:
26
26
  if isinstance(value, CustomFieldValue):
27
27
  return cast(Any, value)
28
28
 
29
+ if isinstance(value, CustomSectionValue):
30
+ if value.content:
31
+ value.content = [
32
+ cls.convert(v, f"{fieldName}.content[{i}]")
33
+ for i, v in enumerate(value.content)
34
+ ]
35
+ return cast(Any, value)
36
+
29
37
  if isinstance(value, dict):
30
38
  if "type" not in value:
31
39
  raise Exception(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: logs-py
3
- Version: 3.0.3
3
+ Version: 3.0.4
4
4
  Summary: A python interface for the LOGS public API
5
5
  Home-page: https://docs.logs-python.com
6
6
  Author: Sina Kazemi
@@ -35,7 +35,7 @@ LOGS/Entities/CustomFieldModels.py,sha256=65nExcAPiY32fvp3VdQtBaOQ8VZDxky34C7Vas
35
35
  LOGS/Entities/CustomFieldRelations.py,sha256=yQO1LKeamyB-E3dNhL9pVVKvT6ZMIzEf0Xjop4Cfl2M,221
36
36
  LOGS/Entities/CustomFieldRequestParameter.py,sha256=rYzBKAILmX64WY2Ngist85FTa6EPEBoBJtN17Q1eXFE,2373
37
37
  LOGS/Entities/CustomFieldValue.py,sha256=dutOo_SPR4oLLw8ZFesCn2d-A7FzqUW2Oy4FLbbeqmM,2507
38
- LOGS/Entities/CustomFieldValueConverter.py,sha256=tYxnK0ZGxNvA8mzLOw054NY50aA4T-MOVueEG3h6gNU,2236
38
+ LOGS/Entities/CustomFieldValueConverter.py,sha256=9U32OJ_RFdLWWm5FOio8MZsJyLVOBj7zYLPCp8X5fBU,2526
39
39
  LOGS/Entities/CustomFields.py,sha256=-LVjEtaKvyzVFcT7JkhPUnaoKu6-7TvZEB6kl2ZLnM0,470
40
40
  LOGS/Entities/CustomSchema.py,sha256=LD2PIpWKSBd8b9bMBZXdNqIMBGtMgcMVVOwMfE5I0R4,2223
41
41
  LOGS/Entities/CustomSchemaParameter.py,sha256=hU7bB0QiKHM9bSjunZePqB5Xvmm01g1cGP3H-6QHxi8,1195
@@ -258,7 +258,7 @@ LOGS/Parameters/ParameterElement.py,sha256=fr6AlO_flKRygZZFx1OILP4P-2lV2Tx4PAe6W
258
258
  LOGS/Parameters/ParameterList.py,sha256=ijukB1__iKI5cefmOIIWz0wKaPz9Cx8KpD7Y7Gz2Pn0,1478
259
259
  LOGS/Parameters/ParameterTable.py,sha256=7Lew4DPgWmKcpV1T-1Pvt00kEI05FB383QqO-LHAjds,1758
260
260
  LOGS/Parameters/__init__.py,sha256=jNF_VnD9u6V7usDFymzvDx5kzvcYssnpASICiKW0wdU,341
261
- logs_py-3.0.3.dist-info/METADATA,sha256=ZJ_KEvGBwckmHV0jTLjn37FKc6t8KH1ICuMR7MomxQs,2072
262
- logs_py-3.0.3.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
263
- logs_py-3.0.3.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
264
- logs_py-3.0.3.dist-info/RECORD,,
261
+ logs_py-3.0.4.dist-info/METADATA,sha256=Orq03RgPS8rejpL-1wp-4iuaWXLT341UScuQFmc36fA,2072
262
+ logs_py-3.0.4.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
263
+ logs_py-3.0.4.dist-info/top_level.txt,sha256=Ckn2LiAmGaR7k3tdEnKAc04z_uboMD4gLreYghRNdCs,5
264
+ logs_py-3.0.4.dist-info/RECORD,,