update service

main
akumadoferudi 6 months ago
parent 495cfa3949
commit cd0caedcf3

@ -20,8 +20,6 @@ async def import_aro(
aro_file: UploadFile = File(..., description="ARO file"),
project_name: str = "trialapi"
):
# TEST ONLY
# return {'file': 'ok'}
# Create the input object manually
aeros_project_input = AerosProjectInput(schematic_name=schematic_name, aro_file=aro_file)

@ -124,10 +124,10 @@ async def import_aro_project(*, db_session: DbSession, aeros_project_in: AerosPr
# status_code=status.HTTP_500_INTERNAL_SERVER_ERROR, detail=str(e)
# )
await _initialize_default_project_data(
db_session=db_session,
project_name=project_name
)
# await _initialize_default_project_data(
# db_session=db_session,
# project_name=project_name
# )
async def _initialize_default_project_data(

Loading…
Cancel
Save