MCPcopy Create free account

hub / github.com/internetarchive/openlibrary / functions

Functions6,179 in github.com/internetarchive/openlibrary

Method_handleMoreClick
()
openlibrary/components/lit/OLReadMore.js:188
Method_handleOverlayClick
(e)
openlibrary/components/lit/OpenLibraryOTP.js:426
Method_handleResend
()
openlibrary/components/lit/OpenLibraryOTP.js:509
Method_handleSourceInput
(e)
openlibrary/components/lit/OLMarkdownEditor.js:595
Method_handleToolbarMouseDown
(e)
openlibrary/components/lit/OLMarkdownEditor.js:489
Method_handleTouchMoveBlur
()
openlibrary/components/lit/OlDialog.js:701
Function_https_middleware
(app)
openlibrary/asgi_app.py:35
Method_ia_editions
(self)
openlibrary/solr/updater/work.py:534
Function_jinja_gettext
Gettext callable for Jinja's ``install_gettext_callables``. Translates ``message`` using the current request's locale, then returns t
openlibrary/core/jinja.py:32
Function_jinja_ngettext
Ngettext callable for Jinja's ``install_gettext_callables``.
openlibrary/core/jinja.py:49
Function_make
(save: bool = False)
openlibrary/tests/fastapi/test_importapi.py:61
Method_make_web_mock
(self, auth_header="")
openlibrary/plugins/upstream/tests/test_account.py:359
Function_mock_web_input
(*args, **kwargs)
openlibrary/tests/fastapi/test_work_bookshelves.py:18
Function_mock_web_input
(*args, **kwargs)
openlibrary/tests/fastapi/test_bestbook.py:20
Function_mock_web_input
(*args, **kwargs)
openlibrary/plugins/openlibrary/tests/test_bestbookapi.py:35
Function_mock_web_input
(*args, **kwargs)
openlibrary/plugins/openlibrary/tests/test_followsapi.py:15
Method_mock_work
Create a mock work object.
openlibrary/plugins/openlibrary/tests/test_bulk_tag.py:11
Function_ngettext
(singular: str, plural: str, n: int)
openlibrary/tests/core/test_jinja.py:51
Method_onAvailabilityToggle
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1607
Method_onAvatarError
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1514
Method_onBackdropClick
()
openlibrary/components/lit/OlPopover.js:645
Method_onClear
()
openlibrary/components/lit/OlSelectPopover.js:645
Method_onClickCapture
(e)
openlibrary/components/lit/OlCarousel.js:618
Method_onCoverError
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1278
Method_onDialogClosed
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1483
Method_onDialogOpened
()
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1479
Method_onDragOver
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1516
Method_onDrop
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1521
Method_onFocusIn
()
openlibrary/components/lit/OlTooltip.js:218
Method_onFocusOut
()
openlibrary/components/lit/OlTooltip.js:231
Method_onInputKeydown
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1551
Method_onItemChange
(e)
openlibrary/components/lit/OlOptionsPopover.js:379
Method_onItemToggle
(e)
openlibrary/components/lit/OlSelectPopover.js:624
Method_onKeydown
(e)
openlibrary/components/lit/OlTooltip.js:236
Method_onKeydownGlobal
(e)
openlibrary/components/lit/OlPopover.js:651
Method_onLanguagesChange
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1611
Method_onListKeydown
(e)
openlibrary/components/lit/OlSelectPopover.js:653
Method_onListKeydown
(e)
openlibrary/components/lit/OlOptionsPopover.js:413
Method_onMouseEnter
()
openlibrary/components/lit/OlTooltip.js:199
Method_onMouseLeave
()
openlibrary/components/lit/OlTooltip.js:209
Method_onOutsideClick
(e)
openlibrary/components/lit/OlPopover.js:636
Method_onPointerDown
(e)
openlibrary/components/lit/OlCarousel.js:640
Method_onPointerMove
(e)
openlibrary/components/lit/OlCarousel.js:661
Method_onPointerUp
(e)
openlibrary/components/lit/OlCarousel.js:691
Method_onPopoverClose
()
openlibrary/components/lit/OlSelectPopover.js:614
Method_onPopoverClose
()
openlibrary/components/lit/OlOptionsPopover.js:373
Method_onPopoverOpen
()
openlibrary/components/lit/OlSelectPopover.js:597
Method_onPopoverOpen
()
openlibrary/components/lit/OlOptionsPopover.js:363
Method_onQueryInput
(e)
openlibrary/components/lit/OlSelectPopover.js:620
Method_onQueryInput
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1534
Method_onResultsKeydown
(e)
openlibrary/plugins/openlibrary/js/search-modal/SearchModal.js:1578
Method_onScroll
()
openlibrary/components/lit/OlTooltip.js:242
Method_onScrollResize
()
openlibrary/components/lit/OlPopover.js:613
Method_onSentinelFocus
(e)
openlibrary/components/lit/OlPopover.js:485
Method_onSlotChange
()
openlibrary/components/lit/OlCarousel.js:593
Method_onSlotChange
()
openlibrary/components/lit/OlTooltip.js:190
Method_onTouchEnd
()
openlibrary/components/lit/OlPopover.js:736
Method_onTouchMove
(e)
openlibrary/components/lit/OlPopover.js:705
Method_onTouchStart
(e)
openlibrary/components/lit/OlPopover.js:671
Method_onTransitionEnd
(e)
openlibrary/components/lit/OlPopover.js:430
Method_onTriggerClick
()
openlibrary/components/lit/OlPopover.js:628
Method_onTriggerKeydown
(e)
openlibrary/components/lit/OlSelectPopover.js:584
Method_onTriggerKeydown
(e)
openlibrary/components/lit/OlOptionsPopover.js:353
Method_openModal
()
openlibrary/components/lit/OpenLibraryOTP.js:398
Function_query_count
(db, table, type, property, distinct=False)
openlibrary/admin/numbers.py:233
Function_renderMenu
($ul, items)
openlibrary/plugins/openlibrary/js/autocomplete.js:110
Function_reset_features_to_defaults
(monkeypatch: pytest.MonkeyPatch, tmp_path: Path)
openlibrary/tests/core/test_features.py:36
Function_setup_request_context
Set ContextVars so require_librarian -> get_current_user() works.
openlibrary/tests/fastapi/test_merge_authors.py:12
Function_setup_request_context
Set ContextVars for tests that reach _build_preview_response.
openlibrary/tests/fastapi/test_importapi.py:21
Method_showSearch
()
openlibrary/components/lit/OlSelectPopover.js:578
Function_shutdown_handler
Signal handler that sets the global `_stop_requested` flag to True when a termination signal is received. Args: signum (int): Th
scripts/utils/graceful_shutdown.py:7
Method_solr_data
(self)
openlibrary/plugins/upstream/models.py:494
Function_stub
(*a, **kw)
openlibrary/tests/core/test_jinja.py:74
Function_stubbedGetClientRects
()
tests/unit/js/search.test.js:125
Function_test
Define a sample schema. >>> s = Schema() >>> s.add_table('posts', ... s.column('id', 'serial', primary_key=True),
openlibrary/utils/schema.py:358
Function_test
r""" >>> t = _testrun >>> t("$x") 'self.push(websafe(x));\n' >>> t("$:x") 'self.push(x);\n' >>> t("$ x = 1") 'var x = 1;\n
openlibrary/plugins/upstream/jsdef.py:249
Function_testrun
(code)
openlibrary/plugins/upstream/jsdef.py:241
Method_titleId
Unique ID for ARIA labelledby association
openlibrary/components/lit/OlDialog.js:350
Method_triggerEl
()
openlibrary/components/lit/OlTooltip.js:404
Method_triggerEl
()
openlibrary/components/lit/OlPopover.js:590
Method_update_async_worker
(self, *args: P.args, **kw: P.kwargs)
openlibrary/core/cache.py:132
Methodaccept_error
(error_codes: list[str])
openlibrary/plugins/recaptcha/recaptcha.py:35
Functionaccount_loan_history_json
( _: Annotated[AuthenticatedUser, Depends(require_authenticated_user)], page: Annotated[int, Query(ge=
openlibrary/fastapi/account.py:210
Functionaccount_loans_json
( _: Annotated[AuthenticatedUser, Depends(require_authenticated_user)], )
openlibrary/fastapi/account.py:195
Methodaccount_request
(self, sitename, path, method="GET", data=None)
openlibrary/plugins/openlibrary/connection.py:412
Functionacquisitions_db
(setup_db)
openlibrary/tests/core/test_acquisitions.py:40
Methodactivated_on
(self)
openlibrary/accounts/model.py:284
MethodactiveExtractor
@type {AbstractExtractor}
openlibrary/components/BulkSearch/utils/classes.js:231
Functionadapt_datetime_iso
Convert a Python datetime.datetime into a timezone-naive ISO 8601 date string. >>> adapt_datetime_iso(datetime(2023, 4, 5, 6, 7, 8, 9)) '
openlibrary/core/db.py:180
Methodadd
Add award to database only if award doesn't exist previously or raises Bestbook.AwardConditionsError
openlibrary/core/bestbook.py:81
Methodadd
Insert or update booknote. Create a new booknote if one doesn't exist, or gracefully update the record otherwise. return: the updates
openlibrary/core/booknotes.py:157
Methodadd
(self, key, value, expires=0)
openlibrary/core/cache.py:284
Methodadd
(self, key, value, expires=0)
openlibrary/core/cache.py:344
Methodadd
(cls, username, work_id, rating, edition_id=None)
openlibrary/core/ratings.py:163
Methodadd
Adds a book with `work_id` to user's bookshelf designated by `bookshelf_id`
openlibrary/core/bookshelves.py:623
Methodadd
(doc)
openlibrary/tests/core/test_connections.py:28
Methodadd
(self, name)
openlibrary/plugins/admin/graphs.py:33
FunctionaddAttributes
()
openlibrary/components/lit/html-block.js:16
FunctionaddCommands
()
openlibrary/components/lit/html-block.js:99
FunctionaddItem
(listKey, seed)
openlibrary/plugins/openlibrary/js/lists/ListService.js:33
← previousnext →3,401–3,500 of 6,179, ranked by callers