Skip to content

Conversation

@MaxNumerique
Copy link
Contributor

No description provided.

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
Copy link
Member

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"],
Copy link
Member

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 ?

Comment on lines 294 to 304


# 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)
Copy link
Member

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:
Copy link
Member

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 ?

@MaxNumerique MaxNumerique requested a review from BotellaA August 4, 2025 08:17
@MaxNumerique MaxNumerique merged commit a76b587 into next Aug 4, 2025
4 checks passed
@MaxNumerique MaxNumerique deleted the feat/input_file branch August 4, 2025 13:59
@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