rewrite _process_parameter_type in auto_docstring.py to improve usability #42431
rewrite to improve its usability
a9025ed9
Yacklin
force pushed
from
bf593b73
to
f951d0c2
189 days ago
Yacklin
force pushed
from
f951d0c2
to
98d26eab
187 days ago
rewrite to improve its usability
f87cd5fb
Clarify comment about function parameter elements
bf887c06
Yacklin
force pushed
from
98d26eab
to
bf887c06
184 days ago
Update implementation of _process_parameter_type
4771d2a6
rewrite to improve its usability
c3396171
Clarify comment about function parameter elements
09149159
Yacklin
force pushed
from
bf887c06
to
09149159
184 days ago
Merge branch 'rewrite-_process_parameter_type-to-improve-usability' o…
31a6a479
reformat it a little bit
0a8e1d39
Merge branch 'rewrite-_process_parameter_type-to-improve-usability' o…
02f68ba1
reformat it a little bit
3e5244fc
used a wrong ruff version..... this one should be good
bc14531d
update the string manipulation
840c915d
Merge branch 'main' into rewrite-_process_parameter_type-to-improve-u…
ce95c957
Trying for more consistency
46a064b5
make fixup
f9c09997
Try another approach
a0bc6275
Don't include "None" in the out_str when we're already setting optional
ecb90008
Add some new-style types to GPT-J to see what happens
f6978527
Correct use of UnionType
58dca011
make fixup
c91f05ba
Add a little snarky comment about typing just because
1abc7165
Correctly return the same strings as the old function
e9c848ce
Drop unnecessary args
d45e7d56
Remove redundant args information
faefabfe
add one more elif statement to deal with the case when type hint is None
a7796838
add if statement to handle the parameter with default value
0f351883
Revert GPT-J changes
4e5a4ad1
Merge remote-tracking branch 'origin/rewrite-_process_parameter_type-…
6f87cc4e
Merge branch 'main' into rewrite-_process_parameter_type-to-improve-u…
a5092e52
Trigger tests
e6c67bb3
Yacklin
deleted the rewrite-_process_parameter_type-to-improve-usability branch 170 days ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub