Skip to content

Commit 12e5a5f

Browse files
author
Andrei Neagu
committed
added small docstring
1 parent 9574ed8 commit 12e5a5f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/simcore-sdk/src/simcore_sdk/node_ports_common/aws_s3_cli_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
def _parse_size(log_string):
1414
match = re.search(r"^\w+ (?P<size>[^\/]+)", log_string)
1515
if match:
16+
# NOTE: ByteSize does not know what `Bytes` are.
17+
# It only knows about `b` and omitting the word bytes if they are just bytes.
1618
return match.group("size").replace("Bytes", "")
1719
return None
1820

0 commit comments

Comments
 (0)