-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/folder path #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/folder path #166
Conversation
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…y for each project
…/OpenGeodeWeb-Back into feat/folder_path
…ble and update regex for file name assertions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment
…ibute_names, polyhedron_attribute_names test folder changed to match project_uuid path
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…/OpenGeodeWeb-Back into feat/folder_path
…zation and maintainability
There was a problem hiding this 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) |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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 ?
removed request_json in geode_functions
|
🎉 This PR is included in version 5.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.