Hook up recently introduced options to all listers
Hopefully one day we'll be able to replace all of this mess with PEP692 TypedDict kwargs, but that's only on track for Python 3.12.
This commit is contained in:
parent
5ea79ee3e0
commit
e785e67315
31 changed files with 195 additions and 3 deletions
|
@ -63,12 +63,18 @@ class RubyGemsLister(StatelessLister[RubyGemsListerPage]):
|
|||
self,
|
||||
scheduler: SchedulerInterface,
|
||||
credentials: Optional[CredentialsType] = None,
|
||||
max_origins_per_page: Optional[int] = None,
|
||||
max_pages: Optional[int] = None,
|
||||
enable_origins: bool = True,
|
||||
):
|
||||
super().__init__(
|
||||
scheduler=scheduler,
|
||||
credentials=credentials,
|
||||
instance=self.INSTANCE,
|
||||
url=self.RUBY_GEMS_POSTGRES_DUMP_BASE_URL,
|
||||
max_origins_per_page=max_origins_per_page,
|
||||
max_pages=max_pages,
|
||||
enable_origins=enable_origins,
|
||||
)
|
||||
|
||||
def get_latest_dump_file(self) -> str:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue