Skip to content

Instantly share code, notes, and snippets.

@cosmic-cortex
Last active May 5, 2020 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cosmic-cortex/5867ab6f66aa4316d9f52443bfeb3924 to your computer and use it in GitHub Desktop.
Save cosmic-cortex/5867ab6f66aa4316d9f52443bfeb3924 to your computer and use it in GitHub Desktop.
def make_employee(id: int, name: str, position: str, salary: int):
return Record({"id": id, "name": name, "position": position, "salary": salary})
def make_task(id: int, employee_id: int, completed: bool):
return Record({"id": id, "employee_id": employee_id, "completed": completed})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment