Generator 'generator' has no 'next' memberpylint(no-member) code example
Example: fakegen: Generator Instance of 'Generator' has no 'random_int' memberpylint(no-member)
pylint error isn't a concerning error.... You can use the following comment in your script to avoid the error notification :
#pylint: disable=no-member