Skip to content

Commit

Permalink
fix: mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondchuc committed Mar 12, 2024
1 parent a29a778 commit d4bf877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rdflib/plugins/stores/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ def __add_triple_context(
# start with a copy of the default ctx info
# type error: Item "None" of "Optional[Dict[Optional[str], bool]]" has no attribute "copy"
triple_context = self.__tripleContexts[triple] = (
self.__defaultContexts.copy()
) # type: ignore[union-attr]
self.__defaultContexts.copy() # type: ignore[union-attr]
)

triple_context[ctx] = quoted

Expand Down

0 comments on commit d4bf877

Please sign in to comment.