udim commented on pull request #15850:
URL: https://github.com/apache/beam/pull/15850#issuecomment-956384234


   > Hi, thanks for the contribution!
   > 
   > I think you need `from collections.abc import Sequence`, at least for 
Python 3.8:
   > 
   > ```
   > >>> import collections
   > >>> collections.abc.Sequence
   > Traceback (most recent call last):
   >   File "<stdin>", line 1, in <module>
   >   File 
"/usr/local/google/home/ehudm/.pyenv/versions/3.8.12/lib/python3.8/collections/__init__.py",
 line 55, in __getattr__
   >     raise AttributeError(f'module {__name__!r} has no attribute {name!r}')
   > AttributeError: module 'collections' has no attribute 'abc'
   > ```
   
   Or maybe: `import collections.abc`. Honestly, I'm not sure how the existing 
code works with `collections.abc.Iterable`.


-- 
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