container-registry / harbor-api-client

Re-definition found for builtin function PYL-W0622
Anti-pattern
Major
9 months agoa year old
 47    }
 48
 49    def __init__(
 50        self, type=None, address=None, auth_header=None, skip_cert_verify=None, _configuration=None 51    ):  # noqa: E501
 52        """WebhookTargetObject - a model defined in Swagger"""  # noqa: E501
 53        if _configuration is None:
 37    attribute_map = {"type": "type", "cron": "cron", "next_scheduled_time": "next_scheduled_time"}
 38
 39    def __init__(
 40        self, type=None, cron=None, next_scheduled_time=None, _configuration=None 41    ):  # noqa: E501
 42        """ScheduleObj - a model defined in Swagger"""  # noqa: E501
 43        if _configuration is None:
 55    def __init__(
 56        self,
 57        id=None,
 58        type=None, 59        url=None,
 60        credential_type=None,
 61        access_key=None,
 50
 51    def __init__(
 52        self,
 53        type=None, 54        description=None,
 55        supported_resource_filters=None,
 56        supported_triggers=None,
 37    attribute_map = {"type": "type", "access_key": "access_key", "access_secret": "access_secret"}
 38
 39    def __init__(
 40        self, type=None, access_key=None, access_secret=None, _configuration=None 41    ):  # noqa: E501
 42        """RegistryCredential - a model defined in Swagger"""  # noqa: E501
 43        if _configuration is None: