Skip to content

Conversation

@MaxNumerique
Copy link
Contributor

No description provided.

Copy link
Member

@BotellaA BotellaA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor Author

@MaxNumerique MaxNumerique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

comment

@MaxNumerique MaxNumerique requested a review from BotellaA July 29, 2025 10:22
Copy link
Member

@BotellaA BotellaA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on y est presque

)
tree = ET.parse(vtm_file_path)
except FileNotFoundError:
return flask.make_response({"error": "VTM file not found"}, 404)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JulienChampagnol c'est une 404 ou une 500 ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

500

flask.request.json["geode_object"],
flask.request.json,
)
except FileNotFoundError:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on peut pas avoir une gestion des exceptions plus généralisé ? devoir faire un try/catch partout c'est assez intrusif

return geode_object_value(geode_object)["load"](file_absolute_path)


def data_file_path(request_json, filename):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ai vu pourquoi tu avais besoin du filename, mais du coup je trouve ca dommage de devoir donner la requete ET le filename. Dans ce cas, je dirais plutot donner l'id et le filename

)


def load_data(geode_object: str, request_json: dict):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

le geode_object il est pas dans la requete aussi ?

@MaxNumerique MaxNumerique merged commit 7796aeb into next Jul 30, 2025
6 checks passed
@MaxNumerique MaxNumerique deleted the feat/folder_path branch July 30, 2025 12:11
@JulienChampagnol
Copy link
Member

🎉 This PR is included in version 5.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants