mypy: add typing annotations for novel lister abstractions
This commit is contained in:
parent
7dfd811e16
commit
6159faa2f5
3 changed files with 7 additions and 6 deletions
|
@ -77,7 +77,7 @@ class CRANLister(SimpleLister):
|
|||
"""
|
||||
return None
|
||||
|
||||
def list_packages(self, *args) -> List[Mapping[str, str]]:
|
||||
def list_packages(self, response) -> List[Mapping[str, str]]:
|
||||
"""Runs R script which uses inbuilt API to return a json response
|
||||
containing data about the R packages.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue