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
It would be convenient to either have this as a method or make the yarl.URL a mapping such that dict(url) would do the same thing as the to_dict function above.
Describe alternatives you've considered
Keep on defining my little helper whenever I use yarl 😢
Additional context
No response
Code of Conduct
I agree to follow the aio-libs Code of Conduct
The text was updated successfully, but these errors were encountered:
Hello, I see you jumped to the change you want in the project. Could you also explain your use case like I'm five? I'm struggling to understand why one would want to turn a well-defined type-checkable/lintable structure into a dict of arbitrary non-semantic keys and values... As things stand, I view this as a bad idea.
Is your feature request related to a problem?
It would be useful to be able to split a
yarl.URL
in a dictionary of it's constituent parts.Describe the solution you'd like
I have a little helper function:
It would be convenient to either have this as a method or make the
yarl.URL
a mapping such thatdict(url)
would do the same thing as theto_dict
function above.Describe alternatives you've considered
Keep on defining my little helper whenever I use
yarl
😢Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: