def parse(data: bytes, **contextkw: ContextKWType) -> Container[Any]
This is the type hint you have used for it. However the docstring of this function mentions it can support a whole lot of other types (from bytes, bytearray, memoryview, array etc.). The closest type hint which comes to my mind is _typeshed.ReadableBuffer for this.
This is the type hint you have used for it. However the docstring of this function mentions it can support a whole lot of other types (from bytes, bytearray, memoryview, array etc.). The closest type hint which comes to my mind is
_typeshed.ReadableBufferfor this.