Data Structure

Your Data Structure Is Too Flexible

Python makes it easy to pass data around as dicts, nested JSON blobs, and “whatever the client sent”. That flexibility is useful when you own the shape. It gets expensive when the data crosses a trust boundary.