File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1214,7 +1214,9 @@ def __init__(self,
12141214 """Create a new Reader.
12151215
12161216 Args:
1217- format_or_path: The format or path to read from
1217+ format_or_path: The format or path to read from. For paths, we
1218+ will attempt to guess the mimetype of the source file
1219+ based on the extension.
12181220 stream: Optional stream to read from (Python stream-like object)
12191221 manifest_data: Optional manifest data in bytes
12201222
@@ -2283,7 +2285,9 @@ def sign_file(self,
22832285 """Sign a file and write the signed data to an output file.
22842286
22852287 Args:
2286- source_path: Path to the source file
2288+ source_path: Path to the source file. We will attempt
2289+ to guess the mimetype of the source file based on
2290+ the extension.
22872291 dest_path: Path to write the signed file to
22882292 signer: The signer to use
22892293
You can’t perform that action at this time.
0 commit comments