container-registry / harbor-api-client

Appending to list immediately following its definition PY-W0070
Anti-pattern
Major
a year agoa year old
Appending to list immediately following its definition
 93                 returns the request thread.
 94        """
 95
 96        all_params = [ 97            "project_name_or_id",
 98            "policy_id",
 99            "x_request_id",
Appending to list immediately following its definition
 916                 returns the request thread.
 917        """
 918
 919        all_params = [ 920            "project_name_or_id",
 921            "webhook_policy_id",
 922            "policy",
Appending to list immediately following its definition
 762                 returns the request thread.
 763        """
 764
 765        all_params = [ 766            "project_name_or_id",
 767            "x_request_id",
 768            "x_is_resource_name",
Appending to list immediately following its definition
 629                 returns the request thread.
 630        """
 631
 632        all_params = ["project_name_or_id", "x_request_id", "x_is_resource_name"]  # noqa: E501 633        all_params.append("async_req")
 634        all_params.append("_return_http_data_only")
 635        all_params.append("_preload_content")
Appending to list immediately following its definition
 495                 returns the request thread.
 496        """
 497
 498        all_params = [ 499            "project_name_or_id",
 500            "webhook_policy_id",
 501            "x_request_id",