Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrefectHQ/fastmcp
/ functions
Functions
16,224 in github.com/PrefectHQ/fastmcp
⨍
Functions
16,224
◇
Types & classes
2,249
↳
Endpoints
189
Function
test_unconfigured_server_exposes_tools_but_refuses_calls
(monkeypatch)
examples/smart_home/tests/test_fire_tv.py:245
Method
test_uncreated_id_is_rejected
An id that was never handed out by `create_session` does not resolve.
tests/server/test_session_provider.py:368
Method
test_uncreated_session_does_not_exist
(self)
tests/server/test_sessions.py:189
Function
test_undeclared_arguments_are_ignored
( method: str, arguments: dict[str, Any] )
tests/server/providers/openapi/test_undeclared_arguments.py:98
Function
test_undeclared_arguments_are_ignored_after_schema_precalculation_fails
( monkeypatch: pytest.MonkeyPatch, )
tests/server/providers/openapi/test_undeclared_arguments.py:131
Method
test_undeclared_private_use_redirect_is_rejected
( self, oauth_proxy, declare_client, redirect_uri )
tests/server/auth/oauth_proxy/test_authorization.py:326
Method
test_undecodable_skill_is_skipped
(self, tmp_path: Path, reload: bool)
tests/server/providers/test_skills_provider.py:778
Method
test_undecryptable_snapshot_fails_the_task
Fail closed: a worker that cannot recover the caller must not run. Running anyway would execute the tool as an anonymous caller, which for
tests/tasks/server/test_snapshot_encryption.py:257
Method
test_underscore_name
(self)
tests/cli/test_generate_cli.py:761
Method
test_unexpected_error_in_request_building_gives_useful_message
Unexpected exceptions during request building should produce useful errors.
tests/server/providers/openapi/test_comprehensive.py:933
Method
test_unexpected_exception_still_logs_with_traceback
(self, caplog)
tests/server/test_input_validation.py:801
Method
test_unexpected_refresh_error_is_preserved
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:458
Method
test_unhinted_server_not_cached
(self)
tests/server/test_cache_hints.py:171
Method
test_unicode_normalization
(self)
tests/server/transforms/test_search.py:522
Method
test_unicode_property_pattern_falls_back
Unicode \\p{...} patterns (unsupported by Rust regex) degrade gracefully.
tests/utilities/json_schema_type/test_json_schema_type.py:511
Method
test_unicode_tokens
(self)
tests/server/transforms/test_search.py:517
Function
test_uninitialized_task_group_error_points_to_lifespan_docs
()
tests/server/http/test_task_group_error.py:6
Function
test_uninstall_restores_stock_serializer
()
tests/tasks/server/test_wire_production.py:75
Method
test_union_arm_stripped_keeps_data_schema
(self)
tests/server/test_mrtr_guards.py:171
Method
test_union_constants
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:282
Method
test_union_of_simple_types
(self)
tests/cli/test_generate_cli.py:82
Function
test_union_reannotation_preserves_parent_constraints
Union order and Literal values do not change the underlying primitive types.
tests/tools/tool_transform/test_schema_compatibility.py:231
Method
test_union_type_pipes_escaped
(self)
tests/cli/test_generate_cli.py:939
Method
test_union_type_validation
(self)
tests/server/providers/local_provider_tools/test_parameters.py:253
Method
test_union_types
(self)
tests/cli/test_generate_cli.py:802
Method
test_union_types_with_nullable
Test nullable handling with existing union types (type as array).
tests/utilities/openapi/test_nullable_fields.py:155
Method
test_union_with_context
(self)
tests/tools/test_tool_future_annotations.py:98
Method
test_union_with_list_query_param_accepts_explode
A mixed union can opt into repeated values with explode.
tests/resources/test_resource_template.py:1305
Method
test_union_with_scalar_query_param_does_not_require_explode
A scalar union branch preserves the existing plain-query contract.
tests/resources/test_resource_template.py:1283
Method
test_unique_items_accepts_unique
(self, unique_items_array)
tests/utilities/json_schema_type/test_containers.py:74
Method
test_unique_items_accepts_unique_objects
(self)
tests/utilities/json_schema_type/test_containers.py:83
Method
test_unique_items_avoids_all_pairs_comparison
( self, monkeypatch: pytest.MonkeyPatch, objects: bool )
tests/utilities/json_schema_type/test_containers.py:146
Method
test_unique_items_cyclic_python_value_preserves_fallback
(self)
tests/utilities/json_schema_type/test_containers.py:213
Method
test_unique_items_is_preserved_in_generated_schema
(self, unique_items_array)
tests/utilities/json_schema_type/test_containers.py:112
Method
test_unique_items_json_equality
(self, values: list[Any], duplicate: bool)
tests/utilities/json_schema_type/test_containers.py:135
Method
test_unique_items_keeps_boolean_and_number_distinct
(self)
tests/utilities/json_schema_type/test_containers.py:104
Method
test_unique_items_large_array
(self, objects: bool)
tests/utilities/json_schema_type/test_containers.py:167
Method
test_unique_items_non_finite_numbers_preserve_python_equality
(self)
tests/utilities/json_schema_type/test_containers.py:204
Method
test_unique_items_preserves_python_fallback
( self, values: list[Any], duplicate: bool )
tests/utilities/json_schema_type/test_containers.py:192
Method
test_unique_items_rejects_duplicate_objects
(self)
tests/utilities/json_schema_type/test_containers.py:93
Method
test_unique_items_rejects_duplicates
(self, unique_items_array)
tests/utilities/json_schema_type/test_containers.py:78
Method
test_unique_match
(self, tmp_path: Path)
tests/cli/test_discovery.py:747
Method
test_unknown_client_id_still_returns_none
Non-upstream, unregistered IDs still return None.
tests/server/auth/oauth_proxy/test_client_registration.py:530
Method
test_unknown_issuer_rejected
An issuer outside the accepted set is still rejected.
tests/server/auth/providers/test_scalekit.py:176
Method
test_unknown_kwarg_raises_standard_type_error
(self)
tests/deprecated/test_settings.py:52
Method
test_unknown_launch_id_is_rejected
(self)
tests/cli/test_apps_dev_server.py:561
Method
test_unknown_mode_rejected
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:47
Method
test_unknown_refresh_token_logs_warning
(self, oauth_proxy, caplog)
tests/server/auth/oauth_proxy/test_tokens.py:2323
Function
test_unknown_tool_after_exit_needs_every_client_for_discovery
()
tests/client/group/test_client_group.py:372
Function
test_unknown_tool_after_reconnect_rediscovers_lazily
()
tests/client/group/test_client_group.py:352
Function
test_unknown_tools_do_not_repeat_discovery
()
tests/client/group/test_client_group.py:150
Method
test_unknown_type_tag_is_a_miss
A stored envelope naming a type outside the allowlist is a miss, never imported.
tests/client/client/test_kv_response_cache.py:184
Method
test_unmapped_format_falls_back_to_string
(self, unknown_format)
tests/utilities/json_schema_type/test_formats.py:181
Function
test_unmapped_human_author_is_flagged_without_guessing_a_handle
( monkeypatch: pytest.MonkeyPatch, )
tests/scripts/test_release_contributor_credit.py:141
Method
test_unmarked_is_enabled
Components without marks are enabled by default.
tests/server/transforms/test_visibility.py:164
Function
test_unmasked_ordinary_error_keeps_details
()
tests/server/providers/openapi/test_transport_errors.py:90
Method
test_unmodified_message_dispatches_unchanged
An observation-only hook leaves dispatch untouched.
tests/server/middleware/test_message_visibility.py:261
Method
test_unnamespaced_mount_lists_shared_version_once
(self)
tests/server/versioning/test_versioning.py:493
Method
test_unnecessary_defs_preserved_when_referenced
Even seemingly unnecessary $defs must be preserved if they're referenced.
tests/utilities/openapi/test_transitive_references.py:596
Method
test_unparseable_snapshot_fails_the_task
Fail closed extends past decryption: a parse failure also loses the caller, so it must not degrade to an anonymous run.
tests/tasks/server/test_snapshot_encryption.py:318
Function
test_unpinned_call_still_validates_a_non_conforming_result
Pinning a version must not turn result validation off in general.
tests/client/test_versioned_call_tool_validation.py:125
Method
test_unpinned_positional_array_keeps_list_semantics
( self, unpinned_positional_array )
tests/utilities/json_schema_type/test_containers.py:442
Function
test_unpinned_prefix_and_tail_formats_keep_existing_hydration
()
tests/utilities/json_schema_type/test_prefix_items.py:73
Function
test_unreadable_folder_is_skipped
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/skills/test_directory_provider.py:191
Method
test_unreadable_snapshot_is_nonfatal_without_a_key
Without encryption a corrupt snapshot still only degrades the caller.
tests/tasks/server/test_snapshot_encryption.py:390
Method
test_unrecognised_exits
(self)
tests/cli/test_client_commands.py:438
Function
test_unregistered_argument_returns_empty_completion
(completion_server, mode)
tests/server/test_completions.py:109
Method
test_unregistered_client_returns_html_for_browser
Test that unregistered client returns styled HTML for browser requests.
tests/server/auth/test_enhanced_error_responses.py:114
Method
test_unregistered_client_returns_json_for_api
Test that unregistered client returns enhanced JSON for API clients.
tests/server/auth/test_enhanced_error_responses.py:147
Method
test_unregistered_post_client_still_returns_enhanced_error
(self, oauth_proxy)
tests/server/auth/test_enhanced_error_responses.py:200
Function
test_unregistered_ref_returns_empty_completion
(completion_server, mode)
tests/server/test_completions.py:99
Method
test_unrelated_class_is_not_member
Test that an unrelated class is not a member of the base class.
tests/utilities/test_types.py:43
Method
test_unrelated_class_is_not_subclass
Test that an unrelated class is not a subclass.
tests/utilities/test_types.py:119
Function
test_unrelated_client_validation_error_is_not_ignored
()
tests/server/providers/proxy/test_server_metadata.py:380
Function
test_unrelated_extension_method_collision_is_rejected
()
tests/server/test_provider_extensions.py:413
Method
test_unrelated_server_after_parent_with_mount
A parent with a mounted child must not contaminate later entries. ``FastMCPProvider`` sets ``_lifespan_root_active`` while entering the
tests/server/mount/test_advanced.py:528
Method
test_unresolvable_identity_is_restored
An inner server binds to a name that means nothing further out, so a reference this server cannot resolve is restored to its identity
tests/server/providers/test_prefab_roundtrip.py:653
Method
test_unresolvable_mapping_is_ignored
An unusable mapping leaves the parent schema as it was.
tests/server/providers/openapi/test_openapi_discriminator.py:215
Function
test_unrestricted_tail_preserves_existing_prefix_values
( tail: dict[str, Any], )
tests/utilities/json_schema_type/test_prefix_items.py:93
Method
test_unrotated_refresh_token_injected
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:220
Method
test_unroutable_method_observed_by_on_message
An unknown method fails routing before any handler; the root dispatch still runs ``on_message``/``on_request`` around the failure.
tests/server/middleware/test_message_visibility.py:133
Method
test_unsafe_scheme_rejected_regardless_of_type
( self, oauth_proxy, application_type )
tests/server/auth/oauth_proxy/test_client_registration.py:424
Method
test_unsafe_schemes_rejected_for_all_types
( self, uri: str, application_type: str )
tests/server/auth/test_oauth_proxy_redirect_validation.py:806
Method
test_unserializable_result_falls_back_to_text_content_softly
A value the structured serializer cannot handle becomes content-only. `convert_result` catches the serialization error and returns text
tests/tools/tool/test_nonfinite_serialization.py:208
Method
test_unserializable_return_annotation
(self)
tests/tools/tool/test_output_schema.py:227
Method
test_unset_config_uses_pydantic_default
A model with no serialize config uses Pydantic's field-name default.
tests/tools/tool/test_results.py:370
Method
test_unset_fields_stay_off_resource
(self)
tests/server/providers/test_prefab_synthesis.py:143
Method
test_unsupported_method_raises
(self)
tests/server/auth/oauth_proxy/test_upstream_client.py:123
Method
test_unsupported_pattern_preserved_in_schema_extra
The original pattern is preserved via json_schema_extra.
tests/utilities/json_schema_type/test_json_schema_type.py:477
Method
test_unsupported_transport_raises
(self)
tests/cli/test_generate_cli_remote.py:102
Method
test_untitled_nullable_object_root_self_reference
(self)
tests/utilities/json_schema_type/test_advanced.py:585
Method
test_untranslatable_transport_exits_without_writing
(self, tmp_path: Path)
tests/cli/test_generate_cli_remote.py:170
Function
test_untrusted_account_cannot_supply_revision_marker
(triage, monkeypatch)
tests/test_public_triage.py:367
Method
test_untrusted_issuer_rejected
( self, idp_key: RSAKeyPair, config: IdentityAssertion )
tests/server/auth/oauth_proxy/test_identity_assertion.py:450
Method
test_untrusted_metadata_cannot_supply_token_endpoint
( self, provider_type, metadata_case )
tests/client/auth/test_client_credentials.py:920
Method
test_untyped_empty_properties_with_additional_returns_dict
An empty properties map with additionalProperties=True keeps unknown keys
tests/utilities/json_schema_type/test_advanced.py:1338
Function
test_untyped_json_object_with_result_key_is_not_unwrapped
()
tests/server/providers/openapi/test_bodiless_success_responses.py:190
Method
test_untyped_object_with_additional_keeps_extra_fields
A properties-only object without "type" still honours additionalProperties
tests/utilities/json_schema_type/test_advanced.py:1329
Method
test_untyped_union_branch_preserves_raw_string
A branch without a ``type`` may be a string, so input stays raw.
tests/cli/test_client_commands.py:213
Function
test_unusable_manifest_keeps_candidates
(unreadable: bool)
tests/skills/test_list_skill_resources.py:135
← previous
next →
15,401–15,500 of 16,224, ranked by callers