Skip to content

Multiple if-elif statements:"similar-code" issue in project/main/util_helper.py #93

Description

@SabCampos

The file util_helper.py contains a set of functions that are repeated but they are not queries unlike the functions found on same_helper.py

CodeClimate has found the following issue:
Similar blocks of code found in 7 locations. Consider refactoring.

We would like to reduce the amount of if-elif blocks of code.

https://codeclimate.com/github/qAIRa/qAIRaMapAPI-OpenSource/project/main/util_helper.py#issue_614d41590513f9000100005d

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions