# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# #hide
# from your_lib.core import *

# # Project name here
#
# > Summary description here.

# This file will become your README and also the index of your documentation.

# ## Install

# `pip install your_project_name`

# ## Datasets

# https://bcs.wiley.com/he-bcs/Books?action=resource&bcsId=11520&itemId=1119024846&resourceId=45789&chapterId=135487

# !pip install pydantic

# +
from pydantic import BaseModel

from typing import Optional

class Uber(BaseModel):
    driver: Optional[str] = None
    car: Optional[str] = None


# -

uber1 = Uber(driver=2)
uber2 = Uber(car='Ford')
duber = dict(uber1)
duber

uber1['driver']

# +

[x for x in uber1.__iter__()]

# +

duber.update(uber2)
# -

duber

# +
# dicc.update??
# -



StarcoderdataJupyterScriptsDedupFiltered