Skip to content

Commit f0d63bb

Browse files
committed
re-add deprecated field size_in_mb
1 parent 3c9e858 commit f0d63bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

datacrunch/containers/containers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,13 @@ class VolumeMount:
125125
Attributes:
126126
type: Type of volume mount.
127127
mount_path: Path where the volume should be mounted in the container.
128+
size_in_mb: Size of the volume in megabytes. Deprecated: use MemoryMount for memory volumes instead.
128129
"""
129130

130131
type: VolumeMountType
131132
mount_path: str
133+
# Deprecated: use MemoryMount for memory volumes instead.
134+
size_in_mb: Optional[int] = None
132135

133136

134137
@dataclass_json(undefined=Undefined.EXCLUDE)

0 commit comments

Comments
 (0)