alimuldal commented on PR #29137:
URL: https://github.com/apache/beam/pull/29137#issuecomment-2002052035

   I'd be happy to take a stab at adding support for `collections.abc.Sequence`.
   
   One thing thing that's a little unclear to me is whether we need to add a 
new `typehints.Sequence` type, as I can't see an obvious existing beam typehint 
that aligns with `typing.Sequence` and `collections.abc.Sequence`. There is a 
`SequenceTypeConstraint`, but I don't think it has exactly the behaviour we'd 
want (e.g. `is_compatible_with` always returns `False` for tuples, even if 
their types are compatible with the `inner_type` of the sequence).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to