01: Initial commit with neo4j

This commit is contained in:
exolonConfidental
2026-02-02 23:45:28 +05:30
commit 61162e01fb
15 changed files with 709 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from app.repositories.property_repo import find_nearest_property_and_owner
def get_nearest_asset(driver, lat: float, lng: float):
data = find_nearest_property_and_owner(driver, lat, lng)
if not data:
raise ValueError("No nearby property found")
return data