Skip to content

Commit

Permalink
rf: simpler approach using specific re classes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholsn authored Dec 20, 2024
1 parent f51d51e commit c28679a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions linkml_runtime/utils/slot.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
from dataclasses import dataclass
from rdflib import URIRef
from re import Pattern, Match
from typing import Type, List, Optional, Any
try:
# Python 3.8, 3.9, 3.10
from typing import re
except:
# Python 3.11+
import re

@dataclass
class Slot:
Expand Down

0 comments on commit c28679a

Please sign in to comment.