File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -170,13 +170,13 @@ def prepare_integration_mappings( # noqa: PLR0913
170170 """Prepare integration mappings for the given rule integrations."""
171171 integration_mappings : dict [str , Any ] = {}
172172 index_lookup : dict [str , Any ] = {}
173- dataset_restriction : dict [str , str ] = {}
173+ dataset_restriction : dict [str , list [ str ] ] = {}
174174
175175 # Process restrictions, note we need this for loops to be separate
176176 for event_dataset in event_dataset_integrations :
177177 # Ensure the integration is in rule_integrations
178178 if event_dataset .package not in rule_integrations :
179- dataset_restriction .setdefault (event_dataset .package , []).append (event_dataset .integration ) # type: ignore[reportIncompatibleMethodOverride]
179+ dataset_restriction .setdefault (event_dataset .package , []).append (event_dataset .integration )
180180 for event_dataset in event_dataset_integrations :
181181 if event_dataset .package not in rule_integrations :
182182 rule_integrations .append (event_dataset .package )
You can’t perform that action at this time.
0 commit comments