This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from typing import List | |
from uuid import uuid4 | |
# Sample classes for building our data structure | |
class Inventory: | |
def __init__(self, name: str, express: bool=False): | |
self.name = name | |
self.express = express | |
self.id = str(uuid4()) |