File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -74,13 +74,16 @@ def get_doc_string(self):
74
74
"""Get doc string from customized query"""
75
75
default_docstring = "-- no docstring found in query function --"
76
76
77
- # Skip docstring parsing on Windows 32-bit systems
78
- if sys .platform == 'win32' :
77
+ # TODO: fix docstring parsing on Windows systems
78
+ # if sys.platform == 'win32':
79
+ # return default_docstring
80
+ try :
81
+ ds = getattr (self .custom_query , '__doc__' , None )
82
+ return ds if ds and isinstance (ds , str ) else default_docstring
83
+ except Exception as e :
84
+ print (e )
79
85
return default_docstring
80
86
81
- ds = getattr (self .custom_query , '__doc__' , None )
82
- return ds if ds and isinstance (ds , str ) else default_docstring
83
-
84
87
def get_methods (self ):
85
88
return [self .get_query_method ()]
86
89
You can’t perform that action at this time.
0 commit comments