Skip to content

Commit c7da9dc

Browse files
authored
Propuri (#63)
* fixed prop_uri in samples * changed sample output
1 parent 29be8bd commit c7da9dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

samples/doc_writer_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
prop2_uri = "http://props.hydrus.com/prop2"
8888
prop2_title = "Prop2"
8989

90-
dummyProp2 = HydraClassProp(prop1_uri, prop2_title,
90+
dummyProp2 = HydraClassProp(prop2_uri, prop2_title,
9191
required=False, read=False, write=True)
9292
# NOTE: Properties that are required=True must be added during class object creation
9393
# Properties that are read=True are read only

samples/doc_writer_sample_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
},
158158
{
159159
"@type": "SupportedProperty",
160-
"property": "http://props.hydrus.com/prop1",
160+
"property": "http://props.hydrus.com/prop2",
161161
"readable": "false",
162162
"required": "false",
163163
"title": "Prop2",
@@ -263,7 +263,7 @@
263263
},
264264
{
265265
"@type": "SupportedProperty",
266-
"property": "http://props.hydrus.com/prop1",
266+
"property": "http://props.hydrus.com/prop2",
267267
"readable": "false",
268268
"required": "false",
269269
"title": "Prop2",

0 commit comments

Comments
 (0)