-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/input file #168
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/input file #168
Conversation
missing_files' binds changed for additional _files
mandatory_files and additional_files added to array still 11 errors
adapt generate_file for additional files
… to data_id folder
| for additional_file in missing_files.additional_files: | ||
| additional_files.append(os.path.basename(additional_file)) | ||
| mandatory_files = [ | ||
| os.path.basename(f.filename) for f in additional.mandatory_files if f.is_missing |
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.
est-ce que cette syntax est clair pour toi ou est-ce qu'il faut réflechir a chaque fois que tu lis la ligne ?
| flask.request.json["input_geode_object"], data | ||
| flask.request.json["input_geode_object"], | ||
| data, | ||
| original_filename=flask.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.
original ? pas sur que ca soit le bon nom, input/initial ?
|
|
||
|
|
||
| # def file_exists_in_upload(filename: str) -> bool: | ||
| # """Vérifie si un fichier existe dans le dossier d'upload.""" | ||
| # file_path = upload_file_path(filename) | ||
| # return os.path.exists(file_path) | ||
|
|
||
| # def file_exists_in_data(data_id: str, filename: str) -> bool: | ||
| # """Vérifie si un fichier existe dans le dossier de données.""" | ||
| # file_path = data_file_path(data_id, filename) | ||
| # return os.path.exists(file_path) |
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.
a supprimer ?
| object_type = geode_functions.get_object_type(geode_object) | ||
|
|
||
| additional_files_copied = [] | ||
| if original_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.
il a le droit d'etre optionel ?
new test.dxf generate_viewable function separeted into 2 functions
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…OpenGeodeWeb-Back into feat/input_file
…b-Back into feat/input_file
|
🎉 This PR is included in version 5.9.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.