Python

Python

By DeepSource

Function is too complex FLK-C901

Anti-pattern

Too many decision blocks were found, which is why the code has been tagged as complex. You should consider refactoring the code for simplicity. Read more about cyclomatic complexity here.