mirror of
https://github.com/bcye/structured-wikivoyage-exports.git
synced 2025-06-05 15:34:06 +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,
|
||||
fail_on_error: bool = True,
|
||||
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.headers = {
|
||||
"AccessKey": api_key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user