diff --git a/bookwyrm/connectors/abstract_connector.py b/bookwyrm/connectors/abstract_connector.py index b023caff9..1219e18b2 100644 --- a/bookwyrm/connectors/abstract_connector.py +++ b/bookwyrm/connectors/abstract_connector.py @@ -93,7 +93,6 @@ class AbstractMinimalConnector(ABC): except aiohttp.ClientError as err: logger.info(err) - @abstractmethod def get_or_create_book(self, remote_id): """pull up a book record by whatever means possible""" diff --git a/bookwyrm/connectors/connector_manager.py b/bookwyrm/connectors/connector_manager.py index 304baf91e..b01e583b9 100644 --- a/bookwyrm/connectors/connector_manager.py +++ b/bookwyrm/connectors/connector_manager.py @@ -21,6 +21,7 @@ logger = logging.getLogger(__name__) class ConnectorException(HTTPError): """when the connector can't do what was asked""" + async def async_connector_search(query, items, min_confidence): """Try a number of requests simultaneously""" timeout = aiohttp.ClientTimeout(total=SEARCH_TIMEOUT)