TypeError: '<' not supported between instances of 'float' and 'NoneType' 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: