cleanup commit
parent
818d6fb5ec
commit
c68e6f54bd
|
@ -1,6 +1,7 @@
|
|||
import data
|
||||
import polars as pl
|
||||
from data import etl_property_capacities as etl_pc
|
||||
from data import etl_region_capacities as etl_rc
|
||||
from fastapi import FastAPI, Response
|
||||
|
||||
d = data.load()
|
||||
|
@ -46,7 +47,7 @@ def property_base_data(id: int):
|
|||
|
||||
@app.get("/region/{id}/capacities")
|
||||
def region_capacities_data(id: int):
|
||||
capacities = etl_pc.region_capacities(id)
|
||||
capacities = etl_rc.region_capacities(id)
|
||||
return capacities
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from etl.src import data
|
||||
import data
|
||||
import polars as pl
|
||||
from io import StringIO
|
||||
import numpy as np
|
||||
|
|
Loading…
Reference in New Issue