File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 99 "sphinx_autodoc_typehints" ,
1010 "sphinx.ext.intersphinx" ,
1111]
12- intersphinx_mapping = {"python" : ("https://docs.python.org/3" , None )}
12+ intersphinx_mapping = {
13+ "python" : ("https://docs.python.org/3" , None ),
14+ "flask" : ("https://flask.palletsprojects.com/" , None ),
15+ }
1316
1417# General information about the project.
1518project = "Fava"
Original file line number Diff line number Diff line change 77import sys
88import traceback
99from dataclasses import dataclass
10+ from functools import wraps
1011from inspect import get_annotations
1112from inspect import signature
1213from os import altsep
@@ -178,6 +179,7 @@ class FileImporters:
178179def _catch_any (func : Callable [P , T ]) -> Callable [P , T ]:
179180 """Helper to catch any exception that might be raised by the importer."""
180181
182+ @wraps (func )
181183 def wrapper (* args : P .args , ** kwds : P .kwargs ) -> T :
182184 try :
183185 return func (* args , ** kwds )
You can’t perform that action at this time.
0 commit comments