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_null_accepts_none
(self, simple_null)
tests/utilities/json_schema_type/test_json_schema_type.py:106
Method
test_null_const_invalid
(self, null_const)
tests/utilities/json_schema_type/test_advanced.py:814
Method
test_null_const_valid
(self, null_const)
tests/utilities/json_schema_type/test_advanced.py:810
Method
test_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
Method
test_null_literal_returns_none_when_nullable
``null`` maps to ``None`` when the schema allows it.
tests/cli/test_client_commands.py:141
Method
test_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:145
Method
test_null_literal_stays_string_when_string_is_nullable
``str | None`` keeps ``null`` as the literal string.
tests/cli/test_client_commands.py:195
Function
test_null_not_allowed_by_encoding_or_schema
(media_type: str)
tests/utilities/openapi/test_null_body.py:51
Method
test_null_rejects_false
(self, simple_null)
tests/utilities/json_schema_type/test_json_schema_type.py:110
Function
test_null_ttl_is_permitted_by_schema
`ttlMs` is required-but-nullable; a null TTL still validates.
tests/tasks/server/test_wire_models.py:158
Function
test_null_uses_selected_media_type
()
tests/utilities/openapi/test_null_body.py:64
Method
test_nullable_behavior_different_types
Test nullable behavior works for all parameter types.
tests/utilities/openapi/test_legacy_compatibility.py:156
Method
test_nullable_enum_already_contains_null
Test nullable enum that already contains None.
tests/utilities/openapi/test_nullable_fields.py:279
Method
test_nullable_enum_field
Test nullable enum field - issue #2082.
tests/utilities/openapi/test_nullable_fields.py:265
Method
test_nullable_enum_validates
Test that nullable enum validates null, enum values, and rejects invalid values.
tests/utilities/openapi/test_nullable_fields.py:439
Method
test_nullable_enum_without_type
Test nullable enum without explicit type field.
tests/utilities/openapi/test_nullable_fields.py:293
Method
test_nullable_false_ignored
Test that nullable: false is ignored (removed but no type change).
tests/utilities/openapi/test_nullable_fields.py:86
Method
test_nullable_in_definitions
Test nullable field inside $defs.
tests/utilities/openapi/test_nullable_fields.py:358
Method
test_nullable_in_nested_properties
Test nullable field in deeply nested properties.
tests/utilities/openapi/test_nullable_fields.py:389
Method
test_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
Method
test_nullable_integer_enum
Test nullable enum with integer values.
tests/utilities/openapi/test_nullable_fields.py:344
Function
test_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
Function
test_nullable_object_output_schema_is_registrable
(mode: str)
tests/server/providers/local_provider_tools/test_output_schema.py:352
Function
test_nullable_object_with_all_of_is_projected_before_conversion
()
tests/server/providers/openapi/test_write_only_responses.py:409
Method
test_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
Method
test_nullable_string_validates
Test that nullable string validates both null and string values.
tests/utilities/openapi/test_nullable_fields.py:426
Method
test_nullable_without_type_removes_nullable
Test that nullable field is removed even without type.
tests/utilities/openapi/test_nullable_fields.py:103
Method
test_number
(self)
tests/cli/test_client_commands.py:57
Method
test_number_accepts_float
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:53
Method
test_number_accepts_integer
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:57
Method
test_number_accepts_numeric_string
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:61
Method
test_number_const_invalid
(self, number_const)
tests/utilities/json_schema_type/test_advanced.py:796
Method
test_number_const_valid
(self, number_const)
tests/utilities/json_schema_type/test_advanced.py:792
Method
test_number_default_preserved
Test that number defaults are preserved in the schema.
tests/client/test_elicitation_enums.py:531
Method
test_number_integer_value
(self)
tests/cli/test_client_commands.py:60
Method
test_number_invalid
(self)
tests/cli/test_client_commands.py:63
Method
test_number_rejects_invalid_string
(self, simple_number)
tests/utilities/json_schema_type/test_json_schema_type.py:66
Function
test_numeric_exclusive_bounds_are_unchanged
()
tests/utilities/openapi/test_exclusive_bounds.py:71
Method
test_numeric_values_become_float_seconds
(self)
tests/utilities/test_timeout.py:18
Method
test_numeric_values_become_timedeltas
(self)
tests/utilities/test_timeout.py:44
Method
test_numeric_values_still_work
(self, director, path_route)
tests/utilities/openapi/test_director.py:1232
Method
test_numpy_returns_section_excluded_no_params
(self)
tests/utilities/test_docstring_parsing.py:330
Method
test_numpy_style_integration
(self)
tests/utilities/test_docstring_parsing.py:444
Method
test_oauth
(self, transport_cls: type)
tests/cli/test_generate_cli_remote.py:79
Function
test_oauth_auth_is_shared_across_transport_rebuilds
()
tests/client/transports/test_oauth_transport_reuse.py:46
Method
test_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
Method
test_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
Method
test_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
Method
test_oauth_brackets_ipv6_callback_host_in_redirect_uri
( self, callback_host: str )
tests/client/auth/test_oauth_client.py:318
Function
test_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
Function
test_oauth_callback_options_pass_to_fastmcp_oauth
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_fastmcp_remote.py:138
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_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
Function
test_oauth_callback_server_uses_configured_host
()
tests/client/test_oauth_callback_race.py:59
Function
test_oauth_client_is_rebuilt_when_the_url_changes
()
tests/client/transports/test_oauth_transport_reuse.py:69
Method
test_oauth_custom_factory_preserved_with_verify
(self)
tests/client/transports/test_transports.py:264
Method
test_oauth_discovery_endpoints_integration
Test OAuth discovery endpoints work correctly together.
tests/integration_tests/auth/test_keycloak_provider_integration.py:20
Method
test_oauth_endpoints_configured_correctly
Test that OAuth endpoints are derived from the domain.
tests/server/auth/providers/test_clerk.py:69
Method
test_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_google.py:71
Method
test_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_discord.py:49
Method
test_oauth_endpoints_configured_correctly
(self, memory_storage: MemoryStore)
tests/server/auth/providers/test_huggingface.py:61
Method
test_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_azure.py:102
Method
test_oauth_endpoints_configured_correctly
Test that OAuth endpoints are configured correctly.
tests/server/auth/providers/test_workos.py:185
Method
test_oauth_error_response_raises
(self, httpx_mock: HTTPXMock)
tests/server/auth/oauth_proxy/test_upstream_client.py:182
Method
test_oauth_finds_available_port_on_callback_host
( self, monkeypatch: pytest.MonkeyPatch )
tests/client/auth/test_oauth_client.py:333
Method
test_oauth_insufficient_scope_challenge_excludes_optional_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:866
Method
test_oauth_literal_pass_direct_to_transport
(self)
tests/client/client/test_auth.py:31
Method
test_oauth_literal_pass_direct_to_transport_sse
(self)
tests/client/client/test_auth.py:43
Method
test_oauth_literal_sets_up_oauth_shttp
(self)
tests/client/client/test_auth.py:24
Method
test_oauth_literal_sets_up_oauth_sse
(self)
tests/client/client/test_auth.py:38
Method
test_oauth_missing_auth_challenge_excludes_optional_scopes
(self)
tests/server/auth/test_enhanced_error_responses.py:853
Method
test_oauth_normalizes_trailing_slash
OAuth client should normalize trailing slashes for consistency.
tests/client/auth/test_oauth_client.py:285
Method
test_oauth_preserves_full_url_with_path
OAuth client should preserve the full MCP URL including path components. This is critical for servers hosted under path-based endpoints like
tests/client/auth/test_oauth_client.py:261
Method
test_oauth_preserves_root_url
OAuth client should work correctly with root-level URLs.
tests/client/auth/test_oauth_client.py:277
Function
test_oauth_proxy_propagates_operational_verification_error
()
tests/server/auth/providers/test_github_transient_failures.py:350
Function
test_oauth_server_metadata_discovery
Test that we can discover OAuth metadata from the running server.
tests/client/auth/test_oauth_client.py:154
Method
test_oauth_token_storage_uses_full_url
Token storage should use the full URL to separate tokens per endpoint.
tests/client/auth/test_oauth_client.py:295
Function
test_oauth_token_store_survives_rebuilds
()
tests/client/transports/test_oauth_transport_reuse.py:56
Method
test_oauth_uses_configured_callback_host_port_and_timeout
(self)
tests/client/auth/test_oauth_client.py:303
Function
test_oauth_uses_same_client_as_transport_sse
()
tests/client/transports/test_transports.py:63
Function
test_oauth_uses_same_client_as_transport_streamable_http
()
tests/client/transports/test_transports.py:45
Method
test_object
(self)
tests/cli/test_client_commands.py:86
Method
test_object
(self)
tests/cli/test_generate_cli.py:807
Method
test_object_accepts_extra_properties
(self, simple_object)
tests/utilities/json_schema_type/test_containers.py:336
Method
test_object_accepts_valid
(self, simple_object)
tests/utilities/json_schema_type/test_containers.py:330
Method
test_object_const_in_union
(self)
tests/utilities/json_schema_type/test_json_schema_type.py:343
Method
test_object_consts_invalid
(self, object_with_consts)
tests/utilities/json_schema_type/test_advanced.py:828
Method
test_object_consts_valid
(self, object_with_consts)
tests/utilities/json_schema_type/test_advanced.py:819
Function
test_object_json_body_reaches_http_endpoint
( openapi_version: str, use_ref: bool, schema: dict[str, Any], arguments: dict[str, Any],
tests/server/providers/openapi/test_object_request_bodies.py:93
Method
test_object_output_schema_not_wrapped
Test that object-type output schemas are never wrapped.
tests/tools/tool/test_output_schema.py:456
Function
test_object_parameter_omits_nested_read_only_properties
()
tests/server/providers/openapi/test_read_only_requests.py:162
Function
test_object_query_defaults_preserve_existing_behavior
( style: str, expected: list[tuple[str, str]] )
tests/server/providers/openapi/test_query_array_defaults.py:83
Method
test_object_with_underscore_names
(self)
tests/utilities/json_schema_type/test_containers.py:367
Method
test_object_with_unsupported_pattern_field
An object schema containing a field with an unsupported pattern should not crash TypeAdapter construction.
tests/utilities/json_schema_type/test_json_schema_type.py:489
Method
test_oci_provider_defaults_to_bounded_timeout
OCIProvider exposes and defaults the discovery timeout.
tests/server/auth/test_oidc_proxy.py:969
Method
test_off_does_not_inject
(self, mode, trace_exporter: InMemorySpanExporter)
tests/telemetry/test_interop.py:185
Method
test_off_ignores_incoming_parent
`off` is a full pass-through: the incoming context is not applied.
tests/telemetry/test_interop.py:179
← previous
next →
11,901–12,000 of 15,974, ranked by callers