Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
ssssarah committed Nov 28, 2023
1 parent cbdf767 commit aeaa4d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions kgforge/core/forge.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
)
from kgforge.core.reshaping import Reshaper
from kgforge.core.wrappings.paths import PathsWrapper, wrap_paths, Filter
from kgforge.specializations.mappers import DictionaryMapper
from kgforge.specializations.mappings import DictionaryMapping


class KnowledgeGraphForge:
Expand Down Expand Up @@ -547,7 +549,7 @@ def mappings(

@catch
def mapping(
self, entity: str, source: str, type: Type[Mapping] = "DictionaryMapping"
self, entity: str, source: str, type: Type[Mapping] = DictionaryMapping
) -> Mapping:
"""
Return a Mapping object of type 'type' for a resource type 'entity' and a source.
Expand All @@ -564,7 +566,7 @@ def map(
self,
data: Any,
mapping: Union[Mapping, List[Mapping]],
mapper: Type[Mapper] = "DictionaryMapper",
mapper: Type[Mapper] = DictionaryMapper,
na: Union[Any, List[Any]] = None,
) -> Union[Resource, List[Resource]]:
"""
Expand Down

0 comments on commit aeaa4d8

Please sign in to comment.