Skip to content

Commit 7aef6e1

Browse files
committed
typing for serialization lib
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 78fd4db commit 7aef6e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cyclonedx/model/component_evidence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from decimal import Decimal
2121
from enum import Enum
2222
from json import loads as json_loads
23-
from typing import Any, Optional, Type, Union
23+
from typing import Any, List, Optional, Type, Union
2424
from warnings import warn
2525
from xml.etree.ElementTree import Element as XmlElement # nosec B405
2626

@@ -586,7 +586,7 @@ def __init__(
586586
@property
587587
@serializable.xml_array(serializable.XmlArraySerializationType.NESTED, 'frame')
588588
@serializable.xml_sequence(1)
589-
def frames(self) -> 'list[CallStackFrame]':
589+
def frames(self) -> 'List[CallStackFrame]':
590590
"""
591591
Array of stack frames
592592
"""

0 commit comments

Comments
 (0)