INNER CODE UNIT · Python
api_discover
Nuclear-Marmalade/dataforge · forge/dashboard/app.py:392
async def api_discover(
request: Request,
zip_code: str = Form(""),
industry: str = Form(""),
radius: int = Form(10),
limit: int = Form(100),
):
"""Execute Overture search and return HTML partial with results."""
err = _validate_discover_input(zip_code)
if err:
return err
results = []
error = None
try:
from forge.discovery.overture import OvertureDiscovery
discovery = OvertureDiscovery()