2.0.0b35
Report
Package: flyte.report
class Report(
name: str,
tabs: typing.Dict[str, flyte.report._report.Tab],
template_path: pathlib._local.Path,
)| Parameter | Type | Description |
|---|---|---|
name |
str |
|
tabs |
typing.Dict[str, flyte.report._report.Tab] |
|
template_path |
pathlib._local.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.
:return: 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. :return: The tab. |