Skip to content

Commit

Permalink
feat: add type hint to part in evalServiceQuery (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
veyndan authored Oct 13, 2022
1 parent 35e553b commit 3586851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rdflib/plugins/sparql/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def evalPart(ctx: QueryContext, part: CompValue):
raise Exception("I dont know: %s" % part.name)


def evalServiceQuery(ctx: QueryContext, part):
def evalServiceQuery(ctx: QueryContext, part: CompValue):
res = {}
match = re.match(
"^service <(.*)>[ \n]*{(.*)}[ \n]*$",
Expand Down

0 comments on commit 3586851

Please sign in to comment.