Skip to content

Commit

Permalink
remove unused print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Dec 21, 2024
1 parent 63edb7d commit 911615e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linkml_runtime/loaders/loader_root.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from pathlib import Path, PosixPath
from pathlib import Path
from typing import TextIO, Union, Optional, Callable, Dict, Type, Any, List
from logging import getLogger

Expand Down Expand Up @@ -84,7 +84,7 @@ def load_as_dict(self, *args, **kwargs) -> Union[dict, List[dict]]:
raise NotImplementedError()

@abstractmethod
def load_any(self, source: Union[str, dict, TextIO, PosixPath], target_class: Type[Union[BaseModel, YAMLRoot]], *, base_dir: Optional[str] = None,
def load_any(self, source: Union[str, dict, TextIO, Path], target_class: Type[Union[BaseModel, YAMLRoot]], *, base_dir: Optional[str] = None,
metadata: Optional[FileInfo] = None, **_) -> Union[BaseModel, YAMLRoot, List[BaseModel], List[YAMLRoot]]:
"""
Load source as an instance of target_class, or list of instances of target_class
Expand Down

0 comments on commit 911615e

Please sign in to comment.