get_fastrun_container#
- wikibaseintegrator.wbi_fastrun.get_fastrun_container(base_filter, use_qualifiers=True, use_references=False, use_rank=False, cache=True, case_insensitive=False)[source]#
Return a FastRunContainer object, create a new one if it doesn’t already exist.
- Parameters:
base_filter (
list[BaseDataType|list[BaseDataType]]) – The default filter to initialize the dataset. A list made of BaseDataType or list of BaseDataType.use_qualifiers (
bool, default:True) – Use qualifiers during fastrun. Enabled by default.use_references (
bool, default:False) – Use references during fastrun. Disabled by default.use_rank (
bool, default:False) – Use rank during fastrun. Disabled by default.cache (
bool, default:True) – Put data returned by the SPARQL endpoint in cache. Enabled by default.case_insensitive (
bool, default:False) – Compare the string values without taking the case into account. Disabled by default.
- Return type:
- Returns:
a FastRunContainer object