mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-06-07 00:14:05 +00:00
accept kwargs to forward max conc
This commit is contained in:
parent
5031f33ea2
commit
be28fddeb5
@ -10,8 +10,9 @@ class BunnyStorageHandler(BaseHandler):
|
|||||||
api_key: str,
|
api_key: str,
|
||||||
fail_on_error: bool = True,
|
fail_on_error: bool = True,
|
||||||
keepalive_timeout: int = 75,
|
keepalive_timeout: int = 75,
|
||||||
|
**kwargs,
|
||||||
):
|
):
|
||||||
super().__init__(fail_on_error=fail_on_error)
|
super().__init__(fail_on_error=fail_on_error, **kwargs)
|
||||||
self.base_url = f"https://{region}.bunnycdn.com/{base_path}"
|
self.base_url = f"https://{region}.bunnycdn.com/{base_path}"
|
||||||
self.headers = {
|
self.headers = {
|
||||||
"AccessKey": api_key,
|
"AccessKey": api_key,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user