Skip to content

Commit

Permalink
Fixed conflict with python key terms
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiefeiss committed Jul 20, 2021
1 parent 6bacccf commit dd8f3b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pyshacl/constraints/core/logical_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
from pyshacl.rdfutil import stringify_node


SH_not = SH.not
SH_and = SH.and
SH_or = SH.or
SH_not = SH["not"]
SH_and = SH["and"]
SH_or = SH["or"]
SH_xone = SH.xone

SH_NotConstraintComponent = SH.NotConstraintComponent
Expand Down
2 changes: 1 addition & 1 deletion pyshacl/constraints/core/other_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
SH_InConstraintComponent = SH.InConstraintComponent
SH_ClosedConstraintComponent = SH.ClosedConstraintComponent
SH_HasValueConstraintComponent = SH.HasValueConstraintComponent
SH_in = SH.in
SH_in = SH["in"]
SH_closed = SH.closed
SH_ignoredProperties = SH.ignoredProperties
SH_hasValue = SH.hasValue
Expand Down
2 changes: 1 addition & 1 deletion pyshacl/constraints/core/value_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
XSD_time = XSD.time
XSD_dateTime = XSD.dateTime

SH_class = SH.class
SH_class = SH["class"]
SH_ClassConstraintComponent = SH.ClassConstraintComponent
SH_DatatypeConstraintComponent = SH.DatatypeConstraintComponent
SH_NodeKindConstraintComponent = SH.NodeKindConstraintComponent
Expand Down

0 comments on commit dd8f3b9

Please sign in to comment.