MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodtest_on_request_success
Test successful request within rate limit.
tests/server/middleware/test_rate_limiting.py:450
Methodtest_on_request_success_after_retries
Test successful request after retries.
tests/server/middleware/test_error_handling.py:417
Methodtest_on_request_success_first_try
Test successful request on first try.
tests/server/middleware/test_error_handling.py:408
Functiontest_one_authorization_per_configured_server
Two proxy rebuilds must not send the user through the flow twice. This is the behaviour the fix exists for: `auth="oauth"` is resolved inside
tests/client/transports/test_oauth_transport_reuse.py:143
Methodtest_one_of_object_union_parses_json
Discriminated unions produce ``oneOf``; objects are still decoded.
tests/cli/test_client_commands.py:200
Methodtest_one_pad
(self)
tests/apps/test_file_upload.py:28
Functiontest_one_provider_can_be_used_by_independent_servers
()
tests/server/test_provider_extensions.py:187
Functiontest_one_replica_at_a_time_holds_a_source
(url: str)
tests/events/test_redis_log.py:144
Methodtest_one_request_with_a_fit_question_per_tool
(self)
tests/experimental/transforms/test_jev_search.py:286
Functiontest_one_source_feeds_several_event_types_for_every_subscriber
()
tests/events/test_sources.py:63
Methodtest_oneof_reference_dereferenced
Test that schemas referenced in oneOf are preserved and unused defs pruned.
tests/utilities/openapi/test_schemas.py:653
Methodtest_oneof_with_nullable
Test nullable handling with oneOf constructs.
tests/utilities/openapi/test_nullable_fields.py:194
Functiontest_only_a_reloading_provider_claims_unknown_skill_uris
(tmp_path: Path)
tests/skills/test_directory_provider.py:211
Functiontest_only_added_entries_are_drafted
()
tests/scripts/test_draft_release.py:40
Methodtest_only_bodiless_success_response
(self)
tests/utilities/openapi/test_schemas.py:745
Functiontest_only_empty_array_preserves_multipart_content_type
()
tests/server/providers/openapi/test_multipart_array_defaults.py:109
Methodtest_only_first_occurrence_is_replaced
A key appearing twice in the input is left with one replaced occurrence and one untouched -- callers must not feed this function an al
tests/server/auth/test_redirect_validation.py:98
Functiontest_only_lines_run_inside_a_test_count
(pbt, tmp_path)
tests/test_pbt_coverage.py:96
Methodtest_only_oidc_scopes_raises_value_error
Test that various OIDC-only scope combinations raise ValueError.
tests/server/auth/providers/test_azure_scopes.py:200
Methodtest_only_primary_and_bodiless_success_responses_are_extracted
(self)
tests/utilities/openapi/test_parser.py:556
Methodtest_only_special_chars
(self)
tests/cli/test_goose.py:29
Functiontest_only_test_files_that_import_hypothesis_are_suite_files
(pbt, tmp_path)
tests/test_pbt_coverage.py:130
Methodtest_only_unstructured_content
(self, client)
tests/tools/tool/test_results.py:38
Methodtest_opaque_denial_in_chain_stays_opaque
(self)
tests/server/auth/test_authorization.py:1380
Functiontest_opaque_sources_are_stable_and_duplicates_require_names
()
tests/server/auth/test_auth_source_identities.py:111
Methodtest_open_deeplink_command_not_found
Test handling when open command is not found.
tests/cli/test_cursor.py:218
Methodtest_open_deeplink_empty_url
Test handling of empty URL.
tests/cli/test_cursor.py:246
Methodtest_open_deeplink_failure
Test handling of deeplink opening failure.
tests/cli/test_cursor.py:206
Methodtest_open_deeplink_invalid_scheme
Test that non-cursor:// URLs are rejected.
tests/cli/test_cursor.py:227
Methodtest_open_deeplink_linux
Test opening deeplink on Linux.
tests/cli/test_cursor.py:193
Methodtest_open_deeplink_macos
Test opening deeplink on macOS.
tests/cli/test_cursor.py:169
Methodtest_open_deeplink_valid_cursor_scheme
Test that cursor:// URLs are accepted.
tests/cli/test_cursor.py:238
Methodtest_open_deeplink_windows
Test opening deeplink on Windows.
tests/cli/test_cursor.py:181
Methodtest_open_deeplink_windows_oserror
Test handling of OSError on Windows.
tests/cli/test_cursor.py:251
Methodtest_open_resource_still_accessible
Non-auth-protected resources can still be read.
tests/server/transforms/test_resources_as_tools.py:345
Methodtest_openapi_31_compatibility
Test that OpenAPI 3.1 specs work correctly.
tests/server/providers/openapi/test_comprehensive.py:406
Functiontest_openapi_path_params_not_duplicated_in_description
Path parameter details should live in inputSchema, not the description. Regression test for https://github.com/PrefectHQ/fastmcp/issues/3130 — hi
tests/server/test_tool_transformation.py:367
Functiontest_openapi_tool_sends_described_request
(data)
tests/pbt/test_openapi.py:194
Methodtest_opencode_skills_provider_path
Test OpenCodeSkillsProvider uses correct path.
tests/server/providers/test_skills_vendor_providers.py:77
Functiontest_opened_carries_the_authors_association
()
tests/test_triage_floor_feed.py:57
Functiontest_opened_pr_carries_the_issues_it_closes
()
tests/test_triage_floor_feed.py:91
Methodtest_operation_failure
Test timing failed operations.
tests/server/middleware/test_timing.py:125
Methodtest_operational_failure_allows_successful_fallback
A later successful verifier still wins after an operational failure.
tests/server/auth/test_multi_auth.py:364
Methodtest_operational_failure_raises_without_successful_fallback
Operational failure is re-raised if no later source validates.
tests/server/auth/test_multi_auth.py:354
Methodtest_optional_array_parsed_as_json
(self)
tests/cli/test_client_commands.py:260
Functiontest_optional_call_argument_yields_none
CallArgument(optional=True) yields None for a name the tool lacks.
tests/server/test_call_arguments.py:105
Methodtest_optional_component_no_output_schema
(self)
tests/test_apps_prefab.py:346
Methodtest_optional_context
(self)
tests/tools/test_tool_future_annotations.py:90
Methodtest_optional_context
Test that context is optional.
tests/server/providers/local_provider_tools/test_context.py:82
Methodtest_optional_context_degrades_to_none_without_active_context
Optional Context should resolve to None when no context is active.
tests/server/test_dependencies_advanced.py:37
Methodtest_optional_context_still_injected_in_foreground_requests
Optional Context should still be injected for normal MCP requests.
tests/server/test_dependencies_advanced.py:54
Methodtest_optional_fields_are_plain_properties_outside_required
(self)
tests/client/test_elicitation.py:686
Methodtest_optional_fields_omitted_when_none
Optional fields like scope, client_uri, logo_uri are omitted if not given.
tests/cli/test_cimd_cli.py:138
Methodtest_optional_invalid_value
(self)
tests/cli/test_client_commands.py:117
Functiontest_optional_json_array_preserves_explicit_override
(value: str)
tests/cli/test_generate_cli_empty_arrays.py:42
Functiontest_optional_json_parameter_distinguishes_null_from_omission
( use_default_factory: bool, arguments: list[str], expected: dict[str, str] | None, )
tests/cli/test_generate_cli_arguments.py:64
Methodtest_optional_mode_sync_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:490
Methodtest_optional_mode_task_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:497
Methodtest_optional_mode_with_opt_in_tasks
Optional mode tasks when the caller opts in.
tests/tasks/server/test_task_config.py:199
Methodtest_optional_mode_without_opt_in_runs_sync
Optional mode runs synchronously without a tasks opt-in.
tests/tasks/server/test_task_config.py:191
Methodtest_optional_model_hydrates
(self, dereference_schemas: bool)
tests/client/test_result_hydration.py:296
Methodtest_optional_non_string_still_decodes_json_null
(self)
tests/prompts/test_prompt.py:390
Methodtest_optional_param
(self)
tests/cli/test_generate_cli.py:167
Methodtest_optional_param
(self)
tests/cli/test_generate_cli.py:869
Methodtest_optional_param_with_default
(self)
tests/cli/test_client_commands.py:341
Methodtest_optional_param_without_default
(self)
tests/cli/test_client_commands.py:347
Methodtest_optional_parameter_handling
Optional query parameters are sent only when provided.
tests/server/providers/openapi/test_end_to_end_compatibility.py:203
Methodtest_optional_parameter_nullable_behavior
Test that optional parameters are not made nullable - they can simply be omitted.
tests/utilities/openapi/test_legacy_compatibility.py:18
Methodtest_optional_parameters_with_coercion
Optional parameters should work with coercion.
tests/server/test_input_validation.py:457
Methodtest_optional_prefab_app_inferred
(self)
tests/test_apps_prefab.py:263
Methodtest_optional_sections
Test that all config sections are optional except source.
tests/cli/test_config.py:453
Methodtest_optional_session_is_none_without_auth
`session: UserSession | None = None` injects `None` on an unauthenticated request instead of raising.
tests/server/test_session_provider.py:178
Methodtest_optional_session_is_present_with_auth
The same optional parameter injects a real `UserSession` when the request is authenticated.
tests/server/test_session_provider.py:193
Methodtest_optional_session_not_in_input_schema
An optional injected session is still excluded from the schema.
tests/server/test_session_provider.py:209
Functiontest_optional_string_any_of_parameter_is_a_plain_flag
( value_schema: dict[str, Any], )
tests/cli/test_generate_cli_arguments.py:304
Functiontest_optional_string_parameter_distinguishes_null_from_omission
( arguments: list[str], expected: tuple[str | None, str | None, str | None] )
tests/cli/test_generate_cli_arguments.py:230
Functiontest_optional_string_parameter_takes_plain_text
( value: str, expected: str | None )
tests/cli/test_generate_cli_arguments.py:197
Methodtest_optional_tool_exposes_task_support
Tools with mode=optional expose task_support='optional'.
tests/tasks/server/test_task_config.py:216
Methodtest_optional_tool_result_subclass_no_output_schema
(self)
tests/tools/tool/test_output_schema.py:193
Functiontest_optional_tool_runs_sync_without_opt_in
()
tests/tasks/server/test_extension.py:120
Functiontest_optional_tool_tasks_when_opted_in
()
tests/tasks/server/test_extension.py:108
Functiontest_optional_triage_failure_cannot_block_backlog_publication
()
tests/test_public_triage.py:389
Methodtest_optional_uses_non_null_type
``X | None`` is coerced like ``X``.
tests/cli/test_client_commands.py:111
Methodtest_optional_vs_required_parameters
Test handling of optional vs required parameters.
tests/server/providers/openapi/test_comprehensive.py:693
Methodtest_options_survive_the_per_request_client_copy
The proxy builds a fresh client per request via `new()`.
tests/server/providers/proxy/test_proxy_server.py:1426
Methodtest_order_independence
(self)
tests/cli/test_generate_cli.py:1053
Methodtest_order_independent_hash
(self)
tests/utilities/json_schema_type/test_advanced.py:970
Functiontest_organization_memberships_preserve_zero_one_and_many
(count: int)
tests/cli/deploy/test_horizon_client.py:172
Functiontest_origin_change_clears_credentials_before_writing_configuration
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_configuration.py:58
Functiontest_other_any_of_unions_are_parsed_as_json
( value_schema: dict[str, Any], )
tests/cli/test_generate_cli_arguments.py:333
Methodtest_other_cookie_values_are_not_a_session
(self, cookie: str)
tests/cli/test_apps_dev_server.py:212
Methodtest_other_executables_receive_argument_list
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:378
Methodtest_other_filters_do_not_warn
Only `keys` is subject to this validation.
tests/server/transforms/test_visibility.py:317
Methodtest_other_host_headers_are_rejected
(self, host: str)
tests/cli/test_apps_dev_server.py:236
Methodtest_other_mcp_errors_still_become_tool_errors
(self)
tests/test_exceptions.py:136
Methodtest_other_names_keep_their_field_name
(self, name: str)
tests/utilities/json_schema_type/test_generated_classes.py:311
Methodtest_other_optimizations_still_apply_without_dereference
(self)
tests/utilities/test_json_schema.py:1060
Methodtest_other_parameters_initialization
Test other parameters initialization.
tests/server/auth/test_oidc_proxy.py:547
Methodtest_other_redirect_query_is_prompted
An approval for `?tenant=A` must not silently approve `?tenant=B`.
tests/server/auth/test_oauth_consent_remembered_key.py:140
Functiontest_other_source_remains_ambiguous
(claude_project)
tests/cli/test_claude_code_precedence.py:78
← previousnext →13,301–13,400 of 17,519, ranked by callers