Skip to content

Commit

Permalink
add constant
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Dec 12, 2024
1 parent c7d0946 commit 5c710dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
UploadedBytesTransferredCallback,
)
from models_library.api_schemas_storage import (
UNDEFINED_SIZE,
UNDEFINED_SIZE_TYPE,
LinkType,
S3BucketName,
Expand Down Expand Up @@ -538,7 +539,7 @@ async def delete_file(
enclosing_dir_fmd = await db_file_meta_data.get(
conn, enclosing_dir_file_id
)
enclosing_dir_fmd.file_size = -1
enclosing_dir_fmd.file_size = UNDEFINED_SIZE
await db_file_meta_data.upsert(conn, enclosing_dir_fmd)

async def delete_project_simcore_s3(
Expand Down

0 comments on commit 5c710dc

Please sign in to comment.