KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'd like to pass a dict to an object's constructor for use as kwargs. Obviously: foo = SomeClass(mydict) Simply passes a single argument, rather than the dict's contents. Alas: foo = SomeClass(kwargs=mydict) Which seems more sensible doesn't work either. What am I missing?
Tags (comma-separated)
Save Edits
Cancel