Show a patch.

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

{
    "id": 15927,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15927/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15927/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20220517143325.71784-4-tomi.valkeinen@ideasonboard.com>",
    "date": "2022-05-17T14:33:15",
    "name": "[libcamera-devel,v2,03/13] py: pymain: fix indent",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "0e634a652b836336fdd330a40c40c078bd664587",
    "submitter": {
        "id": 109,
        "url": "https://patchwork.libcamera.org/api/1.1/people/109/?format=api",
        "name": "Tomi Valkeinen",
        "email": "tomi.valkeinen@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15927/mbox/",
    "series": [
        {
            "id": 3116,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3116/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3116",
            "date": "2022-05-17T14:33:12",
            "name": "Misc Python bindings patches",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/3116/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15927/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15927/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 5A6D3C326C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 17 May 2022 14:33:56 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E224E65668;\n\tTue, 17 May 2022 16:33:55 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EF68D6565F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 17 May 2022 16:33:52 +0200 (CEST)",
            "from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6620B8E6;\n\tTue, 17 May 2022 16:33:52 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652798036;\n\tbh=08UHnwYK2QMPLHUbZuBUvvtvloDpqUVnDTZ3FO99ziM=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=SWo3n2DguddPzV7+Lmku98dsubqqyN5UJbGQ9jYrkTu3mqvvBub5h89z3iwvKtAy8\n\tIVXJqyS2AwbeKUDognIw17TrMRkMNXozODmN9Z03o5shjtduu/p0FHEleMHVuBR7Qz\n\tqDgVNq9bUBV3vLZRAhl955UQmn6jbPlVSZfnYeQu+M8vqnIaaFsEp+OBk8ciMHyRYY\n\tzZeMBtLg3/1B2XxjM5bUGJRFSDQEBRjK7oU/tAnQXgVQ5ZuKWXkZu5uiFm8XrKUqmi\n\tzWEvxCJ9HIN7K9trQ8R/mhc7CvxQj/CYJcHax3gllErhg32XjggpCaJBwiTQz0XzDk\n\tTGaFusnGmYldQ==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1652798032;\n\tbh=08UHnwYK2QMPLHUbZuBUvvtvloDpqUVnDTZ3FO99ziM=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=A7bkfzyvzYK8YMK+0yocUPfKkv1zyoZ6rdZ5JY7zdYZCbUAYZ669azD6SE4zuquxf\n\tjm/3RuFd9ytF2A8oxhh1RH7FJA8/e7XsopcXwYeXYa1n8GktzpdeDFA5WlUe8ShSqC\n\tpZ9qfIFm8fR4mVKZynbdv6dLTueqApd0tFpdH9WQ="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"A7bkfzyv\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>",
        "Date": "Tue, 17 May 2022 17:33:15 +0300",
        "Message-Id": "<20220517143325.71784-4-tomi.valkeinen@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20220517143325.71784-1-tomi.valkeinen@ideasonboard.com>",
        "References": "<20220517143325.71784-1-tomi.valkeinen@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 03/13] py: pymain: fix indent",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "From": "Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Fix two minor mis-indents.\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/py/libcamera/pymain.cpp | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/src/py/libcamera/pymain.cpp b/src/py/libcamera/pymain.cpp\nindex fb89975c..af22205e 100644\n--- a/src/py/libcamera/pymain.cpp\n+++ b/src/py/libcamera/pymain.cpp\n@@ -394,7 +394,7 @@ PYBIND11_MODULE(_libcamera, m)\n \tpyStreamConfiguration\n \t\t.def(\"__str__\", &StreamConfiguration::toString)\n \t\t.def_property_readonly(\"stream\", &StreamConfiguration::stream,\n-\t\t                       py::return_value_policy::reference_internal)\n+\t\t\t\t       py::return_value_policy::reference_internal)\n \t\t.def_property(\n \t\t\t\"size\",\n \t\t\t[](StreamConfiguration &self) {\n@@ -416,7 +416,7 @@ PYBIND11_MODULE(_libcamera, m)\n \t\t.def_readwrite(\"frame_size\", &StreamConfiguration::frameSize)\n \t\t.def_readwrite(\"buffer_count\", &StreamConfiguration::bufferCount)\n \t\t.def_property_readonly(\"formats\", &StreamConfiguration::formats,\n-\t\t                       py::return_value_policy::reference_internal)\n+\t\t\t\t       py::return_value_policy::reference_internal)\n \t\t.def_readwrite(\"color_space\", &StreamConfiguration::colorSpace);\n \n \tpyStreamFormats\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "03/13"
    ]
}