return StagingDir object instead of string

This commit is contained in:
Jakub Trllo 2025-01-07 15:37:03 +01:00
parent ec2452c9c0
commit c6ea24edcf

View file

@ -161,11 +161,15 @@ def get_staging_dir_info(
)
if force_tmp_dir:
return get_temp_dir(
project_name=project_entity["name"],
anatomy=anatomy,
prefix=prefix,
suffix=suffix,
return StagingDir(
get_temp_dir(
project_name=project_entity["name"],
anatomy=anatomy,
prefix=prefix,
suffix=suffix,
),
is_persistent=False,
is_custom=False
)
# making few queries to database