MCPcopy
hub / github.com/beetbox/beets / _get_candidates

Method _get_candidates

beets/metadata_plugins.py:432–440  ·  view source on GitHub ↗

Resolve query hooks and execute one provider search request.

(
        self, query_type: QueryType, *args, **kwargs
    )

Source from the content-addressed store, hash-verified

430 return response_data
431
432 def _get_candidates(
433 self, query_type: QueryType, *args, **kwargs
434 ) -> Sequence[R]:
435 """Resolve query hooks and execute one provider search request."""
436
437 return self._search_api(
438 query_type,
439 *self.get_search_query_with_filters(query_type, *args, **kwargs),
440 )
441
442 def candidates(
443 self, items: Sequence[Item], artist: str, album: str, va_likely: bool

Callers 2

candidatesMethod · 0.95
item_candidatesMethod · 0.95

Calls 2

_search_apiMethod · 0.95

Tested by

no test coverage detected