2.0.9
Report
Package: flyte.report
Parameters
class Report(
name: str,
tabs: typing.Dict[str, flyte.report._report.Tab],
template_path: pathlib.Path,
)| Parameter | Type | Description |
|---|---|---|
name |
str |
|
tabs |
typing.Dict[str, flyte.report._report.Tab] |
|
template_path |
pathlib.Path |
Methods
| Method | Description |
|---|---|
get_final_report() |
Get the final report as a string. |
get_tab() |
Get a tab by name. |
get_final_report()
def get_final_report()Get the final report as a string.
Returns: The final report.
get_tab()
def get_tab(
name: str,
create_if_missing: bool,
) -> flyte.report._report.TabGet a tab by name. If the tab does not exist, create it.
| Parameter | Type | Description |
|---|---|---|
name |
str |
The name of the tab. |
create_if_missing |
bool |
Whether to create the tab if it does not exist. |
Returns: The tab.