Skip to content

Commit

Permalink
add missing context
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshunayan committed Jul 26, 2020
1 parent 828e76f commit ac3cf33
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hydra_python_core/doc_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,18 @@ def __init__(self,
"@id": "hydra:returns",
"@type": "@id"
},
"entrypoint": {
"@id": "hydra:entrypoint",
"@type": "@id"
},
"object": {
"@id": "hydra:object",
"@type": "@id"
},
"subject": {
"@id": "hydra:subject",
"@type": "@id"
},
"readable": "hydra:readable",
"writeable": "hydra:writeable",
"possibleStatus": "hydra:possibleStatus",
Expand Down
12 changes: 12 additions & 0 deletions samples/doc_writer_sample_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
"@id": "rdfs:domain",
"@type": "@id"
},
"entrypoint": {
"@id": "hydra:entrypoint",
"@type": "@id"
},
"expects": {
"@id": "hydra:expects",
"@type": "@id"
Expand All @@ -17,6 +21,10 @@
"label": "rdfs:label",
"manages": "hydra:manages",
"method": "hydra:method",
"object": {
"@id": "hydra:object",
"@type": "@id"
},
"possibleStatus": "hydra:possibleStatus",
"property": {
"@id": "hydra:property",
Expand All @@ -41,6 +49,10 @@
"@id": "rdfs:subClassOf",
"@type": "@id"
},
"subject": {
"@id": "hydra:subject",
"@type": "@id"
},
"supportedClass": "hydra:supportedClass",
"supportedOperation": "hydra:supportedOperation",
"supportedProperty": "hydra:supportedProperty",
Expand Down

0 comments on commit ac3cf33

Please sign in to comment.