Page MenuHomeDevCentral

No OneTemporary

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

Mime Type
text/x-diff
Expires
Wed, Mar 18, 12:37 (18 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3539664
Default Alt Text
(1 KB)

Event Timeline