Skip to content

Commit

Permalink
Remove abstract method, ignore lint error in BaseWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
caufieldjh committed Aug 1, 2024
1 parent 946203e commit e959ee0
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/curate_gpt/wrappers/base_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Chat with a KB."""

import logging
from abc import ABC, abstractmethod
from abc import ABC
from dataclasses import dataclass
from pathlib import Path
from typing import Any, ClassVar, Dict, Iterable, Iterator, List, Optional, Union
Expand All @@ -17,7 +17,7 @@


@dataclass
class BaseWrapper(ABC):
class BaseWrapper(ABC): # noqa: B024
"""
A virtual store that implements a view over some remote or external source.
"""
Expand Down Expand Up @@ -219,13 +219,3 @@ def unwrap_object(self, obj: Dict[str, Any], store: DBAdapter, **kwargs) -> Any:
:return:
"""
raise NotImplementedError

@abstractmethod
def objects_from_list(self, input_objs: List[Dict]) -> List[Dict]:
"""
Convert a list of objects from the source representation to the store representation.
:param input_objs:
:return:
"""
raise NotImplementedError

0 comments on commit e959ee0

Please sign in to comment.