Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 6887998

Browse files
chore: adding workaround to marshmallow problem
#13
1 parent a0cf588 commit 6887998

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

omni_reports/client/client.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ def __init__(
2626
async def execute_report(self, report_definition, context=None):
2727
context = context or dict()
2828
context = {**self.context, **context}
29-
30-
report_def = self.__report_definition_schema.load(report_definition)
29+
30+
# TODO: https://github.com/paretogroup/omni-reports/issues/13
31+
report_def = self.__report_definition_schema.load(report_definition).data
3132
report_records = await self.resolver.process(report_def, context, self)
3233
report = Report(
3334
report_definition=report_def,

0 commit comments

Comments
 (0)