Spaces:
Running
Running
alessandro trinca tornidor
[refactor] rename samgis module tosamgis_lisa_on_cuda, bump to version 1.3.0, update samgis and lisa_on_cuda dependencies
fcb8c81
import json | |
from samgis_lisa_on_cuda import PROJECT_ROOT_FOLDER | |
if __name__ == '__main__': | |
from samgis_lisa_on_cuda.utilities.type_hints import ApiRequestBody, ApiResponseBodyFailure, ApiResponseBodySuccess | |
with open(PROJECT_ROOT_FOLDER / "docs" / "specs" / "openapi_lambda_wip.json", "w") as output_json: | |
json.dump({ | |
"ApiRequestBody": ApiRequestBody.model_json_schema(), | |
"ApiResponseBodyFailure": ApiResponseBodyFailure.model_json_schema(), | |
"ApiResponseBodySuccess": ApiResponseBodySuccess.model_json_schema() | |
}, output_json) | |