Usage report
usage_report ¶
A report that generates an html report about which repositories INFs originate from.
UsageReport ¶
A report that generates a INF usage report for a specific build.
report_info ¶
report_info() -> Tuple[str, str]
Returns the report standard information.
Returns:
Type | Description |
---|---|
(str, str)
|
A tuple of (name, description) |
add_cli_options ¶
add_cli_options(parserobj: ArgumentParser) -> None
Configure command line arguments for this report.
generate_data ¶
generate_data(
env_id: int, session: Session
) -> Tuple[dict, set]
Generates a list of pie chart data.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
env_id |
int
|
The environment id the report is generating off of. |
required |
session |
Session
|
The session with a connection to the database. |
required |
Returns:
Type | Description |
---|---|
(dict, set)
|
(pie chart data, set of all INFs) |