Fix a type annotation for list_available_packages (#3711)
The repositories parameter is a variable-length tuple instead of a one-element tuple.
This commit is contained in:
parent
5e96448f37
commit
b0ede3c165
|
|
@ -127,7 +127,7 @@ def check_package_upgrade(package: str) -> str | None:
|
||||||
|
|
||||||
@lru_cache
|
@lru_cache
|
||||||
def list_available_packages(
|
def list_available_packages(
|
||||||
repositories: tuple[Repository],
|
repositories: tuple[Repository, ...],
|
||||||
) -> dict[str, AvailablePackage]:
|
) -> dict[str, AvailablePackage]:
|
||||||
"""
|
"""
|
||||||
Returns a list of all available packages in the database
|
Returns a list of all available packages in the database
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue