Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24894002
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/tools/nasqueron-reports/src/nasqueron_reports/report.py b/tools/nasqueron-reports/src/nasqueron_reports/report.py
index 7cff4d6..38e7951 100644
--- a/tools/nasqueron-reports/src/nasqueron_reports/report.py
+++ b/tools/nasqueron-reports/src/nasqueron_reports/report.py
@@ -1,25 +1,30 @@
# -------------------------------------------------------------
# Nasqueron Reports :: Reports
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Description: Underlying types to represent a report
# License: BSD-2-Clause
# -------------------------------------------------------------
+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:
self.raw = raw
self.formatted = formatted
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Wed, Mar 18, 12:37 (1 d, 1 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3539664
Default Alt Text
(1 KB)
Attached To
Mode
rRPRT Nasqueron internal reports
Attached
Detach File
Event Timeline
Log In to Comment