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.
- jararaca/tools/typescript/interface_parser.py +5 -5
- {jararaca-0.2.20.dist-info → jararaca-0.2.21.dist-info}/METADATA +1 -1
- {jararaca-0.2.20.dist-info → jararaca-0.2.21.dist-info}/RECORD +7 -7
- pyproject.toml +1 -1
- {jararaca-0.2.20.dist-info → jararaca-0.2.21.dist-info}/LICENSE +0 -0
- {jararaca-0.2.20.dist-info → jararaca-0.2.21.dist-info}/WHEEL +0 -0
- {jararaca-0.2.20.dist-info → jararaca-0.2.21.dist-info}/entry_points.txt +0 -0
|
@@ -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
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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
|
LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
2
2
|
README.md,sha256=mte30I-ZEJJp-Oax-OganNgl6G9GaCZPL6JVFAvZGz4,7034
|
|
3
|
-
pyproject.toml,sha256=
|
|
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=
|
|
59
|
-
jararaca-0.2.
|
|
60
|
-
jararaca-0.2.
|
|
61
|
-
jararaca-0.2.
|
|
62
|
-
jararaca-0.2.
|
|
63
|
-
jararaca-0.2.
|
|
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
|
File without changes
|
|
File without changes
|
|
File without changes
|