API reference
python:astx:astx.SequenceType.__init__
method __init__
__init__(element_type: DataType) -> None
Source: packages/astx/src/astx/types/collections.py:76
Declared as: python:astx:astx.types.collections.SequenceType.__init__
Declare the exact element contract of a borrowed sequence.
Parameters
- element_type — Type of each element.; Type: DataType
Returns
Type: None