Skip to content

Instantly share code, notes, and snippets.

@codemation
Created November 15, 2021 08:23
Show Gist options
  • Save codemation/5f39e7dc1466b98e142a2447c824ae70 to your computer and use it in GitHub Desktop.
Save codemation/5f39e7dc1466b98e142a2447c824ae70 to your computer and use it in GitHub Desktop.
pydbantic_app_0.py
# app.py
from models import Employee
employee = Employee(
salary=20000.0,
is_employed=True
)
print(employee)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment