Peewee ORM sqlite create db with list of nested dictionaries from Google Analytics
问题 I have a simple problem. I am new to object oriented programming.. I have one big list of nested dictionaries, that should be presented within several tables. What I don't understand is how I can use objects to make this simpler. I am getting Google Analytics data for each user. LOGIC OF MY CODE: get the data for a single user (This data is in the format like this: {'sampleRate': 1, # Pageview activity 'sessions': [{'activityTime': '2020-01-08T15:48:38.012671Z', 'activityType': 'PAGEVIEW',