Skip to content

Commit 68fd16a

Browse files
committed
fix: Docs for streams
1 parent 06d90b4 commit 68fd16a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/c2pa/c2pa.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,7 +2142,8 @@ def _sign_internal(
21422142
signer: The signer to use
21432143
format: The MIME type or extension of the content
21442144
source_stream: The source stream
2145-
dest_stream: The destination stream, as Stream(BytesIO)
2145+
dest_stream: The destination stream,
2146+
opened in w+b (write+read binary) mode.
21462147
21472148
Returns:
21482149
Manifest bytes
@@ -2210,7 +2211,8 @@ def sign(
22102211
Args:
22112212
format: The MIME type or extension of the content
22122213
source: The source stream (any Python stream-like object)
2213-
dest: The destination stream (any Python stream-like object)
2214+
dest: The destination stream (any Python stream-like object),
2215+
opened in w+b (write+read binary) mode.
22142216
signer: The signer to use
22152217
22162218
Raises:

0 commit comments

Comments
 (0)