Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F11769608
D3694.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
919 B
Referenced Files
None
Subscribers
None
D3694.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 22, 05:27 (18 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3003805
Default Alt Text
D3694.diff (919 B)
Attached To
Mode
D3694: Improve typing
Attached
Detach File
Event Timeline
Log In to Comment