Skip to content

Commit

Permalink
Added str type to ttl constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-pl committed Jul 20, 2024
1 parent fdd5678 commit cc941b9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lodkit/triple_tools/ttl_constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ def __init__(
uri: _TripleSubject,
*predicate_object_pairs: tuple[
URIRef,
_TripleObject | list | Iterator | Self | str | tuple[_TripleObject, ...],
_TripleObject
| list
| Iterator
| Self
| str
| tuple[_TripleObject | str, ...],
],
graph: Graph | None = None,
) -> None:
Expand Down

0 comments on commit cc941b9

Please sign in to comment.