Skip to content

Commit

Permalink
Remove example from endpoint to see if tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Jul 8, 2024
1 parent a36f211 commit 17b6cec
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mira/dkg/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,7 @@ def get_relations(
)
def add_relation(
request: Request,
relation_query: RelationQuery = Body(
..., example={"source_curie": "vo:0000022",
"relations": "vo:0001243",
"target_curie": "ncbitaxon:644"}
)
relation_query: RelationQuery
):
"""Add a relation to the DKG"""
source_curie = relation_query.source_curie
Expand Down

0 comments on commit 17b6cec

Please sign in to comment.