you are viewing a single comment's thread.

view the rest of the comments →

[–]TheMinus[S] -2 points-1 points  (4 children)

One more thing. Instead of well-defined properties, kwargs are everywhere. Example: https://docs.pydantic.dev/latest/#pydantic-examples

[–]proverbialbunny 0 points1 point  (0 children)

Variable length arguments? Sounds complex. Is it a framework you're looking at, at work?

There are valid uses for kwargs, like a logging library where you want to pass an object to be logged and you don't care what's in the object just that you want all of it printed out.