@@ -70,7 +70,9 @@ def upload_file() -> flask.Response:
7070 methods = schemas_dict ["allowed_objects" ]["methods" ],
7171)
7272def allowed_objects () -> flask .Response :
73- json_data = utils_functions .validate_request (flask .request , schemas_dict ["allowed_objects" ])
73+ json_data = utils_functions .validate_request (
74+ flask .request , schemas_dict ["allowed_objects" ]
75+ )
7476 params = schemas .AllowedObjects .from_dict (json_data )
7577 file_absolute_path = geode_functions .upload_file_path (params .filename )
7678 file_extension = utils_functions .extension_from_filename (
@@ -94,7 +96,9 @@ def allowed_objects() -> flask.Response:
9496 methods = schemas_dict ["missing_files" ]["methods" ],
9597)
9698def missing_files () -> flask .Response :
97- json_data = utils_functions .validate_request (flask .request , schemas_dict ["missing_files" ])
99+ json_data = utils_functions .validate_request (
100+ flask .request , schemas_dict ["missing_files" ]
101+ )
98102 params = schemas .MissingFiles .from_dict (json_data )
99103 file_path = geode_functions .upload_file_path (params .filename )
100104 geode_object = geode_functions .geode_object_from_string (params .geode_object_type )
@@ -156,7 +160,9 @@ def crs_converter_geographic_coordinate_systems() -> flask.Response:
156160 methods = schemas_dict ["inspect_file" ]["methods" ],
157161)
158162def inspect_file () -> flask .Response :
159- json_data = utils_functions .validate_request (flask .request , schemas_dict ["inspect_file" ])
163+ json_data = utils_functions .validate_request (
164+ flask .request , schemas_dict ["inspect_file" ]
165+ )
160166 params = schemas .InspectFile .from_dict (json_data )
161167 file_path = geode_functions .upload_file_path (params .filename )
162168 geode_object = geode_functions .geode_object_from_string (
@@ -222,7 +228,9 @@ def geode_objects_and_output_extensions() -> flask.Response:
222228 methods = schemas_dict ["save_viewable_file" ]["methods" ],
223229)
224230def save_viewable_file () -> flask .Response :
225- json_data = utils_functions .validate_request (flask .request , schemas_dict ["save_viewable_file" ])
231+ json_data = utils_functions .validate_request (
232+ flask .request , schemas_dict ["save_viewable_file" ]
233+ )
226234 params = schemas .SaveViewableFile .from_dict (json_data )
227235 return flask .make_response (
228236 utils_functions .generate_native_viewable_and_light_viewable_from_file (
@@ -238,7 +246,9 @@ def save_viewable_file() -> flask.Response:
238246 methods = schemas_dict ["texture_coordinates" ]["methods" ],
239247)
240248def texture_coordinates () -> flask .Response :
241- json_data = utils_functions .validate_request (flask .request , schemas_dict ["texture_coordinates" ])
249+ json_data = utils_functions .validate_request (
250+ flask .request , schemas_dict ["texture_coordinates" ]
251+ )
242252 params = schemas .TextureCoordinates .from_dict (json_data )
243253 geode_object = geode_functions .load_geode_object (params .id )
244254 if not isinstance (geode_object , GeodeSurfaceMesh2D | GeodeSurfaceMesh3D ):
@@ -334,7 +344,9 @@ def kill() -> flask.Response:
334344 methods = schemas_dict ["export_project" ]["methods" ],
335345)
336346def export_project () -> flask .Response :
337- json_data = utils_functions .validate_request (flask .request , schemas_dict ["export_project" ])
347+ json_data = utils_functions .validate_request (
348+ flask .request , schemas_dict ["export_project" ]
349+ )
338350 params = schemas .ExportProject .from_dict (json_data )
339351
340352 project_folder : str = flask .current_app .config ["DATA_FOLDER_PATH" ]
0 commit comments