MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions17,519 in github.com/PrefectHQ/fastmcp

Methodtest_none_values
Test handling of None values.
tests/server/test_input_validation.py:474
Methodtest_none_vs_false_output_schema_behavior
Test the difference between None and False for output_schema.
tests/tools/tool/test_output_schema.py:566
Methodtest_none_when_absent
(self)
tests/server/test_sessions.py:237
Methodtest_none_when_no_hint_set
(self)
tests/server/test_cache_hints.py:28
Methodtest_none_without_request_context
Off-request (no bound wire request) the properties are None, not a crash.
tests/server/test_mrtr_guards.py:147
Methodtest_nonexistent
Test pruning a parameter that doesn't exist.
tests/utilities/test_json_schema.py:48
Methodtest_nonexistent_client_returns_none
Test that requesting non-existent client returns None.
tests/server/auth/test_oauth_proxy_storage.py:109
Methodtest_nonexistent_param_in_docstring_ignored
Docstring mentions a param that doesn't exist — silently skipped.
tests/utilities/test_docstring_parsing.py:547
Methodtest_nonexistent_paths_handled_gracefully
Test that non-existent paths don't cause errors.
tests/server/providers/test_skills_vendor_providers.py:187
Methodtest_nonexistent_roots_handled_gracefully
Test that non-existent roots don't cause errors.
tests/server/providers/test_skills_provider.py:963
Methodtest_nonexistent_skill_raises
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:223
Methodtest_nonexistent_skills_directory
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:772
Methodtest_nonexpiring_token_ignores_stale_stored_expiry
A reloaded token without `expires_in` is non-expiring and must not inherit a stale expiry left by a previous token it replaced.
tests/client/auth/test_client_credentials.py:506
Methodtest_nonmatching_namespace_returns_none
Test that lookups with wrong namespace return None.
tests/server/providers/test_transforming_provider.py:356
Methodtest_normal_operation_unaffected
Test that normal operation is unaffected by the monitoring.
tests/client/client/test_session.py:234
Methodtest_normal_pagination_unaffected
Cycle detection should not interfere with normal pagination.
tests/server/test_pagination.py:649
Functiontest_normal_response_text_and_function_call
A normal response with both real text and a function call should produce both TextContent and ToolUseContent in the result.
tests/client/sampling/handlers/test_google_genai_handler.py:777
Methodtest_normal_values_still_work
(self, director, path_route)
tests/utilities/openapi/test_director.py:1215
Functiontest_normalize_completion_coerces_values
(value, expected)
tests/server/test_completions.py:246
Functiontest_normalize_completion_passes_completion_through
()
tests/server/test_completions.py:250
Functiontest_normalize_completion_rejects_bare_string
()
tests/server/test_completions.py:272
Functiontest_normalize_completion_truncates_oversized_completion_and_keeps_total
()
tests/server/test_completions.py:263
Functiontest_normalize_completion_truncates_oversized_list_to_100
()
tests/server/test_completions.py:255
Methodtest_normalize_google_scope
(self, shorthand: str, expected: str)
tests/server/auth/providers/test_google.py:224
Methodtest_normalizes_special_chars
(self, special_chars)
tests/utilities/json_schema_type/test_advanced.py:807
Methodtest_normalizes_urls_correctly
Test that URLs are normalized by stripping query params, fragments, and trailing slashes.
tests/server/auth/oauth_proxy/test_config.py:47
Methodtest_not_advertised_when_disabled
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:246
Methodtest_not_before_claim
Tokens are rejected until their nbf time, allowing small clock skew.
tests/server/auth/test_jwt_provider_bearer.py:147
Methodtest_not_found_no_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:765
Methodtest_not_found_with_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:759
Methodtest_not_in_input_schema
(self)
tests/server/test_session_provider.py:117
Functiontest_not_reference_resolves_in_tool_schemas
(version: str)
tests/utilities/openapi/test_subschema_keyword_refs.py:43
Methodtest_not_strict_configuration
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:319
Methodtest_not_strict_configuration_with_bad_url
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:340
Methodtest_not_strict_configuration_with_invalid_config
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:331
Methodtest_note_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:386
Methodtest_nothing_fits_returns_empty
(self)
tests/experimental/transforms/test_jev_search.py:189
Functiontest_notify_from_inside_a_tool_reaches_listener
(server: FastMCP)
tests/server/test_subscriptions.py:170
Functiontest_notify_without_listeners_is_a_noop
(server: FastMCP)
tests/server/test_subscriptions.py:356
Methodtest_null_accepts_none
(self, simple_null)
tests/utilities/json_schema_type/test_json_schema_type.py:106
Methodtest_null_const_invalid
(self, null_const)
tests/utilities/json_schema_type/test_advanced.py:890
Methodtest_null_const_valid
(self, null_const)
tests/utilities/json_schema_type/test_advanced.py:886
Methodtest_null_default_on_non_nullable_type
Null default on non-nullable type is preserved as-is (not validated).
tests/utilities/json_schema_type/test_json_schema_type.py:225
Methodtest_null_literal_returns_none_when_nullable
``null`` maps to ``None`` when the schema allows it.
tests/cli/test_client_commands.py:142
Methodtest_null_literal_stays_string_when_not_nullable
``null`` stays as a string when the schema does not allow null.
tests/cli/test_client_commands.py:146
Methodtest_null_literal_stays_string_when_string_is_nullable
``str | None`` keeps ``null`` as the literal string.
tests/cli/test_client_commands.py:196
Functiontest_null_not_allowed_by_encoding_or_schema
(media_type: str)
tests/utilities/openapi/test_null_body.py:51
Methodtest_null_rejects_false
(self, simple_null)
tests/utilities/json_schema_type/test_json_schema_type.py:110
Functiontest_null_ttl_is_permitted_by_schema
`ttlMs` is required-but-nullable; a null TTL still validates.
tests/tasks/server/test_wire_models.py:158
Functiontest_null_uses_selected_media_type
()
tests/utilities/openapi/test_null_body.py:64
Methodtest_nullable_behavior_different_types
Test nullable behavior works for all parameter types.
tests/utilities/openapi/test_legacy_compatibility.py:156
Methodtest_nullable_enum_already_contains_null
Test nullable enum that already contains None.
tests/utilities/openapi/test_nullable_fields.py:279
Methodtest_nullable_enum_field
Test nullable enum field - issue #2082.
tests/utilities/openapi/test_nullable_fields.py:265
Methodtest_nullable_enum_validates
Test that nullable enum validates null, enum values, and rejects invalid values.
tests/utilities/openapi/test_nullable_fields.py:439
Methodtest_nullable_enum_without_type
Test nullable enum without explicit type field.
tests/utilities/openapi/test_nullable_fields.py:293
Methodtest_nullable_false_ignored
Test that nullable: false is ignored (removed but no type change).
tests/utilities/openapi/test_nullable_fields.py:86
Methodtest_nullable_in_definitions
Test nullable field inside $defs.
tests/utilities/openapi/test_nullable_fields.py:358
Methodtest_nullable_in_nested_properties
Test nullable field in deeply nested properties.
tests/utilities/openapi/test_nullable_fields.py:389
Methodtest_nullable_in_request_body_defs_converted
Nullable field inside $defs referenced by request body should be converted.
tests/utilities/openapi/test_nullable_fields.py:504
Methodtest_nullable_integer_enum
Test nullable enum with integer values.
tests/utilities/openapi/test_nullable_fields.py:344
Functiontest_nullable_integer_reannotation_preserves_parent_bounds
A repeated nullable type must still advertise the bounds enforced by the parent.
tests/tools/tool_transform/test_schema_compatibility.py:17
Functiontest_nullable_object_output_schema_is_registrable
(mode: str)
tests/server/providers/local_provider_tools/test_output_schema.py:352
Functiontest_nullable_object_with_all_of_is_projected_before_conversion
()
tests/server/providers/openapi/test_write_only_responses.py:409
Methodtest_nullable_query_param_converted_in_tool_input_schema
Nullable query parameter should produce type union in tool input schema.
tests/utilities/openapi/test_nullable_fields.py:464
Methodtest_nullable_string_validates
Test that nullable string validates both null and string values.
tests/utilities/openapi/test_nullable_fields.py:426
Methodtest_nullable_without_type_removes_nullable
Test that nullable field is removed even without type.
tests/utilities/openapi/test_nullable_fields.py:103
Methodtest_number
(self)
tests/cli/test_client_commands.py:58
Methodtest_number_accepts_float
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:53
Methodtest_number_accepts_integer
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:57
Methodtest_number_accepts_numeric_string
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:61
Methodtest_number_const_invalid
(self, number_const)
tests/utilities/json_schema_type/test_advanced.py:872
Methodtest_number_const_valid
(self, number_const)
tests/utilities/json_schema_type/test_advanced.py:868
Methodtest_number_default_preserved
Test that number defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:531
Methodtest_number_integer_value
(self)
tests/cli/test_client_commands.py:61
Methodtest_number_invalid
(self)
tests/cli/test_client_commands.py:64
Methodtest_number_rejects_invalid_string
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:66
Functiontest_numeric_exclusive_bounds_are_unchanged
()
tests/utilities/openapi/test_exclusive_bounds.py:71
Methodtest_numeric_values_become_float_seconds
(self)
tests/utilities/test_timeout.py:18
Methodtest_numeric_values_become_timedeltas
(self)
tests/utilities/test_timeout.py:44
Methodtest_numeric_values_still_work
(self, director, path_route)
tests/utilities/openapi/test_director.py:1232
Methodtest_numpy_returns_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:330
Methodtest_numpy_style_integration
(self)
tests/utilities/test_docstring_parsing.py:444
Methodtest_oauth
(self, transport_cls: type)
tests/cli/test_generate_cli_remote.py:79
Functiontest_oauth_auth_is_shared_across_transport_rebuilds
()
tests/client/transports/test_oauth_transport_reuse.py:46
Methodtest_oauth_authorization_server_metadata_path_aware_discovery
Test RFC 8414 path-aware discovery when issuer_url has a path. This validates the fix for issue #2527 where authorization server metadata
tests/server/auth/test_oauth_mounting.py:270
Methodtest_oauth_authorization_server_metadata_root_issuer
Test that root-level issuer_url still uses root discovery path. When issuer_url is explicitly set to root (no path), the authorization
tests/server/auth/test_oauth_mounting.py:353
Methodtest_oauth_authorization_server_metadata_with_base_url_and_issuer_url
Test OAuth authorization server metadata when base_url and issuer_url differ. This validates the fix for issue #2287 where operational OAuth
tests/server/auth/test_oauth_mounting.py:200
Methodtest_oauth_brackets_ipv6_callback_host_in_redirect_uri
( self, callback_host: str )
tests/client/auth/test_oauth_client.py:318
Functiontest_oauth_callback_handler_propagates_iss_to_authorization_code_result
RFC 9207: `OAuth.callback_handler()` (the production, non-headless path) must carry `iss` from the callback query string all the way into the
tests/client/auth/test_oauth_client.py:195
Functiontest_oauth_callback_options_pass_to_fastmcp_oauth
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:138
Functiontest_oauth_callback_port_in_use_fails_the_connection
A callback port that cannot be bound fails the connection with a clear error instead of leaking uvicorn's SystemExit out of the client.
tests/client/auth/test_oauth_client.py:233
Functiontest_oauth_callback_result_captures_iss
RFC 9207: the `iss` query parameter must survive from the raw callback request through to `OAuthCallbackResult`, the same as `code` and `state`.
tests/client/test_oauth_callback_race.py:75
Functiontest_oauth_callback_result_captures_iss_on_error
RFC 9207 applies to error redirects too -- the server emits `iss` on them, so the callback server must not silently drop it while building the
tests/client/test_oauth_callback_race.py:120
Functiontest_oauth_callback_result_ignores_subsequent_callbacks
Only the first callback should be captured in shared OAuth callback state.
tests/client/test_oauth_callback_race.py:23
Functiontest_oauth_callback_server_does_not_need_websockets
The callback is a plain HTTP route, and `websockets` is not installed with a client-only `fastmcp-slim[client]`, so uvicorn must not load a WebSoc
tests/client/test_oauth_callback_race.py:65
Functiontest_oauth_callback_server_uses_configured_host
()
tests/client/test_oauth_callback_race.py:59
Functiontest_oauth_client_is_rebuilt_when_the_url_changes
()
tests/client/transports/test_oauth_transport_reuse.py:69
Methodtest_oauth_custom_factory_preserved_with_verify
(self)
tests/client/transports/test_transports.py:265
Methodtest_oauth_discovery_endpoints_integration
Test OAuth discovery endpoints work correctly together.
tests/integration_tests/auth/test_keycloak_provider_integration.py:20
Methodtest_oauth_endpoints_configured_correctly
Test that OAuth endpoints are derived from the domain.
tests/server/auth/providers/test_clerk.py:69
← previousnext →13,101–13,200 of 17,519, ranked by callers