MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / get_facet_map

Function get_facet_map

openlibrary/plugins/worksearch/code.py:109–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108@public
109def get_facet_map() -> tuple[tuple[str, str]]:
110 return (
111 ("has_fulltext", _("eBook?")),
112 ("language", _("Language")),
113 ("author_key", _("Author")),
114 ("subject_facet", _("Subjects")),
115 ("first_publish_year", _("First published")),
116 ("publisher_facet", _("Publisher")),
117 ("person_facet", _("People")),
118 ("place_facet", _("Places")),
119 ("time_facet", _("Times")),
120 ("public_scan_b", _("Classic eBooks")),
121 )
122
123
124# Server-side mirror of AVAILABILITY_TO_PARAMS in

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected