Created
November 15, 2021 08:23
-
-
Save codemation/5f39e7dc1466b98e142a2447c824ae70 to your computer and use it in GitHub Desktop.
pydbantic_app_0.py
This file contains hidden or 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
# 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