)]}'
{"doc/source/conf.py":[{"author":{"_account_id":23851,"name":"Riccardo Pittau","email":"elfosardo@gmail.com","username":"elfosardo"},"change_message_id":"a977885f73698170c1cecca4d47e12f933f18691","unresolved":true,"context_lines":[{"line_number":147,"context_line":"# it will be overridden."},{"line_number":148,"context_line":"# NOTE(clif) Also suppress autodoc warnings as a whole since it seems"},{"line_number":149,"context_line":"# impossible to only suppress mocked imports warnings."},{"line_number":150,"context_line":"suppress_warnings \u003d [\u0027app.add_directive\u0027, \u0027autodoc\u0027]"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"# -- Options for HTML output --------------------------------------------------"},{"line_number":153,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"4d455f12_7dfa306f","line":150,"updated":"2026-02-27 09:15:33.000000000","message":"so autodoc_mock_imports does not work in this case ?","commit_id":"f8a472d4ef6ae233aeceed8517365ec157c1ea6b"},{"author":{"_account_id":14228,"name":"Clif Houck","email":"me@clifhouck.com","username":"clif_h"},"change_message_id":"2f346c441df4f1eafa96e7b98559e69dbf573d9d","unresolved":true,"context_lines":[{"line_number":147,"context_line":"# it will be overridden."},{"line_number":148,"context_line":"# NOTE(clif) Also suppress autodoc warnings as a whole since it seems"},{"line_number":149,"context_line":"# impossible to only suppress mocked imports warnings."},{"line_number":150,"context_line":"suppress_warnings \u003d [\u0027app.add_directive\u0027, \u0027autodoc\u0027]"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"# -- Options for HTML output --------------------------------------------------"},{"line_number":153,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"c0eaa6e3_eca3934f","line":150,"in_reply_to":"4d455f12_7dfa306f","updated":"2026-02-27 16:25:12.000000000","message":"I couldn\u0027t get it to work. Neither could I get it to suppress only mock_imports warnings with `\u0027autodoc.mock_imports\u0027`.\n\nThese are the warnings I get:\n```WARNING: A mocked object is detected: \u0027ironic.wsgi\u0027 [autodoc]                                                                                                                         \nWARNING: __all__ should be a list of strings, not ironic.wsgi.api.__all__ (in module ironic.wsgi.api) -- ignoring __all__ [autodoc]                                                   \nWARNING: A mocked object is detected: \u0027ironic.wsgi.api\u0027 [autodoc]```","commit_id":"f8a472d4ef6ae233aeceed8517365ec157c1ea6b"}]}
