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
Another obvious use case is creating models (I use dummy variables names, but the main point is that I want to show that we must unpack a dict):
calculated_data= {... # a dict with some dynamic datafoo_bar=PydanticModel(**calculated_data)
I do not understand why I am asked to pass request_headers instead of the **request_headers when I need to pass kwargs from my dictionary with some dynamically generated data.
This is so obvious use case so either I am missing something, or you overlooked such use case when designing this rule. Thanks.
Bug report
What's wrong
"WPS517 | Found pointless starred expression" doesn't report string unpacking,
dict
constructor, andlist
conversion:System information
flakehell.orsinium.dev playground
The text was updated successfully, but these errors were encountered: