Webhook handler for NDD property development lookups. Provides a two-phase API: broad search returns a list of matching developments with fuzzy matching, and narrow search returns detailed development and bank information for a specific development ID.
ObjData.ObjData
|
+-- ObjHook
- _IsA = "ObjHookDevelopments"
- _Version = "1.1"
- kafka
- payload
+ Process(payload, webhook_code, Param1..Param8)
+ fuzz_match(text_a, text_b, score)
- _broad_search(auth_group, search_string, site_url, webhook_code)
- _narrow_search(development_id, auth_group)
| Method | Description |
|---|---|
__init__(DB, Page) |
Initialises the hook with database connection |
Process(payload, webhook_code, Param1..Param8) |
Reads auth group and development ID from bloom table, delegates to broad or narrow search |
fuzz_match(text_a, text_b, score) |
Checks if two strings match using weighted fuzzy ratio |
_broad_search(auth_group, search_string, site_url, webhook_code) |
Queries developments filtered by auth group with fuzzy matching |
_narrow_search(development_id, auth_group) |
Retrieves full development info and bank records for a specific ID |
ndd_prop_development filtered by development_source_key_codendd_prop_developmentndd_prop_development_bank| Table | Operation |
|---|---|
bloom_{webhook_code} |
SELECT - reads auth group, external GUID, search string |
ndd_prop_development |
SELECT - development data |
ndd_prop_development_source |
JOIN - filters by auth group |
ndd_prop_development_bank |
SELECT - bank and attorney info |
ObjData - base database functionalityfuzzywuzzy - fuzzy string matchingcythonize -3 -a -i ObjHookDevelopments.py
Compiling /home/axion/projects/axion/factory.webhook/ObjHookDevelopments.py because it changed..[1/1] Cythonizing /home/axion/projects/axion/factory.webhook/ObjHookDevelopments.py
Updated: 2026-03-20