Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
664f9cd6
Commit
664f9cd6
authored
Apr 16, 2024
by
liukaiwen
Browse files
io modules
parent
0746daf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/io/S3ReaderWriter.py
magic_pdf/io/S3ReaderWriter.py
+1
-1
No files found.
magic_pdf/io/S3ReaderWriter.py
View file @
664f9cd6
...
@@ -11,7 +11,7 @@ MODE_BIN = "binary"
...
@@ -11,7 +11,7 @@ MODE_BIN = "binary"
class
S3ReaderWriter
(
AbsReaderWriter
):
class
S3ReaderWriter
(
AbsReaderWriter
):
def
__init__
(
self
,
ak
:
str
,
sk
:
str
,
endpoint_url
:
str
,
addressing_style
:
str
,
parent_path
:
str
):
def
__init__
(
self
,
ak
:
str
,
sk
:
str
,
endpoint_url
:
str
,
addressing_style
:
str
=
'auto'
,
parent_path
:
str
=
''
):
self
.
client
=
self
.
_get_client
(
ak
,
sk
,
endpoint_url
,
addressing_style
)
self
.
client
=
self
.
_get_client
(
ak
,
sk
,
endpoint_url
,
addressing_style
)
self
.
path
=
parent_path
self
.
path
=
parent_path
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment