Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
15,974 in github.com/PrefectHQ/fastmcp
⨍
Functions
15,974
◇
Types & classes
2,233
↳
Endpoints
189
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:586
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:574
Function
test_non_oauth_auth_is_untouched
()
tests/client/transports/test_oauth_transport_reuse.py:82
Method
test_non_object_discovery_body_rejected
( self, idp_key: RSAKeyPair, httpx_mock: HTTPXMock )
tests/server/auth/oauth_proxy/test_identity_assertion.py:842
Method
test_non_object_header_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:624
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:564
Method
test_non_object_payload_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:610
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:174
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:60
Method
test_non_positive_ttl_rejected
(self, cache_ttl)
tests/server/test_cache_hints.py:48
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:594
Method
test_non_string_title_does_not_crash
(self, schema, valid_value)
tests/utilities/json_schema_type/test_advanced.py:553
Method
test_non_string_title_names_generated_classes_root
(self, additional_properties)
tests/utilities/json_schema_type/test_advanced.py:564
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:218
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:182
Method
test_non_string_union_parses_json
Unions with no string branch parse arrays/objects as JSON.
tests/cli/test_client_commands.py:177
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:110
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:355
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:101
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:228
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_type_handled_safely
Test that None type is handled safely without raising TypeError.
tests/utilities/test_types.py:123
Method
test_none_values
Test handling of None values.
tests/server/test_input_validation.py:474
Method
test_none_vs_false_output_schema_behavior
Test the difference between None and False for output_schema.
tests/tools/tool/test_output_schema.py:534
Method
test_none_when_absent
(self)
tests/server/test_sessions.py:237
Method
test_none_when_no_hint_set
(self)
tests/server/test_cache_hints.py:27
Method
test_none_without_request_context
Off-request (no bound wire request) the properties are None, not a crash.
tests/server/test_mrtr_guards.py:147
Method
test_nonexistent
Test pruning a parameter that doesn't exist.
tests/utilities/test_json_schema.py:47
Method
test_nonexistent_client_returns_none
Test that requesting non-existent client returns None.
tests/server/auth/test_oauth_proxy_storage.py:109
Method
test_nonexistent_param_in_docstring_ignored
Docstring mentions a param that doesn't exist — silently skipped.
tests/utilities/test_docstring_parsing.py:547
Method
test_nonexistent_paths_handled_gracefully
Test that non-existent paths don't cause errors.
tests/server/providers/test_skills_vendor_providers.py:187
Method
test_nonexistent_roots_handled_gracefully
Test that non-existent roots don't cause errors.
tests/server/providers/test_skills_provider.py:961
Method
test_nonexistent_skill_raises
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:223
Method
test_nonexistent_skills_directory
(self, tmp_path: Path)
tests/server/providers/test_skills_provider.py:770
Method
test_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:488
Method
test_nonmatching_namespace_returns_none
Test that lookups with wrong namespace return None.
tests/server/providers/test_transforming_provider.py:245
Method
test_normal_operation_unaffected
Test that normal operation is unaffected by the monitoring.
tests/client/client/test_session.py:234
Method
test_normal_pagination_unaffected
Cycle detection should not interfere with normal pagination.
tests/server/test_pagination.py:649
Function
test_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
Method
test_normal_values_still_work
(self, director, path_route)
tests/utilities/openapi/test_director.py:1215
Function
test_normalize_completion_coerces_values
(value, expected)
tests/server/test_completions.py:246
Function
test_normalize_completion_passes_completion_through
()
tests/server/test_completions.py:250
Function
test_normalize_completion_rejects_bare_string
()
tests/server/test_completions.py:272
Function
test_normalize_completion_truncates_oversized_completion_and_keeps_total
()
tests/server/test_completions.py:263
Function
test_normalize_completion_truncates_oversized_list_to_100
()
tests/server/test_completions.py:255
Method
test_normalize_google_scope
(self, shorthand: str, expected: str)
tests/server/auth/providers/test_google.py:224
Method
test_normalizes_special_chars
(self, special_chars)
tests/utilities/json_schema_type/test_advanced.py:731
Method
test_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
Method
test_not_advertised_when_disabled
(self)
tests/server/auth/oauth_proxy/test_identity_assertion.py:245
Method
test_not_before_claim
Tokens are rejected until their nbf time, allowing small clock skew.
tests/server/auth/test_jwt_provider_bearer.py:147
Method
test_not_found_no_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:765
Method
test_not_found_with_servers
(self, tmp_path: Path)
tests/cli/test_discovery.py:759
Method
test_not_in_input_schema
(self)
tests/server/test_session_provider.py:117
Function
test_not_reference_resolves_in_tool_schemas
(version: str)
tests/utilities/openapi/test_subschema_keyword_refs.py:43
Method
test_not_strict_configuration
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:319
Method
test_not_strict_configuration_with_bad_url
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:340
Method
test_not_strict_configuration_with_invalid_config
Test default configuration with explicit False strict setting.
tests/server/auth/test_oidc_proxy.py:331
Method
test_note_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:386
Method
test_nothing_fits_returns_empty
(self)
tests/experimental/transforms/test_jev_search.py:189
← previous
next →
11,801–11,900 of 15,974, ranked by callers