diff --git a/linkml_runtime/loaders/rdf_loader.py b/linkml_runtime/loaders/rdf_loader.py index 20c7c7ee..3ff4a452 100644 --- a/linkml_runtime/loaders/rdf_loader.py +++ b/linkml_runtime/loaders/rdf_loader.py @@ -21,7 +21,7 @@ def load_any(self, *args, **kwargs) -> Union[BaseModel, YAMLRoot, List[BaseModel return self.load(*args, **kwargs) - def load(self, source: Union[str, TextIO, Graph, Path], target_class: Type[Union[BaseModel, YAMLRoot]], *, base_dir: Optional[str] = None, + def load(self, source: Union[str, TextIO, Graph], target_class: Type[Union[BaseModel, YAMLRoot]], *, base_dir: Optional[str] = None, contexts: CONTEXTS_PARAM_TYPE = None, fmt: Optional[str] = 'turtle', metadata: Optional[FileInfo] = None) -> Union[BaseModel, YAMLRoot]: """