NVIDIA-Merlin / models

Merlin Models is a collection of deep learning recommender system model reference implementations
https://nvidia-merlin.github.io/models/main/index.html
Apache License 2.0
262 stars 50 forks source link

Replace import of collections.Sequence with collections.abc.Sequence #1166

Closed oliverholworthy closed 1 year ago

oliverholworthy commented 1 year ago

Fixes the following error in Python 3.10 environment

AttributeError: module 'collections' has no attribute 'Sequence'

Replace import of collections.Sequence with collections.abc.Sequence

This was deprecated in Python 3.7 and moved in Python 3.10

github-actions[bot] commented 1 year ago

Documentation preview

https://nvidia-merlin.github.io/models/review/pr-1166