This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # generated by datamodel-codegen: | |
| # filename: schema.siren.json | |
| # timestamp: 2025-02-18T14:12:41+00:00 | |
| from __future__ import annotations | |
| from typing import Annotated, Any, Dict, List, Literal | |
| from devtools import debug | |
| from pydantic import AnyUrl, BaseModel, Field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def graph_download(coords:list, | |
| root_dir:str, | |
| name:str,simplified=False, | |
| distance=9000, | |
| keep_geometries=False, | |
| nominatim_endpoint='http://localhost:8088/', | |
| network_type='drive'): | |
| graph_attrs = {'crs': 'epsg:4326', | |
| 'simplified': simplified |