Too many arguments in find_similar core function #31
Replies: 2 comments 2 replies
-
I think this way: if we want to use def find_similar(
object_to_check,
object_list,
count=5,
dictionary=None, # May be if it will be some map where one ore many objects related with one or many
) -> list:
|
Beta Was this translation helpful? Give feedback.
-
Sounds reasonable. If we change main function interface we should create new release 2.0 without |
Beta Was this translation helpful? Give feedback.
-
R0913 pylint
Too many arguments 6 (maximum 5 in pylint). It means that interface became too big and complex.
I propose to think about this problem.
Beta Was this translation helpful? Give feedback.
All reactions