Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/instantdb/instant
/ functions
Functions
5,261 in github.com/instantdb/instant
⨍
Functions
5,261
◇
Types & classes
528
↳
Endpoints
1
Function
test_debug_transact_returns_check_results
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:230
Function
test_default_headers_include_app_id_and_versions
()
client/packages/python/tests/test_sync_client.py:77
Function
test_default_headers_include_app_id_and_versions
()
client/packages/python/tests/test_validation.py:13
Function
test_default_sink_is_the_instantdb_stdlib_logger
(caplog)
client/packages/python/tests/test_logger.py:50
Function
test_disabled_logger_is_a_noop
()
client/packages/python/tests/test_logger.py:33
Function
test_disabled_subscription_skips_payload_formatting
()
client/packages/python/tests/test_logger.py:79
Function
test_discard_flushed_clears_buffer_at_full_flush
()
client/packages/python/tests/test_streams_state.py:62
Function
test_discard_flushed_drops_segments_fully_below_offset
()
client/packages/python/tests/test_streams_state.py:41
Function
test_discard_flushed_keeps_segments_that_straddle_offset
()
client/packages/python/tests/test_streams_state.py:51
Function
test_enabled_logger_forwards_to_base
()
client/packages/python/tests/test_logger.py:42
Function
test_enqueue_drops_oldest_when_backlog_exceeds_cap
(sub)
client/packages/python/tests/test_subscription_state.py:112
Function
test_env_var_fallback_populates_app_id_and_admin_token
(monkeypatch)
client/packages/python/tests/test_client.py:59
Function
test_env_var_fallback_populates_app_id_and_admin_token
(monkeypatch)
client/packages/python/tests/test_sync_client.py:39
Function
test_error_op_enqueues_error_payload
(sub)
client/packages/python/tests/test_subscription_state.py:99
Function
test_exact_namespace_action_wins_over_namespace_default
()
client/packages/python/tests/test_webhooks_dispatch.py:58
Function
test_explicit_kwargs_win_over_env_vars
(monkeypatch)
client/packages/python/tests/test_client.py:67
Function
test_fetch_payloads_raises_instantapi_error_on_non_2xx
(mock_transport)
client/packages/python/tests/test_webhooks_dispatch.py:228
Function
test_fetch_payloads_rejects_malformed_body
(webhook_body)
client/packages/python/tests/test_webhooks_dispatch.py:222
Function
test_fetch_payloads_uses_payload_url_and_jwt_bearer
(mock_transport)
client/packages/python/tests/test_webhooks_dispatch.py:190
Function
test_first_connect_failure_emits_error_and_ends
(monkeypatch)
client/packages/python/tests/test_subscription_state.py:152
Function
test_format_page_info_none_returns_none
()
client/packages/python/tests/test_subscription_state.py:29
Function
test_format_page_info_translates_server_keys_to_snake_case
()
client/packages/python/tests/test_subscription_state.py:33
Function
test_get_and_delete_user
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:59
Function
test_get_presence_ignores_impersonation
(mock_transport)
client/packages/python/tests/test_client.py:177
Function
test_headers_allow_guest_impersonation_without_admin_token
()
client/packages/python/tests/test_validation.py:41
Function
test_headers_allow_token_impersonation_without_admin_token
()
client/packages/python/tests/test_validation.py:29
Function
test_headers_require_admin_token_for_email_impersonation
()
client/packages/python/tests/test_validation.py:52
Function
test_headers_require_admin_token_without_token_or_guest_impersonation
()
client/packages/python/tests/test_validation.py:23
Function
test_id_is_uuid_string
()
client/packages/python/tests/test_transact.py:11
Function
test_impersonation_headers_layer_on_top_of_auth
()
client/packages/python/tests/test_validation.py:68
Function
test_instant_does_not_expose_subscribe_query_or_streams
()
client/packages/python/tests/test_sync_client.py:25
Function
test_invalid_app_id_raises_parsed_error
(db: Instant)
client/sandbox/admin-sdk-python/src/main_sync.py:167
Function
test_invalid_app_id_raises_parsed_error
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:313
Function
test_invalid_file_size_raises_before_http
(bad)
client/packages/python/tests/test_storage.py:128
Function
test_is_lookup
()
client/packages/python/tests/test_transact.py:24
Function
test_known_key_misses_unknown_kid_for_api_uri
()
client/packages/python/tests/test_webhooks_crypto.py:98
Function
test_link_and_nested_query_via_chained_ops
(db: Instant)
client/sandbox/admin-sdk-python/src/main_sync.py:88
Function
test_link_and_nested_query_via_chained_ops
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:104
Function
test_lookup_serializes_datetime_values
()
client/packages/python/tests/test_transact.py:19
Function
test_lookup_wire_format
()
client/packages/python/tests/test_transact.py:15
Function
test_merge_preserves_other_keys
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:193
Function
test_namespace_default_used_when_no_exact_match
()
client/packages/python/tests/test_webhooks_dispatch.py:65
Function
test_non_seekable_with_file_size_streams
()
client/packages/python/tests/test_storage.py:119
Function
test_non_seekable_without_file_size_raises
()
client/packages/python/tests/test_storage.py:114
Function
test_parse_lookup_handles_underscores_in_value
()
client/packages/python/tests/test_transact.py:30
Function
test_path_closes_handle_when_size_check_fails
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
client/packages/python/tests/test_storage.py:52
Function
test_path_input_streams_from_disk
(tmp_path: Path)
client/packages/python/tests/test_storage.py:34
Function
test_path_with_mismatched_file_size_raises
(tmp_path: Path)
client/packages/python/tests/test_storage.py:45
Function
test_post_init_failure_silently_retries
(monkeypatch)
client/packages/python/tests/test_subscription_state.py:179
Function
test_process_payload_dispatches_in_record_order
()
client/packages/python/tests/test_webhooks_dispatch.py:92
Function
test_process_payload_propagates_handler_exception_and_stops_remaining
()
client/packages/python/tests/test_webhooks_dispatch.py:119
Function
test_process_payload_skips_records_with_no_handler
()
client/packages/python/tests/test_webhooks_dispatch.py:148
Function
test_process_payload_treats_null_data_as_no_records
Server contract is `data: []`, but `{"data": null}` shouldn't crash.
client/packages/python/tests/test_webhooks_dispatch.py:170
Function
test_query_injects_rule_params_inside_query_not_at_body_level
The non-obvious bit: `$$ruleParams` nests INSIDE the query object.
client/packages/python/tests/test_client.py:136
Function
test_query_injects_rule_params_inside_query_not_at_body_level
(mock_transport)
client/packages/python/tests/test_sync_client.py:88
Function
test_raises_when_app_id_missing_from_both_kwarg_and_env
()
client/packages/python/tests/test_client.py:75
Function
test_read_without_client_id_or_stream_id_raises
()
client/packages/python/tests/test_streams_state.py:32
Function
test_reader_aclose_cancels_active_file_fetch
()
client/packages/python/tests/test_streams_state.py:278
Function
test_reader_fetch_failure_surfaces_after_budget_exhausted
()
client/packages/python/tests/test_streams_state.py:311
Function
test_reader_fetch_failure_triggers_reconnect_within_budget
()
client/packages/python/tests/test_streams_state.py:296
Function
test_reader_holds_partial_utf8_across_chunk_boundary
()
client/packages/python/tests/test_streams_state.py:326
Function
test_reader_on_reconnect_resubscribes_with_current_offset
()
client/packages/python/tests/test_streams_state.py:146
Function
test_reader_on_reconnect_surfaces_resubscribe_error
()
client/packages/python/tests/test_streams_state.py:168
Function
test_reader_pipelines_next_fetch_before_current_body_consumed
()
client/packages/python/tests/test_streams_state.py:348
Function
test_reader_stream_append_with_retry_triggers_force_reconnect
()
client/packages/python/tests/test_streams_state.py:208
Function
test_refresh_ok_extracts_first_computation
(sub)
client/packages/python/tests/test_subscription_state.py:80
Function
test_refresh_ok_with_empty_computations_is_noop
(sub)
client/packages/python/tests/test_subscription_state.py:94
Function
test_rejects_header_missing_required_part
(header)
client/packages/python/tests/test_webhooks_crypto.py:70
Function
test_rejects_malformed_webhook_body
(body)
client/packages/python/tests/test_webhooks_crypto.py:118
Function
test_rejects_signature_older_than_max_age
()
client/packages/python/tests/test_webhooks_crypto.py:85
Function
test_rejects_t_that_isnt_an_integer
()
client/packages/python/tests/test_webhooks_crypto.py:80
Function
test_rejects_v1_that_isnt_hex
()
client/packages/python/tests/test_webhooks_crypto.py:75
Function
test_rejects_when_body_tampered
()
client/packages/python/tests/test_webhooks_crypto.py:123
Function
test_resolve_returns_none_when_nothing_matches
()
client/packages/python/tests/test_webhooks_dispatch.py:84
Function
test_rooms_get_presence_returns_dict
(db: Instant)
client/sandbox/admin-sdk-python/src/main_sync.py:158
Function
test_rooms_get_presence_returns_dict
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:304
Function
test_seekable_streams_from_current_position
()
client/packages/python/tests/test_storage.py:78
Function
test_seekable_with_mismatched_file_size_raises
()
client/packages/python/tests/test_storage.py:92
Function
test_send_magic_code
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:28
Function
test_sign_out_does_not_error
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:74
Function
test_sse_init_flips_has_connected_for_reconnect_gating
(sub)
client/packages/python/tests/test_subscription_state.py:61
Function
test_sse_init_sets_session_info_without_enqueueing
(sub)
client/packages/python/tests/test_subscription_state.py:55
Function
test_start_ok_during_reconnect_discards_flushed_and_resolves_handshake
()
client/packages/python/tests/test_streams_state.py:105
Function
test_start_ok_ignores_mismatched_event_id
()
client/packages/python/tests/test_streams_state.py:92
Function
test_start_ok_resolves_future_with_stream_id
()
client/packages/python/tests/test_streams_state.py:84
Function
test_start_ok_with_non_zero_offset_signals_corruption
()
client/packages/python/tests/test_streams_state.py:75
Function
test_stdlib_logger_satisfies_the_logger_protocol
()
client/packages/python/tests/test_logger.py:57
Function
test_storage_upload_bytes
(db: Instant)
client/sandbox/admin-sdk-python/src/main_sync.py:126
Function
test_storage_upload_bytes
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:242
Function
test_storage_upload_open_file_object
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:279
Function
test_storage_upload_path
(db: Instant)
client/sandbox/admin-sdk-python/src/main_sync.py:139
Function
test_storage_upload_path
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:259
Function
test_stream_connection_logs_received_messages
()
client/packages/python/tests/test_logger.py:101
Function
test_stream_read_by_stream_id
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:456
Function
test_stream_read_with_byte_offset_resumes_mid_stream
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:477
Function
test_stream_write_then_read_by_client_id
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:433
Function
test_streams_queryable_via_query_api
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:497
Function
test_subscribe_msg_omits_offset_when_zero
()
client/packages/python/tests/test_streams_state.py:140
Function
test_subscribe_msg_uses_current_seen_offset_not_initial_byte_offset
()
client/packages/python/tests/test_streams_state.py:131
Function
test_subscribe_query_cleanup_on_context_exit
(db: AsyncInstant)
client/sandbox/admin-sdk-python/src/main.py:388
← previous
next →
5,001–5,100 of 5,261, ranked by callers