collerek/ormar

View on GitHub
ormar/fields/base.py

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Function __init__ has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def __init__(self, **kwargs: Any) -> None:
        self.__type__: type = kwargs.pop("__type__", None)
        self.__pydantic_type__: type = kwargs.pop("__pydantic_type__", None)
        self.__sample__: type = kwargs.pop("__sample__", None)
        self.related_name = kwargs.pop("related_name", None)
Severity: Minor
Found in ormar/fields/base.py - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status