Page MenuHomeDevCentral

D3694.id9555.diff
No OneTemporary

D3694.id9555.diff

diff --git a/tools/nasqueron-reports/src/nasqueron_reports/report.py b/tools/nasqueron-reports/src/nasqueron_reports/report.py
--- a/tools/nasqueron-reports/src/nasqueron_reports/report.py
+++ b/tools/nasqueron-reports/src/nasqueron_reports/report.py
@@ -7,16 +7,21 @@
# -------------------------------------------------------------
+from typing import List, Any
+
+
class RawReport:
"""The report fetched from the datasource"""
- def __init__(self, headers=None, rows=None):
+
+ def __init__(self, headers: Any = None, rows: List[Any] = None):
self.headers = headers
self.rows = rows
class Report:
"""The report with access to raw report and formatted version"""
- def __init__(self, raw=None, formatted=None):
+
+ def __init__(self, raw: RawReport | None = None, formatted: str = None):
if raw is None:
self.raw = RawReport()
else:

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 22, 02:00 (17 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3003805
Default Alt Text
D3694.id9555.diff (919 B)

Event Timeline