Skip to content

Commit 335ff84

Browse files
fix type
1 parent 6b9d7fa commit 335ff84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/web/server/src/simcore_service_webserver/projects/projects_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ async def _get_default_pricing_and_hardware_info(
385385
_MACHINE_TOTAL_RAM_SAFE_MARGIN_RATIO: Final[
386386
float
387387
] = 0.1 # NOTE: machines always have less available RAM than advertised
388-
_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = ByteSize("1GiB")
388+
_SIDECARS_OPS_SAFE_RAM_MARGIN: Final[ByteSize] = TypeAdapter(ByteSize).validate_python("1GiB")
389389
_CPUS_SAFE_MARGIN: Final[float] = 1.4
390390
_MIN_NUM_CPUS: Final[float] = 0.5
391391

0 commit comments

Comments
 (0)