fix: [vulnerability_lookup] Avoiding issues with `Iterator` in python3.8

pull/670/head
Christian Studer 2024-07-08 11:52:26 +02:00
parent 7d7dc1e633
commit 2423bc7ade
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -3,8 +3,8 @@ import requests
from . import check_input_attribute, standard_error_message
from ._vulnerability_parser.vulnerability_parser import (
VulnerabilityMapping, VulnerabilityParser)
from collections.abc import Iterator
from pymisp import MISPObject
from typing import Iterator
misperrors = {'error': 'Error'}
mispattributes = {'input': ['vulnerability'], 'format': 'misp_standard'}