Skip to content

Commit c07e027

Browse files
authored
Update schemaProperty to PropertyType in example (#381)
1 parent d3c86e3 commit c07e027

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/user_guide_kg_builder.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -783,16 +783,16 @@ Here is a code block illustrating these concepts:
783783
NodeType(
784784
label="Person",
785785
properties=[
786-
SchemaProperty(name="name", type="STRING"),
787-
SchemaProperty(name="place_of_birth", type="STRING"),
788-
SchemaProperty(name="date_of_birth", type="DATE"),
786+
PropertyType(name="name", type="STRING"),
787+
PropertyType(name="place_of_birth", type="STRING"),
788+
PropertyType(name="date_of_birth", type="DATE"),
789789
],
790790
),
791791
NodeType(
792792
label="Organization",
793793
properties=[
794-
SchemaProperty(name="name", type="STRING"),
795-
SchemaProperty(name="country", type="STRING"),
794+
PropertyType(name="name", type="STRING"),
795+
PropertyType(name="country", type="STRING"),
796796
],
797797
),
798798
],

0 commit comments

Comments
 (0)