MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Methodtest_fetch_prereleases
Fetching with prereleases returns highest version.
tests/utilities/test_version_check.py:148
Methodtest_fetch_prereleases_stable_is_highest
Prerelease mode still returns stable if it's highest.
tests/utilities/test_version_check.py:165
Methodtest_fetch_preserves_request_headers_but_drops_host
Caller headers pass through, but a caller-supplied Host is dropped.
tests/server/auth/test_ssrf_protection.py:778
Methodtest_fetch_refuses_end_to_end_when_no_proxy_configured
The refusal surfaces through ssrf_safe_fetch: no client is ever built. The whole point of the hard failure is that the *fetch* cannot proceed
tests/server/auth/test_ssrf_protection.py:670
Methodtest_fetch_size_limit_preserved
Proxy mode still enforces the response size limit during streaming.
tests/server/auth/test_ssrf_protection.py:798
Methodtest_fetch_status_check_preserved
Proxy mode still rejects non-allowed status codes.
tests/server/auth/test_ssrf_protection.py:811
Methodtest_fetch_success
Successful fetch returns highest stable version.
tests/utilities/test_version_check.py:112
Methodtest_fetch_success
Test successful CIMD document fetch.
tests/server/auth/test_cimd.py:240
Methodtest_fetch_ttl_cache
Test that fetched documents are cached and served from cache within TTL.
tests/server/auth/test_cimd.py:263
Methodtest_fetches_if_cache_stale
Fetches from PyPI if cache is stale.
tests/utilities/test_version_check.py:203
Methodtest_field_alias_for_path_parameter
(self)
tests/resources/test_resource_template.py:1373
Methodtest_field_alias_for_query_parameter
(self)
tests/resources/test_resource_template.py:1386
Methodtest_field_defaults_with_type_conversion
Test Field() defaults work with type conversion for non-string types.
tests/prompts/test_prompt.py:986
Methodtest_field_description_takes_precedence
(self)
tests/utilities/test_docstring_parsing.py:476
Methodtest_field_metadata_on_none_default_parameter
Annotated metadata stays on the property itself, not a nested branch. Python 3.10's `get_type_hints` wraps `None`-defaulted hints in
tests/tools/tool/test_tool.py:276
Methodtest_field_prompt_is_printed_verbatim
( self, field_name: str, field_type: str, capsys: pytest.CaptureFixture[str] )
tests/cli/test_client_commands.py:1078
Methodtest_field_with_default
Test that Field(default=...) correctly provides default values in resource templates.
tests/resources/test_resource_template_query_params.py:426
Methodtest_field_with_default
Test that Field(default=...) correctly provides default values.
tests/prompts/test_prompt.py:924
Methodtest_field_with_default_accepts_explicit_value
Test that fields with defaults accept explicit values.
tests/utilities/json_schema_type/test_advanced.py:1494
Methodtest_field_with_default_not_nullable
Test that fields with defaults are not made nullable.
tests/utilities/json_schema_type/test_advanced.py:1469
Methodtest_field_with_default_preserves_type
Test that fields with defaults preserve their original type.
tests/utilities/json_schema_type/test_advanced.py:1457
Methodtest_field_with_default_uses_default
Test that fields with defaults use their default values.
tests/utilities/json_schema_type/test_advanced.py:1482
Methodtest_file
(self, tmp_path: Path)
tests/server/providers/local_provider_tools/test_local_provider_tools.py:149
Methodtest_file_initialization_with_data
Test initialization with data and format.
tests/utilities/test_types.py:466
Methodtest_file_initialization_with_format
Test file initialization with a specific format.
tests/utilities/test_types.py:476
Methodtest_file_initialization_with_name
Test file initialization with a custom name.
tests/utilities/test_types.py:506
Methodtest_file_initialization_with_path
Test file initialization with a path.
tests/utilities/test_types.py:440
Methodtest_file_is_executable
(self, tmp_path: Path)
tests/cli/test_generate_cli.py:656
Methodtest_file_path
(self)
tests/cli/test_client_commands.py:542
Methodtest_file_path_expansion_with_env_var
Test that environment variables are expanded.
tests/utilities/test_types.py:455
Methodtest_file_path_expansion_with_tilde
Test that ~ is expanded to the user's home directory.
tests/utilities/test_types.py:448
Methodtest_file_ref_not_fetched
(self)
tests/utilities/test_json_schema.py:1399
Methodtest_file_resource_creation
Test creating a FileResource.
tests/resources/test_file_resources.py:33
Methodtest_file_resource_read_allows_nested_path
(self, skill_with_secret: Path)
tests/server/providers/test_skills_provider.py:1116
Methodtest_file_resource_read_rejects_escape
( self, skill_with_secret: Path, attack: str )
tests/server/providers/test_skills_provider.py:1088
Methodtest_file_resource_str_path_conversion
Test FileResource handles string paths.
tests/resources/test_file_resources.py:48
Functiontest_file_served_by_another_provider_hides_skill
()
tests/server/providers/proxy/test_skills.py:272
Functiontest_files_behind_a_backend_template_are_checked_without_reads
()
tests/server/providers/proxy/test_skills.py:83
Methodtest_files_have_size_and_hash
(self, skills_server: FastMCP)
tests/utilities/test_skills.py:207
Methodtest_filesystem_provider_forwards_timeout
Filesystem discovery forwards `timeout` from ToolMeta. Previously dropped, which let sync tools discovered via the filesystem bypass
tests/tools/test_tool_run_in_thread.py:251
Methodtest_filesystem_provider_respects_run_in_thread
Tools discovered by FileSystemProvider honor run_in_thread=False. FileSystemProvider extends LocalProvider and registers filesystem-
tests/tools/test_tool_run_in_thread.py:226
Methodtest_filesystem_source_entrypoint
Test FileSystemSource entrypoint format.
tests/cli/test_config.py:39
Methodtest_filesystem_source_prepare_by_default
Test that FileSystemSource is prepared when using direct file spec.
tests/cli/test_run.py:772
Methodtest_filesystem_source_skip_prepare_with_flag
Test that FileSystemSource.prepare() is skipped with skip_source flag.
tests/cli/test_run.py:801
Functiontest_filtered_attributes_are_not_restored
Regression: a sampler that intentionally supplies only its own attributes (e.g. to strip component names or resource URIs for privacy or cardi
tests/telemetry/test_span_attributes.py:373
Methodtest_filtering_pattern
Common pattern: filter list with is_enabled.
tests/server/transforms/test_visibility.py:169
Methodtest_filters_non_skill_resources
(self)
tests/utilities/test_skills.py:164
Functiontest_final_answer_keeps_task_parked_until_next_leg_is_durable
The last answer must not retire its outstanding marker early. Outstanding requests are what make a completed-but-parked leg read as `input_re
tests/tasks/server/test_guard_reentrant.py:388
Functiontest_find_available_port_returns_bindable_loopback_port
()
tests/utilities/test_http.py:8
Methodtest_find_config_in_current_dir
Test finding config in current directory.
tests/cli/test_config.py:401
Methodtest_find_config_in_specified_dir
Test finding config in the specified directory.
tests/cli/test_config.py:426
Methodtest_find_config_not_found
Test when config is not found.
tests/cli/test_config.py:435
Methodtest_find_config_not_in_parent_dir
Test that config is NOT found in parent directory.
tests/cli/test_config.py:414
Methodtest_finds_config
(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
tests/cli/test_discovery.py:216
Methodtest_finds_config
(self, tmp_path: Path)
tests/cli/test_discovery.py:473
Methodtest_finds_config_in_cwd
(self, tmp_path: Path)
tests/cli/test_discovery.py:435
Methodtest_finds_config_in_parent
(self, tmp_path: Path)
tests/cli/test_discovery.py:442
Methodtest_finds_stdio_extensions
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
tests/cli/test_discovery.py:646
Methodtest_finite_structured_content_round_trips
(self)
tests/tools/tool/test_nonfinite_serialization.py:90
Methodtest_finite_values_pass_through
(self)
tests/tools/tool/test_nonfinite_serialization.py:137
Functiontest_first_delay_is_the_floor
()
tests/tasks/client/test_poll_interval.py:58
Methodtest_first_page_no_cursor
First page should start from beginning.
tests/server/test_pagination.py:75
Functiontest_first_root_wins
(tmp_path: Path)
tests/skills/test_directory_provider.py:100
Methodtest_first_server_wins_prompts_no_prefix
Test that first mounted server wins for prompts when no prefix is used.
tests/server/mount/test_mount.py:570
Methodtest_first_server_wins_prompts_same_prefix
Test that first mounted server wins for prompts when same prefix is used.
tests/server/mount/test_mount.py:599
Methodtest_first_server_wins_resource_templates_no_prefix
Test that first mounted server wins for resource templates when no prefix is used.
tests/server/mount/test_mount.py:516
Methodtest_first_server_wins_resource_templates_same_prefix
Test that first mounted server wins for resource templates when same prefix is used.
tests/server/mount/test_mount.py:543
Methodtest_first_server_wins_resources_no_prefix
Test that first mounted server wins for resources when no prefix is used.
tests/server/mount/test_mount.py:462
Methodtest_first_server_wins_resources_same_prefix
Test that first mounted server wins for resources when same prefix is used.
tests/server/mount/test_mount.py:489
Methodtest_first_server_wins_tools_no_prefix
Test that first mounted server wins for tools when no prefix is used.
tests/server/mount/test_mount.py:408
Methodtest_first_server_wins_tools_same_prefix
Test that first mounted server wins for tools when same prefix is used.
tests/server/mount/test_mount.py:435
Methodtest_fixed_length_positional_array_hydrates_each_position
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:420
Methodtest_fixed_length_positional_array_preserves_uniqueness
(self)
tests/utilities/json_schema_type/test_containers.py:450
Methodtest_fixed_length_positional_array_rejects_wrong_length
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:428
Methodtest_fixed_length_positional_array_rejects_wrong_position_type
( self, fixed_length_positional_array )
tests/utilities/json_schema_type/test_containers.py:435
Methodtest_fixed_length_tuple_result_keeps_positions
(self)
tests/client/test_result_hydration.py:194
Methodtest_flag_defaults_to_false
The trust-proxy flag must be off by default (no silent weakening).
tests/server/auth/test_ssrf_protection.py:621
Methodtest_float_coercion
Test float type coercion for query parameters.
tests/resources/test_resource_template_query_params.py:114
Methodtest_float_count_does_not_poison_a_later_int_count
(self)
tests/utilities/json_schema_type/test_constraints.py:311
Methodtest_fn_returns_assistant_message
(self)
tests/prompts/test_prompt.py:122
Methodtest_fn_returns_list_of_strings
(self)
tests/prompts/test_prompt.py:144
Methodtest_fn_returns_message_list
(self)
tests/prompts/test_prompt.py:114
Methodtest_fn_returns_message_with_resource
Test returning a message with resource content.
tests/prompts/test_prompt.py:229
Methodtest_fn_returns_mixed_content
Test returning messages with mixed content types.
tests/prompts/test_prompt.py:191
Methodtest_fn_returns_multiple_messages
(self)
tests/prompts/test_prompt.py:130
Methodtest_fn_returns_resource_content
Test returning a message with resource content.
tests/prompts/test_prompt.py:157
Methodtest_fn_with_args
(self)
tests/prompts/test_prompt.py:57
Methodtest_fn_with_invalid_kwargs
(self)
tests/prompts/test_prompt.py:83
Methodtest_fn_with_keyword_only_parameters
(self)
tests/prompts/test_prompt.py:106
Functiontest_fn_with_kwargs_dropped_args_not_in_kwargs
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:621
Functiontest_fn_with_kwargs_handles_partial_explicit_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:586
Functiontest_fn_with_kwargs_mixed_mapped_and_unmapped_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:604
Functiontest_fn_with_kwargs_passes_through_original_args
(add_tool)
tests/tools/tool_transform/test_tool_transform.py:550
Functiontest_fn_with_kwargs_receives_transformed_arg_names
Test that **kwargs receives arguments with their transformed names from transform_args.
tests/tools/tool_transform/test_tool_transform.py:566
Methodtest_fn_with_positional_only_parameters_not_allowed
(self)
tests/prompts/test_prompt.py:93
Methodtest_fn_with_postponed_annotations
(self)
tests/prompts/test_prompt.py:24
Methodtest_follows_alias_chain_to_object_definition
( self, defs_key: str, pointers: list[str] )
tests/utilities/test_json_schema.py:1245
Functiontest_follows_backend_pagination
()
tests/server/providers/proxy/test_skills.py:136
Functiontest_follows_empty_backend_cursor
()
tests/server/providers/proxy/test_skills.py:162
Methodtest_follows_pagination
A server that paginates its lists is not truncated to the first page.
tests/utilities/test_inspect.py:612
← previousnext →9,701–9,800 of 15,974, ranked by callers