Skip to content

Feat/folder path#166

Merged
MaxNumerique merged 44 commits into
nextfrom
feat/folder_path
Jul 30, 2025
Merged

Feat/folder path#166
MaxNumerique merged 44 commits into
nextfrom
feat/folder_path

Conversation

@MaxNumerique

Copy link
Copy Markdown
Contributor

No description provided.

@BotellaA BotellaA left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Comment thread tests/test_models_routes.py Outdated

@MaxNumerique MaxNumerique left a comment

Copy link
Copy Markdown
Contributor Author

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

@BotellaA BotellaA left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 ?

Comment thread tests/conftest.py
@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
Copy Markdown
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.

3 participants