)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"7977687fb39a14bf9f84450f80379890e89d532c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"c91be1d1_bf0277a1","updated":"2026-05-08 16:39:59.000000000","message":"For the deprecation warning","commit_id":"0d6f2a8a5e49c546171f25c5c3c5f5b46d25a56a"}],"oslo_utils/fixture.py":[{"author":{"_account_id":15334,"name":"Stephen Finucane","display_name":"stephenfin","email":"stephenfin@redhat.com","username":"sfinucan"},"change_message_id":"049a92497c836a302c827cf0123f0bdaaa160463","unresolved":true,"context_lines":[{"line_number":47,"context_line":"            ).replace(tzinfo\u003dNone)"},{"line_number":48,"context_line":"        self._current_time \u003d override_time"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def _mock_utcnow(self, with_timezone: bool \u003d False) -\u003e datetime.datetime:"},{"line_number":51,"context_line":"        \"\"\"Mock implementation of utcnow that returns controlled time.\"\"\""},{"line_number":52,"context_line":"        if with_timezone:"},{"line_number":53,"context_line":"            import iso8601"}],"source_content_type":"text/x-python","patch_set":2,"id":"76645171_7b94bf00","line":50,"updated":"2026-05-08 16:38:06.000000000","message":"Call me dumb, but what is the `with_timezone` parameter doing here? How can I use it?\n\nLater: okay, this is for compatibility with the mocked thing. I wonder if we want to mark this parameter as deprecated so that we can remove it going forward?","commit_id":"0d6f2a8a5e49c546171f25c5c3c5f5b46d25a56a"},{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"56f7fe2ea8030e23b7810a054b5760742e9ee541","unresolved":true,"context_lines":[{"line_number":47,"context_line":"            ).replace(tzinfo\u003dNone)"},{"line_number":48,"context_line":"        self._current_time \u003d override_time"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def _mock_utcnow(self, with_timezone: bool \u003d False) -\u003e datetime.datetime:"},{"line_number":51,"context_line":"        \"\"\"Mock implementation of utcnow that returns controlled time.\"\"\""},{"line_number":52,"context_line":"        if with_timezone:"},{"line_number":53,"context_line":"            import iso8601"}],"source_content_type":"text/x-python","patch_set":2,"id":"b6ca8ddf_c197f394","line":50,"in_reply_to":"76645171_7b94bf00","updated":"2026-05-12 15:01:43.000000000","message":"Well, this is just the mock of `timeutils.utcnow` so `with_timezone` is already documented in the core API of the timeutils module, but, if you want, I can repeat the doc here again.\n\nConcerning the deprecation, IMO, I don\u0027t think we should deprecate this parameter as it is actively used for timezone-aware detection in `timeutils.utcnow` — aside of the deprecated statement of `timeutils.utcnow` related to the global state manipulation (`set_time_override`, `clear_time_override`, `advance_time_delta`, `advance_time_seconds`): \n\nhttps://opendev.org/openstack/oslo.utils/src/branch/master/oslo_utils/timeutils.py#L115-L120","commit_id":"0d6f2a8a5e49c546171f25c5c3c5f5b46d25a56a"},{"author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"change_message_id":"dbd319db67bd52ac3ad3d0a6c12f58c99f0977e9","unresolved":true,"context_lines":[{"line_number":47,"context_line":"            ).replace(tzinfo\u003dNone)"},{"line_number":48,"context_line":"        self._current_time \u003d override_time"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"    def _mock_utcnow(self, with_timezone: bool \u003d False) -\u003e datetime.datetime:"},{"line_number":51,"context_line":"        \"\"\"Mock implementation of utcnow that returns controlled time.\"\"\""},{"line_number":52,"context_line":"        if with_timezone:"},{"line_number":53,"context_line":"            import iso8601"}],"source_content_type":"text/x-python","patch_set":2,"id":"ec8d6111_74d10769","line":50,"in_reply_to":"b6ca8ddf_c197f394","updated":"2026-05-12 15:08:02.000000000","message":"I added the doc part.","commit_id":"0d6f2a8a5e49c546171f25c5c3c5f5b46d25a56a"}]}
