jararaca 0.2.20__py3-none-any.whl → 0.2.21__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 jararaca might be problematic. Click here for more details.

@@ -251,11 +251,11 @@ def parse_type_to_typescript_interface(
251
251
  )
252
252
 
253
253
  if hasattr(basemodel_type, "__annotations__"):
254
- for field_name in (f for f in dir(basemodel_type) if is_constant(f)):
255
- field = getattr(basemodel_type, field_name)
256
- if field is None:
257
- continue
258
- string_builder.write(f" {field_name}: {parse_literal_value(field)};\n")
254
+ # for field_name in (f for f in dir(basemodel_type) if is_constant(f)):
255
+ # field = getattr(basemodel_type, field_name)
256
+ # if field is None:
257
+ # continue
258
+ # string_builder.write(f" {field_name}: {parse_literal_value(field)};\n")
259
259
  for field_name, field in basemodel_type.__annotations__.items():
260
260
  if field_name in cls_consts:
261
261
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: jararaca
3
- Version: 0.2.20
3
+ Version: 0.2.21
4
4
  Summary: A simple and fast API framework for Python
5
5
  Home-page: https://github.com/LuscasLeo/jararaca
6
6
  Author: Lucas S
@@ -1,6 +1,6 @@
1
1
  LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
2
2
  README.md,sha256=mte30I-ZEJJp-Oax-OganNgl6G9GaCZPL6JVFAvZGz4,7034
3
- pyproject.toml,sha256=bQTGsuDA8M23fRrJmIC36_z-UZueQhC_M06p_lEnuDg,1837
3
+ pyproject.toml,sha256=FjHyojTsOg-6l0EqxPv_DAblh7-fQXgGfgOqSZ0hUoI,1837
4
4
  jararaca/__init__.py,sha256=Dt5phB59JV6w9UaOAO7HxIqINazMJega8hVhFaerjr8,13184
5
5
  jararaca/__main__.py,sha256=-O3vsB5lHdqNFjUtoELDF81IYFtR-DSiiFMzRaiSsv4,67
6
6
  jararaca/cli.py,sha256=fh7lp7rf5xbV5VaoSYWWehktel6BPcOXMjW7cw4wKms,5693
@@ -55,9 +55,9 @@ jararaca/tools/app_config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
55
55
  jararaca/tools/app_config/decorators.py,sha256=-ckkMZ1dswOmECdo1rFrZ15UAku--txaNXMp8fd1Ndk,941
56
56
  jararaca/tools/app_config/interceptor.py,sha256=nfFZiS80hrbnL7-XEYrwmp2rwaVYBqxvqu3Y-6o_ov4,2575
57
57
  jararaca/tools/metadata.py,sha256=7nlCDYgItNybentPSSCc2MLqN7IpBd0VyQzfjfQycVI,1402
58
- jararaca/tools/typescript/interface_parser.py,sha256=ydTZmiORYbFZWzw2ZgxJLk1zb613IbPl3Xrj7GFXJYk,28372
59
- jararaca-0.2.20.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
60
- jararaca-0.2.20.dist-info/METADATA,sha256=rqIiQJE2hQZy8pi1ctkahd_5FPv4ZTfvlTyH1D5sAYY,8552
61
- jararaca-0.2.20.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
62
- jararaca-0.2.20.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
63
- jararaca-0.2.20.dist-info/RECORD,,
58
+ jararaca/tools/typescript/interface_parser.py,sha256=rvTlSGDffyxSwqoHDLxdXApwXDw0v8Tq6nOWPO033nQ,28382
59
+ jararaca-0.2.21.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
60
+ jararaca-0.2.21.dist-info/METADATA,sha256=DJnA44AKrVVw9DMR9lxY5hlmP0PQYVQFB6lIuj4ii0U,8552
61
+ jararaca-0.2.21.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
62
+ jararaca-0.2.21.dist-info/entry_points.txt,sha256=WIh3aIvz8LwUJZIDfs4EeH3VoFyCGEk7cWJurW38q0I,45
63
+ jararaca-0.2.21.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "jararaca"
3
- version = "0.2.20"
3
+ version = "0.2.21"
4
4
  description = "A simple and fast API framework for Python"
5
5
  authors = ["Lucas S <me@luscasleo.dev>"]
6
6
  readme = "README.md"