Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
17,519 in github.com/PrefectHQ/fastmcp
⨍
Functions
17,519
◇
Types & classes
2,390
↳
Endpoints
196
Method
test_no_session_task_falls_back_to_direct_await
Test that when no session task exists, it falls back to direct await.
tests/client/client/test_session.py:252
Method
test_no_skill_flag
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:728
Method
test_no_stash_is_noop
(self)
tests/server/providers/proxy/test_stateful_proxy_client.py:322
Method
test_no_static_client_info_without_client_id
When no client_id is provided, _static_client_info should be None.
tests/client/auth/test_oauth_static_client.py:64
Function
test_no_suite_reports_modules_unreached
(pbt)
tests/test_pbt_coverage.py:121
Method
test_no_timeout_completes_normally_async
Tool without timeout completes normally (async).
tests/tools/test_tool_timeout.py:20
Method
test_no_timeout_completes_normally_sync
Tool without timeout completes normally (sync).
tests/tools/test_tool_timeout.py:33
Method
test_no_token_when_unauthenticated
E2E: background task gets no token when nothing was set.
tests/tasks/server/test_context_background_task.py:481
Method
test_no_tools
(self)
tests/cli/test_generate_cli.py:831
Method
test_no_tools_before_decorator
(self)
tests/server/providers/local_provider_tools/test_decorator.py:44
Method
test_no_tools_still_valid
(self)
tests/cli/test_generate_cli.py:485
Method
test_no_uv_needed_with_empty_environment
Test that no UV is needed with empty environment config.
tests/cli/test_mcp_server_config_integration.py:164
Method
test_no_uv_needed_without_environment
Test that no UV is needed without environment config.
tests/cli/test_mcp_server_config_integration.py:156
Method
test_no_warning_on_well_formed_key
Well-formed keys, including URIs containing '@', pass silently.
tests/server/transforms/test_visibility.py:303
Function
test_no_warning_or_scan_when_deprecation_warnings_are_off
(tmp_path: Path)
tests/skills/test_deprecated_paths.py:81
Method
test_no_warning_when_both_masked
No warning when both parent and child have masking enabled.
tests/server/mount/test_mount.py:738
Method
test_no_warning_when_key_prefix_defined
Test that subclassing with KEY_PREFIX does not emit a warning.
tests/utilities/test_components.py:244
Method
test_no_warning_with_client_id
No placeholder warning when --client-id is provided.
tests/cli/test_cimd_cli.py:128
Method
test_no_website_url_in_fastmcp_v1
A v1 server with no website_url reports None rather than raising.
tests/utilities/test_inspect_icons.py:292
Method
test_non_ascii_description
Test that FastMCP handles non-ASCII characters in descriptions correctly
tests/server/test_server.py:28
Method
test_non_ascii_scalar_is_encoded
(self)
tests/server/providers/openapi/test_openapi_features.py:1735
Function
test_non_automatic_dependency_can_be_satisfied_explicitly
()
tests/server/test_provider_extensions.py:372
Method
test_non_bearer_scheme_no_error_attribute
An unsupported auth scheme is treated like missing auth (RFC 6750 §3.1).
tests/server/auth/test_enhanced_error_responses.py:768
Method
test_non_body_parameter_collision_handling
Test that same-named parameters in different locations use suffixes.
tests/utilities/openapi/test_legacy_compatibility.py:105
Method
test_non_bool_fields_untouched
(self)
tests/apps/test_form.py:223
Method
test_non_callable
(self)
tests/utilities/test_async_utils.py:55
Method
test_non_callable_fn
(self)
tests/tools/tool/test_tool.py:297
Function
test_non_colliding_object_properties_are_unchanged
()
tests/server/providers/openapi/test_query_key_collisions.py:97
Method
test_non_conformant_discover_falls_back_to_handshake
A discover result missing required 2026-07-28 fields is not modern evidence. Rather than adopting an era the peer cannot serve, auto degrades
tests/client/client/test_mode_negotiation.py:212
Method
test_non_critical_private_header_is_allowed
( self, rsa_key_pair: RSAKeyPair )
tests/server/auth/test_jwt_provider.py:236
Method
test_non_definition_pointers_return_none
(self)
tests/utilities/test_json_schema.py:950
Method
test_non_dict_input_unchanged
Test that non-dict inputs are returned unchanged.
tests/utilities/openapi/test_nullable_fields.py:128
Method
test_non_exploded_query_param_stays_scalar
Without the explode modifier the param is a scalar — first value wins.
tests/resources/test_resource_template.py:1182
Function
test_non_guard_tool_runs_once
A tool that never asks for input completes in a single invocation.
tests/tasks/server/test_guard_reentrant.py:201
Method
test_non_http_redirect_uri_accepted
Private-use schemes (RFC 8252 section 7.1) have no host.
tests/server/auth/test_cimd.py:141
Method
test_non_identifier_path_params_listed_and_readable
( self, non_identifier_spec )
tests/server/providers/openapi/test_openapi_features.py:1659
Method
test_non_json_content_type_uses_native_encoding
Non-JSON types like multipart/form-data use httpx's native encoding.
tests/utilities/openapi/test_director.py:612
Method
test_non_list_collection_query_params_are_unrestricted
Only `list` round-trips through expansion, so only `list` is checked.
tests/resources/test_resource_template.py:1338
Method
test_non_loopback_host_still_requires_exact_match
Port flexibility is loopback-only; other hosts must match exactly.
tests/server/auth/test_oauth_proxy_redirect_validation.py:523
Method
test_non_loopback_names_are_not_spoofable
(self, host: str)
tests/server/auth/test_oauth_proxy_redirect_validation.py:746
Method
test_non_loopback_no_port_requires_default_port
Non-loopback patterns without port should still require default port.
tests/server/auth/test_redirect_validation.py:756
Method
test_non_matching_unchanged
Non-matching components are not modified.
tests/server/transforms/test_visibility.py:115
Method
test_non_nullable_enum_unchanged
Test that enum without nullable is unchanged.
tests/utilities/openapi/test_nullable_fields.py:305
Method
test_non_numeric_temporal_claim_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion, claim: str, ba
tests/server/auth/oauth_proxy/test_identity_assertion.py:598
Function
test_non_oauth_auth_is_untouched
()
tests/client/transports/test_oauth_transport_reuse.py:82
Method
test_non_object_default_on_object_property
A non-object default on an object property does not break validation. `default` is an annotation, so a provided object validates whatever
tests/utilities/json_schema_type/test_json_schema_type.py:243
Method
test_non_object_discovery_body_rejected
( self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:866
Method
test_non_object_header_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:648
Method
test_non_object_output_schema_raises_error
Test that providing a non-object output schema raises a ValueError.
tests/tools/tool/test_output_schema.py:596
Method
test_non_object_payload_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:634
Method
test_non_openid_scopes_checked_correctly
Calendar scope is correctly checked from the tokeninfo scope string.
tests/server/auth/providers/test_google.py:587
Function
test_non_owner_cannot_revoke_access_token
( proxy: OAuthProxy, issue_token: Callable[[str], Awaitable[str]], httpx_mock: HTTPXMock, clie
tests/server/auth/oauth_proxy/test_revocation.py:229
Method
test_non_package_reload_returns_updated_content
Re-importing a non-package file should reflect file changes (exec_module path).
tests/fs/test_discovery.py:609
Function
test_non_positive_poll_interval_setting_is_rejected
(value: float)
tests/tasks/client/test_poll_interval.py:19
Method
test_non_positive_ttl_raises
(self, cache_ttl)
tests/server/test_cache_hints.py:61
Method
test_non_positive_ttl_rejected
(self, cache_ttl)
tests/server/test_cache_hints.py:49
Method
test_non_prefab_annotation_no_inference
(self)
tests/test_apps_prefab.py:248
Function
test_non_propagating_interceptors_keep_server_local_behavior
()
tests/server/test_provider_extensions.py:724
Function
test_non_rate_limited_403_message_still_rejects_token
()
tests/server/auth/providers/test_github_transient_failures.py:159
Method
test_non_scope_denial_stays_opaque_and_names_no_scope
(self)
tests/server/auth/test_authorization.py:1265
Method
test_non_serializable_state_from_middleware_visible_in_resource
(self)
tests/server/middleware/test_middleware_nested.py:646
Method
test_non_serializable_state_from_middleware_visible_in_tool
(self)
tests/server/middleware/test_middleware_nested.py:620
Method
test_non_standard_2xx_code
Falls back to any 2xx status code when standard ones are missing.
tests/server/providers/openapi/test_openapi_features.py:513
Method
test_non_string_jti_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion, bad_jti: object, )
tests/server/auth/oauth_proxy/test_identity_assertion.py:618
Method
test_non_string_title_does_not_crash
(self, schema, valid_value)
tests/utilities/json_schema_type/test_advanced.py:629
Method
test_non_string_title_names_generated_classes_root
(self, additional_properties)
tests/utilities/json_schema_type/test_advanced.py:640
Method
test_non_string_type_does_not_crash
(self)
tests/cli/test_generate_cli.py:1155
Method
test_non_string_union_falls_back_to_string_on_invalid_json
When JSON parsing fails for a non-string union, the raw string is returned.
tests/cli/test_client_commands.py:219
Method
test_non_string_union_null_not_accepted_when_not_nullable
``null`` in a non-nullable union must not silently return None.
tests/cli/test_client_commands.py:183
Method
test_non_string_union_parses_json
Unions with no string branch parse arrays/objects as JSON.
tests/cli/test_client_commands.py:178
Method
test_non_string_values_ignored
(self)
tests/resources/test_resource_security.py:123
Function
test_non_tool_requests_forward_hop_safe_metadata
( operation: str, backend_mode: str, backend_is_modern: bool, client_class: type[Client], )
tests/server/providers/proxy/test_proxy_request_meta.py:163
Method
test_non_ui_scheme_no_mime_default
(self)
tests/test_apps.py:328
Method
test_non_unique_schema_does_not_validate_uniqueness
( self, monkeypatch: pytest.MonkeyPatch, unique: bool | None )
tests/utilities/json_schema_type/test_containers.py:222
Method
test_none_auth_sends_client_id_only
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:128
Method
test_none_by_default
(self)
tests/client/auth/test_oauth_cimd.py:25
Method
test_none_equals_none
Two None versions should be equal.
tests/server/versioning/test_versioning.py:32
Method
test_none_is_not_member
Test that None is not a member of any class.
tests/utilities/test_types.py:100
Method
test_none_meta
Test that None meta is handled correctly.
tests/resources/test_function_resources.py:291
Method
test_none_meta_returns_current_context
( self, trace_exporter: InMemorySpanExporter )
tests/telemetry/test_module.py:101
Method
test_none_metadata_url_on_parent
(self)
tests/client/auth/test_oauth_cimd.py:36
Function
test_none_methods_logs_everything
()
tests/server/middleware/test_logging_methods_filter.py:54
Method
test_none_outside_mrtr_round
On a plain call (no prior InputRequiredResult), both are None.
tests/server/test_mrtr_guards.py:130
Method
test_none_redirect_uri
Test that None redirect URI uses default behavior.
tests/server/auth/test_oauth_proxy_redirect_validation.py:178
Method
test_none_redirect_uri_allowed
Test that None redirect URI is always allowed.
tests/server/auth/test_redirect_validation.py:525
Method
test_none_redirect_uri_rejected_when_empty_allowlist
redirect_uri=None is rejected when allowlist is empty ([] blocks the resolved URI too).
tests/server/auth/oauth_proxy/test_client_registration.py:586
Method
test_none_redirect_uri_validated_against_patterns
redirect_uri=None resolves to the placeholder then validates against patterns.
tests/server/auth/oauth_proxy/test_client_registration.py:576
Method
test_none_redirect_uri_with_matching_patterns
DCR client with single URI and patterns: None resolves and validates against patterns.
tests/server/auth/test_oauth_proxy_redirect_validation.py:190
Method
test_none_redirect_uri_with_nonmatching_patterns
DCR client with single URI and patterns: None raises if resolved URI doesn't match.
tests/server/auth/test_oauth_proxy_redirect_validation.py:203
Method
test_none_return_annotation
(self)
tests/tools/tool/test_output_schema.py:107
Method
test_none_return_annotation_under_pep563
(self, func)
tests/tools/tool/test_output_schema.py:115
Method
test_none_return_annotation_under_pep563_via_client
(self)
tests/tools/tool/test_output_schema.py:123
Method
test_none_returns_empty_set
Test that None returns an empty set.
tests/utilities/test_components.py:23
Method
test_none_scope_omitted
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:254
Method
test_none_sorts_lowest
None (unversioned) should sort lower than any version.
tests/server/versioning/test_versioning.py:26
Method
test_none_stays_none
(self)
tests/utilities/test_timeout.py:15
Method
test_none_stays_none
(self)
tests/utilities/test_timeout.py:37
Method
test_none_transform_does_not_inherit_schema
( self, func: Callable[..., Any] )
tests/tools/tool_transform/test_schemas.py:268
Method
test_none_transform_explicit_schema_takes_precedence
( self, func: Callable[..., Any] )
tests/tools/tool_transform/test_schemas.py:308
Method
test_none_type_handled_safely
Test that None type is handled safely without raising TypeError.
tests/utilities/test_types.py:123
← previous
next →
13,001–13,100 of 17,519, ranked by callers