xeroc/python-graphenelib

View on GitHub
graphenecommon/aio/amount.py

Summary

Maintainability
B
4 hrs
Test Coverage

Consider simplifying this complex logical expression.
Open

        if len(args) == 1 and isinstance(args[0], Amount):
            # Copy Asset object
            self["amount"] = args[0]["amount"]
            self["symbol"] = args[0]["symbol"]
            self["asset"] = args[0]["asset"]
Severity: Critical
Found in graphenecommon/aio/amount.py - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status