File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -54,16 +54,18 @@ class ApiReportFetcher:
5454 """Class responsible for getting data from report API.
5555
5656 Attributes:
57- api_client: a client used for connecting to API.
58- parser: Type of parser to convert API response.
57+ api_client: Client used for connecting to API.
58+ parser: Class of parser to convert API response.
5959 query_specification_builder: Class to perform query parsing.
60+ builtin_queries:
61+ Mapping between query name and function for generating GarfReport.
6062 """
6163
6264 def __init__ (
6365 self ,
64- api_client : api_clients .BaseApiClient ,
65- parser : parsers .BaseParser = parsers .DictParser ,
66- query_specification_builder : query_editor .QuerySpecification = (
66+ api_client : api_clients .BaseClient ,
67+ parser : type [ parsers .BaseParser ] = parsers .DictParser ,
68+ query_specification_builder : type [ query_editor .QuerySpecification ] = (
6769 query_editor .QuerySpecification
6870 ),
6971 builtin_queries : dict [str , Callable [[ApiReportFetcher ], report .GarfReport ]]
You can’t perform that action at this time.
0 commit comments