get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/139639/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 139639,
    "url": "http://patchwork.dpdk.org/api/patches/139639/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240423091252.62924-4-juraj.linkes@pantheon.tech/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20240423091252.62924-4-juraj.linkes@pantheon.tech>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240423091252.62924-4-juraj.linkes@pantheon.tech",
    "date": "2024-04-23T09:12:51",
    "name": "[v1,3/4] dts: unify super calls",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "eaa21ccf6e1c6e2a5f19fd91ac8e20cd00165cab",
    "submitter": {
        "id": 1626,
        "url": "http://patchwork.dpdk.org/api/people/1626/?format=api",
        "name": "Juraj Linkeš",
        "email": "juraj.linkes@pantheon.tech"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240423091252.62924-4-juraj.linkes@pantheon.tech/mbox/",
    "series": [
        {
            "id": 31808,
            "url": "http://patchwork.dpdk.org/api/series/31808/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31808",
            "date": "2024-04-23T09:12:48",
            "name": "node and inheritance improvements",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/31808/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/139639/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/139639/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id EC98F43EE8;\n\tTue, 23 Apr 2024 11:13:17 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id A391D40EE6;\n\tTue, 23 Apr 2024 11:13:01 +0200 (CEST)",
            "from mail-ed1-f46.google.com (mail-ed1-f46.google.com\n [209.85.208.46]) by mails.dpdk.org (Postfix) with ESMTP id B1AAB40E96\n for <dev@dpdk.org>; Tue, 23 Apr 2024 11:12:57 +0200 (CEST)",
            "by mail-ed1-f46.google.com with SMTP id\n 4fb4d7f45d1cf-572250b7704so153779a12.2\n for <dev@dpdk.org>; Tue, 23 Apr 2024 02:12:57 -0700 (PDT)",
            "from jlinkes-PT-Latitude-5530.pantheon.local\n (81.89.53.154.host.vnet.sk. [81.89.53.154])\n by smtp.gmail.com with ESMTPSA id\n be12-20020a0564021a2c00b0056bf7f92346sm6440534edb.50.2024.04.23.02.12.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 23 Apr 2024 02:12:56 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=pantheon.tech; s=google; t=1713863577; x=1714468377; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=zt+cpwojCFJbjCPuJwpMn36SqLh8GxwGPDpi4h0aSQg=;\n b=C5i3k2Rqqt9YdjtH5Yoc+s8dOl6dbWUQF9e/mP94hjYHzH2IwXwWL+uvb8usXO6ARz\n 1/ae7TfMNbTo2b7htlzhSZzmZpEp726UMarIMVOPnopo3jgJZkN4k8CTmhJba98HbGX/\n GPTkXsaWKdnUyzUppZ2tXtJ+0H2Uzu1auBxqVQqU2zoiRqcAl60rcSnRi62ATp/gmupQ\n 4OJo/WivP34J6v/Jghu6hyC46u1PLyhMdCKAO/yhChIchMzvr7V8TtGgbeT4+Pyve/UY\n gw1qBLor+PitD4KpC6vDkOWb7LMdTEONgecwqvkp2z3raoGHMnlAo1tLZiB8XmcOudJW\n r72Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1713863577; x=1714468377;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=zt+cpwojCFJbjCPuJwpMn36SqLh8GxwGPDpi4h0aSQg=;\n b=Mrck1LEWM3bir4rw2jBaZAVU7ekeIWQ8tG31g5GPoDEn7s6DO3UZcLLZRTWbh1buSO\n 7raFHQpeTHxA5nL24dvaGGO4EkPKLdYU+qm9wrLey6mFIIm8qY9n78h19udao6oXSO2U\n q8eZnebQTmBTl2q75mkuAjvhcl4i5MzEEQAmKg//Qh+leqpVk8GpCLwMRoiSE35cu9EL\n vodlP3yaNJlRdUVsijf1478+qi4Ce9xoXFRoLdZshYWAq2xOamTKKTiNjqRaHBrIZxH2\n ZoUKfrzhVLiIizSuHlYiPWjsBy7amPnNebQrtaLDxg+zFVCwwrRCY7eBLcNYondF7xsv\n e6zQ==",
        "X-Gm-Message-State": "AOJu0YxdsCteTQHEnqZUejAkPnH9PaNW1Xcm3mkoPAt+OAm62DigHVCr\n wTAKo1DMFJHPW4i313X7yL5sEoSCJCIGfyY9cvBU/Ed0Q/R0EyW5iitM0bspAas=",
        "X-Google-Smtp-Source": "\n AGHT+IFDKitDc2B00CyMppJsVm9veakKcNGHmsuZStEuLMFQS4O9WI/bD7u9jXKmCFqPMcLTF6uA0Q==",
        "X-Received": "by 2002:a50:c31c:0:b0:56c:2ef7:f3e6 with SMTP id\n a28-20020a50c31c000000b0056c2ef7f3e6mr8794717edb.0.1713863577304;\n Tue, 23 Apr 2024 02:12:57 -0700 (PDT)",
        "From": "=?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "To": "thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, jspewock@iol.unh.edu,\n probb@iol.unh.edu, paul.szczepanek@arm.com, Luca.Vizzarro@arm.com,\n npratte@iol.unh.edu",
        "Cc": "dev@dpdk.org, =?utf-8?q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>",
        "Subject": "[PATCH v1 3/4] dts: unify super calls",
        "Date": "Tue, 23 Apr 2024 11:12:51 +0200",
        "Message-Id": "<20240423091252.62924-4-juraj.linkes@pantheon.tech>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20240423091252.62924-1-juraj.linkes@pantheon.tech>",
        "References": "<20240423091252.62924-1-juraj.linkes@pantheon.tech>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "We have two ways of calling super() in the codebase. For single\ninheritance, there's no benefit in listing the arguments, as the\nfunction will do exactly what we need it to do.\n\nSigned-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>\n---\n dts/framework/test_result.py            | 12 ++++++------\n dts/framework/testbed_model/sut_node.py |  2 +-\n dts/framework/testbed_model/tg_node.py  |  4 ++--\n 3 files changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/dts/framework/test_result.py b/dts/framework/test_result.py\nindex 83e637c280..0163893adf 100644\n--- a/dts/framework/test_result.py\n+++ b/dts/framework/test_result.py\n@@ -249,7 +249,7 @@ def __init__(self, logger: DTSLogger):\n         Args:\n             logger: The logger instance the whole result will use.\n         \"\"\"\n-        super(DTSResult, self).__init__()\n+        super().__init__()\n         self.dpdk_version = None\n         self._logger = logger\n         self._errors = []\n@@ -338,7 +338,7 @@ def __init__(self, execution: ExecutionConfiguration):\n         Args:\n             execution: The execution's test run configuration.\n         \"\"\"\n-        super(ExecutionResult, self).__init__()\n+        super().__init__()\n         self._config = execution\n         self._test_suites_with_cases = []\n \n@@ -430,7 +430,7 @@ def __init__(\n             test_suites_with_cases: The test suites with test cases to be run in this build target.\n             build_target: The build target's test run configuration.\n         \"\"\"\n-        super(BuildTargetResult, self).__init__()\n+        super().__init__()\n         self.arch = build_target.arch\n         self.os = build_target.os\n         self.cpu = build_target.cpu\n@@ -491,7 +491,7 @@ def __init__(self, test_suite_with_cases: TestSuiteWithCases):\n         Args:\n             test_suite_with_cases: The test suite with test cases.\n         \"\"\"\n-        super(TestSuiteResult, self).__init__()\n+        super().__init__()\n         self.test_suite_name = test_suite_with_cases.test_suite_class.__name__\n         self._test_suite_with_cases = test_suite_with_cases\n \n@@ -534,7 +534,7 @@ def __init__(self, test_case_name: str):\n         Args:\n             test_case_name: The test case's name.\n         \"\"\"\n-        super(TestCaseResult, self).__init__()\n+        super().__init__()\n         self.test_case_name = test_case_name\n \n     def update(self, result: Result, error: Exception | None = None) -> None:\n@@ -592,7 +592,7 @@ def __init__(self, dpdk_version: str | None):\n         Args:\n             dpdk_version: The version of tested DPDK.\n         \"\"\"\n-        super(Statistics, self).__init__()\n+        super().__init__()\n         for result in Result:\n             self[result.name] = 0\n         self[\"PASS RATE\"] = 0.0\ndiff --git a/dts/framework/testbed_model/sut_node.py b/dts/framework/testbed_model/sut_node.py\nindex 10d56eba8d..800fbef860 100644\n--- a/dts/framework/testbed_model/sut_node.py\n+++ b/dts/framework/testbed_model/sut_node.py\n@@ -130,7 +130,7 @@ def __init__(self, node_config: SutNodeConfiguration):\n         Args:\n             node_config: The SUT node's test run configuration.\n         \"\"\"\n-        super(SutNode, self).__init__(node_config)\n+        super().__init__(node_config)\n         self._dpdk_prefix_list = []\n         self._build_target_config = None\n         self._env_vars = {}\ndiff --git a/dts/framework/testbed_model/tg_node.py b/dts/framework/testbed_model/tg_node.py\nindex d3206e87e0..b0126e5e3d 100644\n--- a/dts/framework/testbed_model/tg_node.py\n+++ b/dts/framework/testbed_model/tg_node.py\n@@ -48,7 +48,7 @@ def __init__(self, node_config: TGNodeConfiguration):\n         Args:\n             node_config: The TG node's test run configuration.\n         \"\"\"\n-        super(TGNode, self).__init__(node_config)\n+        super().__init__(node_config)\n         self.traffic_generator = create_traffic_generator(self, node_config.traffic_generator)\n         self._logger.info(f\"Created node: {self.name}\")\n \n@@ -90,4 +90,4 @@ def close(self) -> None:\n         This extends the superclass method with TG cleanup.\n         \"\"\"\n         self.traffic_generator.close()\n-        super(TGNode, self).close()\n+        super().close()\n",
    "prefixes": [
        "v1",
        "3/4"
    ]
}