Skip to content

Commit f83d010

Browse files
author
Sylvain MARIE
committed
Fixed bug happening when pyfields is not installed. Fixed #33.
1 parent d0db31f commit f83d010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoclass/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def read_fields(cls,
110110
"""
111111
selected_names, init_fun_sig = read_fields_from_init(cls.__init__, include=include, exclude=exclude,
112112
caller=caller)
113-
return selected_names
113+
return selected_names, Source.INIT_ARGS
114114

115115

116116
def read_fields_from_init(init_fun,

0 commit comments

Comments
 (0)