MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_optional_mode_sync_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:418
Methodtest_optional_mode_task_through_mount
(self, parent_with_modes)
tests/tasks/server/test_task_mount.py:425
Methodtest_optional_mode_with_opt_in_tasks
Optional mode tasks when the caller opts in.
tests/tasks/server/test_task_config.py:199
Methodtest_optional_mode_without_opt_in_runs_sync
Optional mode runs synchronously without a tasks opt-in.
tests/tasks/server/test_task_config.py:191
Methodtest_optional_model_hydrates
(self, dereference_schemas: bool)
tests/client/test_result_hydration.py:240
Methodtest_optional_non_string_still_decodes_json_null
(self)
tests/prompts/test_prompt.py:391
Methodtest_optional_param
(self)
tests/cli/test_generate_cli.py:167
Methodtest_optional_param
(self)
tests/cli/test_generate_cli.py:864
Methodtest_optional_param_with_default
(self)
tests/cli/test_client_commands.py:340
Methodtest_optional_param_without_default
(self)
tests/cli/test_client_commands.py:346
Methodtest_optional_parameter_handling
Optional query parameters are sent only when provided.
tests/server/providers/openapi/test_end_to_end_compatibility.py:203
Methodtest_optional_parameter_nullable_behavior
Test that optional parameters are not made nullable - they can simply be omitted.
tests/utilities/openapi/test_legacy_compatibility.py:18
Methodtest_optional_parameters_with_coercion
Optional parameters should work with coercion.
tests/server/test_input_validation.py:457
Methodtest_optional_prefab_app_inferred
(self)
tests/test_apps_prefab.py:263
Methodtest_optional_sections
Test that all config sections are optional except source.
tests/cli/test_config.py:453
Methodtest_optional_session_is_none_without_auth
`session: UserSession | None = None` injects `None` on an unauthenticated request instead of raising.
tests/server/test_session_provider.py:178
Methodtest_optional_session_is_present_with_auth
The same optional parameter injects a real `UserSession` when the request is authenticated.
tests/server/test_session_provider.py:193
Methodtest_optional_session_not_in_input_schema
An optional injected session is still excluded from the schema.
tests/server/test_session_provider.py:209
Methodtest_optional_tool_exposes_task_support
Tools with mode=optional expose task_support='optional'.
tests/tasks/server/test_task_config.py:216
Methodtest_optional_tool_result_subclass_no_output_schema
(self)
tests/tools/tool/test_output_schema.py:161
Functiontest_optional_tool_runs_sync_without_opt_in
()
tests/tasks/server/test_extension.py:120
Functiontest_optional_tool_tasks_when_opted_in
()
tests/tasks/server/test_extension.py:108
Functiontest_optional_triage_failure_cannot_block_backlog_publication
()
tests/test_public_triage.py:389
Methodtest_optional_uses_non_null_type
``X | None`` is coerced like ``X``.
tests/cli/test_client_commands.py:110
Methodtest_optional_vs_required_parameters
Test handling of optional vs required parameters.
tests/server/providers/openapi/test_comprehensive.py:693
Methodtest_options_survive_the_per_request_client_copy
The proxy builds a fresh client per request via `new()`.
tests/server/providers/proxy/test_proxy_server.py:1426
Methodtest_order_independence
(self)
tests/cli/test_generate_cli.py:1048
Methodtest_order_independent_hash
(self)
tests/utilities/json_schema_type/test_advanced.py:894
Functiontest_organization_memberships_preserve_zero_one_and_many
(count: int)
tests/cli/deploy/test_horizon_client.py:172
Functiontest_origin_change_clears_credentials_before_writing_configuration
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/cli/deploy/test_configuration.py:58
Methodtest_other_cookie_values_are_not_a_session
(self, cookie: str)
tests/cli/test_apps_dev_server.py:212
Methodtest_other_executables_receive_argument_list
( self, installer: Installer, run: Mock, monkeypatch: pytest.MonkeyPatch,
tests/cli/test_install_cli_arguments.py:378
Methodtest_other_filters_do_not_warn
Only `keys` is subject to this validation.
tests/server/transforms/test_visibility.py:317
Methodtest_other_host_headers_are_rejected
(self, host: str)
tests/cli/test_apps_dev_server.py:236
Methodtest_other_mcp_errors_still_become_tool_errors
(self)
tests/test_exceptions.py:136
Methodtest_other_names_keep_their_field_name
(self, name: str)
tests/utilities/json_schema_type/test_generated_classes.py:311
Methodtest_other_optimizations_still_apply_without_dereference
(self)
tests/utilities/test_json_schema.py:1059
Methodtest_other_parameters_initialization
Test other parameters initialization.
tests/server/auth/test_oidc_proxy.py:547
Methodtest_other_redirect_query_is_prompted
An approval for `?tenant=A` must not silently approve `?tenant=B`.
tests/server/auth/test_oauth_consent_remembered_key.py:140
Functiontest_other_source_remains_ambiguous
(claude_project)
tests/cli/test_claude_code_precedence.py:78
Methodtest_other_validation_logs_omit_client_data
(self, caplog, raw_pydantic)
tests/server/test_input_validation.py:681
Methodtest_outer_deadline_remains_mcp_error
(self)
tests/tools/test_tool_timeout.py:291
Methodtest_output_schema_complex_type
Test complex type output schema.
tests/server/providers/local_provider_tools/test_output_schema.py:199
Methodtest_output_schema_dataclass
Test dataclass output schema.
tests/server/providers/local_provider_tools/test_output_schema.py:224
Methodtest_output_schema_dereferenced
Middleware also dereferences output_schema when present.
tests/server/middleware/test_dereference.py:90
Functiontest_output_schema_does_not_inline_a_component_named_like_the_pointer_tail
()
tests/utilities/openapi/test_schemas.py:798
Methodtest_output_schema_explicit_object
Test explicit object output schema.
tests/server/providers/local_provider_tools/test_output_schema.py:146
Methodtest_output_schema_false_allows_automatic_structured_content
Test that output_schema=False still allows automatic structured content for dict-like objects.
tests/tools/tool/test_output_schema.py:367
Methodtest_output_schema_inferred_when_not_specified
Test that output schema is inferred when not explicitly specified.
tests/tools/tool/test_output_schema.py:398
Functiontest_output_schema_keeps_media_type_defs
()
tests/utilities/openapi/test_inline_defs.py:67
Functiontest_output_schema_keeps_media_type_defs_after_wrap_without_components
()
tests/utilities/openapi/test_inline_defs.py:138
Functiontest_output_schema_kept_without_bodiless_success_response
( responses: dict[str, Any], )
tests/server/providers/openapi/test_bodiless_success_responses.py:129
Methodtest_output_schema_mixed_content_types
Test tools with mixed content and output schemas.
tests/server/providers/local_provider_tools/test_output_schema.py:248
Methodtest_output_schema_none
Test that output_schema=None works correctly.
tests/server/providers/local_provider_tools/test_output_schema.py:128
Methodtest_output_schema_none_disables_structured_content
Test that output_schema=None explicitly disables structured content.
tests/tools/tool/test_output_schema.py:383
Functiontest_output_schema_omits_write_only_properties
(openapi_version: str)
tests/server/providers/openapi/test_write_only_responses.py:63
Methodtest_output_schema_raises_tool_error
With an output schema, serialization failure is an error result, not a success carrying the value's repr with no structured content.
tests/tools/tool/test_results.py:514
Methodtest_output_schema_respects_serialization_alias
Test that Tool.from_function generates output schema using serialization alias.
tests/tools/tool/test_results.py:252
Functiontest_output_schema_rewrites_refs_inside_media_type_defs
()
tests/utilities/openapi/test_inline_defs.py:109
Methodtest_output_schema_serialization_edge_cases
Test edge cases in output schema serialization.
tests/server/providers/local_provider_tools/test_output_schema.py:294
Methodtest_output_schema_wrapped_primitive
Test wrapped primitive output schema.
tests/server/providers/local_provider_tools/test_output_schema.py:178
Methodtest_output_schema_wraps_non_object_ref_schema
Root $ref schemas should only skip wrapping when they resolve to objects.
tests/server/providers/local_provider_tools/test_output_schema.py:310
Methodtest_overall_timeout_bounds_dns_resolution
A slow DNS lookup must not outlive overall_timeout.
tests/server/auth/test_ssrf_protection.py:376
Functiontest_overlapping_property_applies_both_schemas
()
tests/server/providers/openapi/test_body_ref_siblings.py:97
Methodtest_overlapping_renders_both_submittable
Two renders in flight at once must both survive. Sequential renders are the common case, but nothing serialises them. Two handlers ca
tests/server/auth/test_oauth_consent_flow.py:663
Functiontest_overlapping_standalone_aggregate_lifespans_keep_independent_scopes
( bundle: BundledLocalProvider, )
tests/server/test_extension_runtime.py:244
Functiontest_overlong_pattern_returns_no_results
()
tests/server/transforms/test_search_regex.py:84
Methodtest_overridden_get_routes_receives_mcp_path
A subclass that forwards mcp_path keeps path-aware metadata.
tests/server/auth/test_remote_auth_provider.py:614
Methodtest_overwrite_does_not_evict
Overwriting an existing key should not evict another entry.
tests/utilities/test_token_cache.py:196
Methodtest_overwrite_file
(self)
tests/apps/test_file_upload.py:113
Methodtest_overwrites_with_flag
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:356
Methodtest_overwrites_with_flag
(self, skills_server: FastMCP, tmp_path: Path)
tests/utilities/test_skills.py:502
Functiontest_owner_revokes_upstream_access_token
( proxy: OAuthProxy, issue_token: Callable[[str], Awaitable[str]], httpx_mock: HTTPXMock, hint
tests/server/auth/oauth_proxy/test_revocation.py:143
Functiontest_owner_revokes_upstream_refresh_token
( proxy: OAuthProxy, issue_token: Callable[[str], Awaitable[str]], httpx_mock: HTTPXMock, hint
tests/server/auth/oauth_proxy/test_revocation.py:247
Functiontest_ownership_consumers_agree_and_snapshot_preserves_raw_token
()
tests/server/auth/test_auth_source_identities.py:133
Methodtest_package_root_bounded_by_provider_root
When the provider root is nested inside a larger package, import_module_from_file with provider_root must not escape into ancestor packages.
tests/fs/test_discovery.py:580
Methodtest_packages_sorted_and_deduplicated
(self)
tests/cli/test_goose.py:68
Methodtest_paginate_sequence_rejects_a_malformed_offset
(self, offset: object)
tests/server/test_pagination.py:136
Methodtest_pagination_exact_page_boundary
Test pagination at exact page boundaries.
tests/server/test_pagination.py:358
Methodtest_parallel_calls
(self, stdio_script)
tests/client/test_stdio.py:225
Methodtest_parallel_flows_do_not_interfere
Multiple concurrent consent flows in the same browser must not clobber each other. Uses two different clients so the second flow also shows a
tests/server/auth/test_oauth_consent_page.py:733
Functiontest_parallel_initial_lookups_share_one_refresh
(key_data: dict[str, Any])
tests/server/auth/test_jwks_refresh.py:51
Methodtest_param_descriptions_in_schema
(self)
tests/utilities/test_docstring_parsing.py:430
Methodtest_param_name_not_in_function_signature
Docstring documents a param that doesn't exist on the function.
tests/utilities/test_docstring_parsing.py:273
Methodtest_param_with_default
(self)
tests/cli/test_generate_cli.py:183
Methodtest_parameter_change_rerenders_the_detail
(self)
tests/experimental/transforms/test_jev_search.py:331
Methodtest_parameter_collision_handling
Test that parameter collisions are handled with suffixes.
tests/utilities/openapi/test_legacy_compatibility.py:54
Methodtest_parameter_collision_handling
Test that parameter collisions are handled correctly.
tests/server/providers/openapi/test_comprehensive.py:422
Methodtest_parameter_collision_suffixing_logic
Test the specific logic for parameter collision suffixing.
tests/utilities/openapi/test_schemas.py:460
Methodtest_parameter_defaults
Test parameter default values.
tests/utilities/openapi/test_models.py:66
Methodtest_parameter_defaults_to_none
(self, jwt_verifier)
tests/server/auth/oauth_proxy/test_tokens.py:956
Methodtest_parameter_descriptions_with_field_annotations
(self)
tests/server/providers/local_provider_tools/test_parameters.py:51
Methodtest_parameter_descriptions_with_field_defaults
(self)
tests/server/providers/local_provider_tools/test_parameters.py:74
Methodtest_parameter_example_propagation
Test singular parameter example propagation, default preservation, and overriding schema-level examples.
tests/utilities/openapi/test_parser.py:491
Functiontest_parameter_help_preserves_explicit_flags
(newline: str)
tests/cli/test_generate_cli_help.py:75
Functiontest_parameter_help_preserves_line_endings
(newline: str)
tests/cli/test_generate_cli_help.py:14
Methodtest_parameter_info_serialization
Test ParameterInfo serialization.
tests/utilities/openapi/test_models.py:393
Methodtest_parameter_info_validation
Test ParameterInfo validation.
tests/utilities/openapi/test_models.py:344
Methodtest_parameter_location_conversion
Test parameter location string conversion.
tests/utilities/openapi/test_parser.py:400
Functiontest_parameter_named_json_does_not_break_json_arguments
()
tests/cli/test_generate_cli_arguments.py:149
← previousnext →12,101–12,200 of 15,974, ranked by callers