def _fake_post_request(
        self, url: str, json: serial_utils.JSON, headers: Optional[Dict] = None
    ) -> requests.Request:
        """Fake requests.Request object for a fake post request."""

        return requests.Request(
            method="POST",
            url=url,
            headers=headers,
            data=json,
        )
Fake requests.Request object for a fake post request.
src/feedback/trulens/feedback/dummy/endpoint.py