)]}'
{"zuul_registry/main.py":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"a0cd2debd2f07edfbd8602e407a94b64e91f8bff","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        cherrypy.tree.mount(api, \u0027/\u0027, config\u003dconf)"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @staticmethod"},{"line_number":383,"context_line":"    def load_config(path: str, env: typing.Dict[str, str]) -\u003e typing.Any:"},{"line_number":384,"context_line":"        \"\"\"Replace path content value of the form %(ZUUL_ENV_NAME) with environment,"},{"line_number":385,"context_line":"           Then return the yaml load result\"\"\""},{"line_number":386,"context_line":"        with open(path) as f:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df33271e_ecdfa437","line":383,"range":{"start_line":383,"start_character":69,"end_line":383,"end_character":72},"updated":"2020-04-08 17:02:22.000000000","message":"Why use Any here when you expect a Dict back?","commit_id":"2393bc51ee9df79bc321aa0cd92aef855a512cf4"},{"author":{"_account_id":9311,"name":"Tristan Cacqueray","email":"tdecacqu@redhat.com","username":"tristanC"},"change_message_id":"8a2848360c736c1f0af94df0ce69ffd129131003","unresolved":false,"context_lines":[{"line_number":380,"context_line":"        cherrypy.tree.mount(api, \u0027/\u0027, config\u003dconf)"},{"line_number":381,"context_line":""},{"line_number":382,"context_line":"    @staticmethod"},{"line_number":383,"context_line":"    def load_config(path: str, env: typing.Dict[str, str]) -\u003e typing.Any:"},{"line_number":384,"context_line":"        \"\"\"Replace path content value of the form %(ZUUL_ENV_NAME) with environment,"},{"line_number":385,"context_line":"           Then return the yaml load result\"\"\""},{"line_number":386,"context_line":"        with open(path) as f:"}],"source_content_type":"text/x-python","patch_set":5,"id":"df33271e_4c27b013","line":383,"range":{"start_line":383,"start_character":69,"end_line":383,"end_character":72},"in_reply_to":"df33271e_ecdfa437","updated":"2020-04-08 17:07:54.000000000","message":"Because that\u0027s the current type of the config. You can observe that using this file:\n\n  ```python\n  import yaml\n  config \u003d yaml.load(open(\"registry.yaml\"))\n  reveal_type(config)\n  ```\n\nRunning that in mypy produces: `test.py:3: note: Revealed type is \u0027Any\u0027`","commit_id":"2393bc51ee9df79bc321aa0cd92aef855a512cf4"}]}
