Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion snakemake_interface_report_plugins/reporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


from abc import ABC, abstractmethod
from typing import List, Mapping
from typing import List, Mapping, Dict, Optional, Union
from snakemake_interface_report_plugins.interfaces import (
CategoryInterface,
ConfigFileRecordInterface,
Expand All @@ -28,6 +28,9 @@ def __init__(
settings: ReportSettingsBase,
workflow_description: str,
dag: DAGReportInterface,
metadata: Optional[
Dict[str, Union[str, int, float, List[str], List[int], List[float]]]
] = None,
):
self.rules = rules
self.jobs = jobs
Expand All @@ -36,6 +39,7 @@ def __init__(
self.settings = settings
self.workflow_description = workflow_description
self.dag = dag
self.metadata = metadata

self.__post_init__()

Expand Down