Skip to content

Commit b913b78

Browse files
Merge pull request #101 from terminusdb/fix_python_schema
Use correct schema for tutorial
2 parents 4a75b77 + 90e95dd commit b913b78

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

getting_started/python-client/lesson_1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ config.json and schema.py created, please customize them to start your project.
4444

4545
## Create an Empty Database with Schema
4646

47-
Now with `schema.py` you can build a schema for the new database. If you open the `schema.py` you will see an example. You can commit the example as it is but I want to make changes to it before I commit so it is useful to us in a future lesson.
47+
Now with `schema.py` you can build a schema for the new database. If you open the `schema.py` you will see an example. You can commit the example as it is.
4848

4949
In this tutorial series, we will use a company phonebook database as an example. It consists of only 2 tables, the first is the structure of the company ([Employees.csv](Employees.csv)):
5050

getting_started/python-client/schema.py

-8
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,3 @@ class Employee(DocumentTemplate):
5151
class Team(EnumTemplate):
5252
marketing = ()
5353
it = ()
54-
55-
56-
class EmployeesFromCSV(DocumentTemplate):
57-
employee_id: str
58-
manager: Optional["EmployeesFromCSV"]
59-
name: Optional[str]
60-
team: Optional[str]
61-
title: Optional[str]

0 commit comments

Comments
 (0)