nsj-rest-lib2 0.0.20__py3-none-any.whl → 0.0.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.
@@ -252,13 +252,13 @@ class EDLCompiler:
252
252
  compiler_result.entity_code = entity_code
253
253
  compiler_result.dto_class_name = dto_class_name
254
254
  compiler_result.dto_code = dto_code
255
+ compiler_result.relations_dependencies = relations_dependencies_complete
255
256
 
256
257
  # Compilando questões das APIs
257
258
  if isinstance(entity_model, EntityModel):
258
259
  compiler_result.api_expose = entity_model.api.expose
259
260
  compiler_result.api_resource = entity_model.api.resource
260
261
  compiler_result.api_verbs = entity_model.api.verbs
261
- compiler_result.relations_dependencies = relations_dependencies_complete
262
262
 
263
263
  get_logger().debug(f"código gerado para a entidade: {entity_model.id}")
264
264
  get_logger().debug("DTO Code:")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nsj_rest_lib2
3
- Version: 0.0.20
3
+ Version: 0.0.21
4
4
  Summary: Biblioteca para permitir a distribuição de rotas dinâmicas numa API, configuradas por meio de EDLs declarativos (em formato JSON).
5
5
  Home-page: https://github.com/Nasajon/nsj_rest_lib2
6
6
  Author: Nasajon Sistemas
@@ -26,6 +26,10 @@ Biblioteca para permitir a distribuição de rotas dinâmicas numa API, configur
26
26
  [ESPECIFICAÇÃO DO MODELO DE ENTIDADES](docs/especificacao.md)
27
27
 
28
28
  ## TODO
29
+ * Valores default
30
+ * Usar trait_properties como valor default
31
+ * Não está carregando a lista de dependências de execução, para os components
32
+ * Implementar gravação de entidades com extensão parcial
29
33
  * Unificar o arquivo redis_config.py
30
34
  * Usar pydantic, ou similar, para transformar a configuração das entidades, no redis, num objeto
31
35
  * Rever modo de usar o InjectFactory (talvez dando ciência, ao RestLib, do padrão multibanco)
@@ -4,7 +4,7 @@ nsj_rest_lib2/redis_config.py,sha256=4KLcvYS3nJO7PMQgF6F9_j6r-TyqcS7TBbd3LEQuKDU
4
4
  nsj_rest_lib2/settings.py,sha256=Hn_o1HZmievnYb8D1kNT2Nq-OEjxbyNjOiOpbnFsMwE,367
5
5
  nsj_rest_lib2/compiler/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  nsj_rest_lib2/compiler/ai_compiler.py,sha256=shAtN4T0ai_52qh15L3mK1QbeC6glHOR6C3J3gj14II,9029
7
- nsj_rest_lib2/compiler/compiler.py,sha256=K8npaE6BPs_Bxu3uSvB-hZF5JEIxgu4sVsKYqLk6wcI,27572
7
+ nsj_rest_lib2/compiler/compiler.py,sha256=LoJr8oFKF5Tpa_-ffqa0kBBqypbNVlvJo00RRpqGPUk,27568
8
8
  nsj_rest_lib2/compiler/compiler_structures.py,sha256=a_DF_nU4VgCt0sWJI03Ky6fPHvoIM0cjMkwQb_dYv6Q,1437
9
9
  nsj_rest_lib2/compiler/dto_compiler.py,sha256=mvZo19owtpFTjanCE20T0jmBKjhKXIVUsnR5raiGoRM,6728
10
10
  nsj_rest_lib2/compiler/entity_compiler.py,sha256=-mDA1-dHKYp0umQi1A4GbA0F1hlaC-gQRqj69vkADC4,6536
@@ -30,7 +30,7 @@ nsj_rest_lib2/controller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
30
30
  nsj_rest_lib2/controller/dynamic_controller.py,sha256=XMqxe1NW-NE5XwomXb4pSNdALQHpP74Hc26R4fnmXqg,15194
31
31
  nsj_rest_lib2/service/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
32
  nsj_rest_lib2/service/entity_loader.py,sha256=uB0xXih9Px2jSTMdZNIu6_3dngE37K7adKX03cYSRug,15660
33
- nsj_rest_lib2-0.0.20.dist-info/METADATA,sha256=SC3lNUvvmPq0kvWSdMfvbyzpo0jOTGY0VrVGR7bhBLU,1585
34
- nsj_rest_lib2-0.0.20.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
35
- nsj_rest_lib2-0.0.20.dist-info/top_level.txt,sha256=L6zh0EfH8_rur7OJ8_V-El-XEMf4qg3bkF8ADgqLVIA,14
36
- nsj_rest_lib2-0.0.20.dist-info/RECORD,,
33
+ nsj_rest_lib2-0.0.21.dist-info/METADATA,sha256=dp0eblopq0bUAmCc6x53ICZmJcWy9h7p0ckM7cg2xLE,1789
34
+ nsj_rest_lib2-0.0.21.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
35
+ nsj_rest_lib2-0.0.21.dist-info/top_level.txt,sha256=L6zh0EfH8_rur7OJ8_V-El-XEMf4qg3bkF8ADgqLVIA,14
36
+ nsj_rest_lib2-0.0.21.dist-info/RECORD,,