ApiLogicServer 14.2.1__py3-none-any.whl → 14.2.2__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.
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/METADATA +1 -1
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/RECORD +9 -9
- api_logic_server_cli/api_logic_server.py +2 -2
- api_logic_server_cli/api_logic_server_info.yaml +2 -2
- api_logic_server_cli/prototypes/base/logic/logic_discovery/auto_discovery.py +14 -0
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/LICENSE +0 -0
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/WHEEL +0 -0
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/entry_points.txt +0 -0
- {ApiLogicServer-14.2.1.dist-info → ApiLogicServer-14.2.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
api_logic_server_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
api_logic_server_cli/api_logic_server.py,sha256
|
|
3
|
-
api_logic_server_cli/api_logic_server_info.yaml,sha256=
|
|
2
|
+
api_logic_server_cli/api_logic_server.py,sha256=-O4Hr1FEsa5dJ-_8klsv4k3lNGv9xV6HHHoA1QV2ogE,111401
|
|
3
|
+
api_logic_server_cli/api_logic_server_info.yaml,sha256=6WuWB58_LIBdDDU_SdjMU_fOhEfz1veP7KFxBtw-0jI,136
|
|
4
4
|
api_logic_server_cli/cli.py,sha256=Weke_CaYY1obN8tDwp94ycqE_zkcDmcgnlFKC6NZ1fo,80286
|
|
5
5
|
api_logic_server_cli/cli_args_base.py,sha256=lr27KkOB7_WpZwTs7LgiK8LKDIHMKQkoZCTnE99BFxw,3280
|
|
6
6
|
api_logic_server_cli/cli_args_project.py,sha256=I5no_fGRV_ZsK3SuttVDAaQYI4Q5zCjx6LojGkM024w,4645
|
|
@@ -628,7 +628,7 @@ api_logic_server_cli/prototypes/base/integration/system/FlaskKafka.py,sha256=_Us
|
|
|
628
628
|
api_logic_server_cli/prototypes/base/integration/system/RowDictMapper.py,sha256=sTAUnF5N6YfWJ5gXLHqwD6ckDcQxN3Q2U_8VCwQBT4Q,18800
|
|
629
629
|
api_logic_server_cli/prototypes/base/logic/declare_logic.py,sha256=Av8CxFC5DW1DXlVnbwVH3cWtUAWO5fIGtGRqSzGEivU,3014
|
|
630
630
|
api_logic_server_cli/prototypes/base/logic/readme_declare_logic.md,sha256=CFC13f9Z4rTkNiRoJTBEz3A2F_yRThOj-HrHDsSdKsw,6630
|
|
631
|
-
api_logic_server_cli/prototypes/base/logic/logic_discovery/auto_discovery.py,sha256=
|
|
631
|
+
api_logic_server_cli/prototypes/base/logic/logic_discovery/auto_discovery.py,sha256=GzQ-r0K5zGFeSu7xIQKiMHA-XxLs6pViiogBU6vMwPk,1639
|
|
632
632
|
api_logic_server_cli/prototypes/base/logic/logic_discovery/__pycache__/__init__.cpython-312.pyc,sha256=5--1medTaKN83y-D_iv9EPiLD2uja_Q0r5ZkxX_pJM4,199
|
|
633
633
|
api_logic_server_cli/prototypes/base/logic/logic_discovery/__pycache__/auto_discovery.cpython-312.pyc,sha256=OHyWfpKrY0UbeSEwBnxsiIHPgpjzDSpCoyIa6ha4NVk,1579
|
|
634
634
|
api_logic_server_cli/prototypes/base/logic/logic_discovery/__pycache__/error_testing.cpython-312.pyc,sha256=NQKJ0pHsE53Nwmob8c03X_vkSV-MP_mj-1VFmJ3kRs0,2225
|
|
@@ -6241,9 +6241,9 @@ api_logic_server_cli/tools/mini_skel/database/system/SAFRSBaseX.py,sha256=p8C7AF
|
|
|
6241
6241
|
api_logic_server_cli/tools/mini_skel/database/system/TestDataBase.py,sha256=U02SYqThsbY5g3DX7XGaiMxjZBuOpzvtPS6RfI1WQFg,371
|
|
6242
6242
|
api_logic_server_cli/tools/mini_skel/logic/declare_logic.py,sha256=fTrlHyqMeZsw_TyEXFa1VlYBL7fzjZab5ONSXO7aApo,175
|
|
6243
6243
|
api_logic_server_cli/tools/mini_skel/logic/load_verify_rules.py,sha256=wzOjExm3hU_AW5D2hw0lUgAzCQd__2TrW5rM9LiBoOA,7543
|
|
6244
|
-
ApiLogicServer-14.2.
|
|
6245
|
-
ApiLogicServer-14.2.
|
|
6246
|
-
ApiLogicServer-14.2.
|
|
6247
|
-
ApiLogicServer-14.2.
|
|
6248
|
-
ApiLogicServer-14.2.
|
|
6249
|
-
ApiLogicServer-14.2.
|
|
6244
|
+
ApiLogicServer-14.2.2.dist-info/LICENSE,sha256=67BS7VC-Z8GpaR3wijngQJkHWV04qJrwQArVgn9ldoI,1485
|
|
6245
|
+
ApiLogicServer-14.2.2.dist-info/METADATA,sha256=HLlF8z-ZOaeqpr7S4kxcNl-CWSOd-ZN06Cg66BuHXrA,6446
|
|
6246
|
+
ApiLogicServer-14.2.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
6247
|
+
ApiLogicServer-14.2.2.dist-info/entry_points.txt,sha256=KiLloZJ3c_RW-nIDqBtoE0WEsQTnZ3dELwHLWi23LMA,103
|
|
6248
|
+
ApiLogicServer-14.2.2.dist-info/top_level.txt,sha256=-r0AT_GEApleihg-jIh0OMvzzc0BO1RuhhOpE91H5qI,21
|
|
6249
|
+
ApiLogicServer-14.2.2.dist-info/RECORD,,
|
|
@@ -12,10 +12,10 @@ ApiLogicServer CLI: given a database url, create [and run] customizable ApiLogic
|
|
|
12
12
|
Called from api_logic_server_cli.py, by instantiating the ProjectRun object.
|
|
13
13
|
'''
|
|
14
14
|
|
|
15
|
-
__version__ = "14.02.
|
|
15
|
+
__version__ = "14.02.02"
|
|
16
16
|
recent_changes = \
|
|
17
17
|
f'\n\nRecent Changes:\n' +\
|
|
18
|
-
"\t01/13/2024 - 14.02.01: support for import/merge of WebGenAI projects into Dev projects, rebuilt test data \n"\
|
|
18
|
+
"\t01/13/2024 - 14.02.01: webg logic, support for import/merge of WebGenAI projects into Dev projects, rebuilt test data \n"\
|
|
19
19
|
"\t01/06/2024 - 14.01.00: N8N, Rebuild test data, Fixup, Project Import, Improved reporting of missing attributes, Simplified RowDictMaper \n"\
|
|
20
20
|
"\t11/18/2024 - 12.02.00: genai: 'qualified any' now supported in logic training \n"\
|
|
21
21
|
"\t10/31/2024 - 12.01.00: genai: informal rules (eg, Sum of employee salaries cannot exceed department budget) \n"\
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
last_created_date: January 13, 2025
|
|
2
|
-
last_created_project_name:
|
|
1
|
+
last_created_date: January 13, 2025 20:22:40
|
|
2
|
+
last_created_project_name: ../../../servers/ApiLogicProject
|
|
3
3
|
last_created_version: 14.02.01
|
|
@@ -22,5 +22,19 @@ def discover_logic():
|
|
|
22
22
|
each_logic_file = importlib.util.module_from_spec(spec)
|
|
23
23
|
spec.loader.exec_module(each_logic_file) # runs "bare" module code (e.g., initialization)
|
|
24
24
|
each_logic_file.declare_logic() # invoke create function
|
|
25
|
+
|
|
26
|
+
wg_logic_path = Path(__file__).parent.parent.joinpath("wg_rules")
|
|
27
|
+
for root, dirs, files in os.walk(wg_logic_path):
|
|
28
|
+
for file in files:
|
|
29
|
+
if file.endswith(".py"):
|
|
30
|
+
spec = importlib.util.spec_from_file_location("module.name", wg_logic_path.joinpath(file))
|
|
31
|
+
if file.endswith("auto_discovery.py"):
|
|
32
|
+
pass
|
|
33
|
+
else:
|
|
34
|
+
logic.append(file)
|
|
35
|
+
each_logic_file = importlib.util.module_from_spec(spec)
|
|
36
|
+
spec.loader.exec_module(each_logic_file) # runs "bare" module code (e.g., initialization)
|
|
37
|
+
each_logic_file.init_rule() # invoke create function
|
|
38
|
+
|
|
25
39
|
app_logger.info(f"..discovered logic: {logic}")
|
|
26
40
|
return
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|