TypeError: '>' not supported between instances of 'NoneType' and 'int' site:stackoverflow.com code example
Example: TypeError: '>' not supported between instances of 'NoneType' and 'float' site:stackoverflow.com
if logs.get('acc') is not None and logs.get('acc') > 0.95: