You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
importramdaasRold_list_of_objs= [{'name': 'a good name', 'age': 99, 'color': 'red'}, {'name': 'also a good name', 'age': 100, 'color': 'blue'}]
keys= ['name', 'age']
new_list_of_objs=list(map(R.pick(keys), old_list_of_objs)) # No value for argument 'dict' in function call (no-value-for-parameter)
R.pick does what it says on the label, but pylint complains. Of course this is resolvable by adding # pylint: disable=no-value-for-parameter before the line in question, but a linting error suggests that something may be awry with the library.
If this is user-error, I'd be grateful for an explanation of how I could avoid this linting error (other than with a disabling comment).
The text was updated successfully, but these errors were encountered:
python v3.7.7
pylint v2.4.4
ramda v0.5.7
R.pick
does what it says on the label, but pylint complains. Of course this is resolvable by adding# pylint: disable=no-value-for-parameter
before the line in question, but a linting error suggests that something may be awry with the library.If this is user-error, I'd be grateful for an explanation of how I could avoid this linting error (other than with a disabling comment).
The text was updated successfully, but these errors were encountered: