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
Function
test_pointer_through_chain_of_aliases_is_inlined
()
tests/utilities/test_json_schema_expansion.py:158
Function
test_pointer_through_cyclic_aliases_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:166
Function
test_pointer_through_unresolvable_alias_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:173
Function
test_poll_refreshes_args_ttl
A poll extends the stored arguments' TTL alongside the routing keys. A re-entered leg re-reads the original arguments, and a missing args key
tests/tasks/server/test_task_ttl.py:124
Function
test_poll_refreshes_routing_key_ttl
A poll extends the current-leg pointer's TTL (sliding expiration). A leg that runs longer than the pointer's wall-clock TTL would otherwise s
tests/tasks/server/test_task_ttl.py:97
Function
test_poll_refreshes_snapshot_ttl
A poll extends the context snapshot's TTL alongside the routing keys. A re-entered leg restores the submitting caller from the snapshot, so an
tests/tasks/server/test_task_ttl.py:150
Function
test_polling_handles_pending_slow_down_and_approval
()
tests/cli/deploy/test_authentication.py:50
Function
test_polling_handles_terminal_errors
( error: str, exception: type[Exception], )
tests/cli/deploy/test_authentication.py:82
Function
test_polling_stops_at_the_local_expiry_deadline
()
tests/cli/deploy/test_authentication.py:99
Method
test_populate_by_name
(self)
tests/test_apps.py:67
Method
test_populate_by_name
(self)
tests/test_apps.py:104
Method
test_populate_by_name
(self)
tests/test_apps.py:147
Function
test_port_wait_failure_cleans_server
(monkeypatch)
tests/utilities/test_run_server_async_startup.py:63
Method
test_port_wildcard
Test wildcard matching for ports.
tests/server/auth/test_redirect_validation.py:316
Method
test_port_zero_override_is_kept
(self, tmp_path: Path)
tests/utilities/test_cli.py:200
Function
test_positive_poll_interval_setting_is_accepted
()
tests/tasks/client/test_poll_interval.py:24
Method
test_post_migration_issuer_accepted
The resource-scoped issuer (post-migration) validates.
tests/server/auth/providers/test_scalekit.py:166
Method
test_post_with_body_params
POST with body parameters should build the request correctly.
tests/server/providers/openapi/test_comprehensive.py:866
Method
test_post_with_path_params_and_body
POST with both path parameters and body should route args correctly.
tests/server/providers/openapi/test_comprehensive.py:897
Method
test_postponed_annotations_accept_explode
The explode form registers and collects one or many values.
tests/resources/test_resource_template.py:1248
Method
test_postponed_annotations_still_split_commas
Under `from __future__ import annotations` the raw signature gives the string `"list[str] | None"`, so hints must be resolved to see the list.
tests/resources/test_resource_template.py:1237
Function
test_pre_4_2_address_is_rebound_to_the_listed_name
()
tests/server/providers/test_prefab_payload.py:17
Method
test_pre_migration_issuer_accepted
The bare environment URL issuer (pre-migration) validates.
tests/server/auth/providers/test_scalekit.py:156
Method
test_prefab_app
(self)
tests/test_apps_prefab.py:30
Method
test_prefab_app_annotation_inferred
(self)
tests/test_apps_prefab.py:201
Method
test_prefab_app_return_no_output_schema
(self)
tests/test_apps_prefab.py:318
Method
test_prefers_border_false_is_preserved
(self)
tests/server/providers/test_prefab_synthesis.py:130
Method
test_prefers_json_when_multiple_types
When both JSON and other types exist, JSON is preferred.
tests/server/providers/openapi/test_openapi_features.py:497
Method
test_prefers_subject_over_client_id
(self)
tests/telemetry/test_module.py:38
Function
test_prefix_items_accept_missing_positions
( tail: dict[str, Any], value: list[Any] )
tests/utilities/json_schema_type/test_prefix_items.py:32
Function
test_prefix_items_do_not_use_the_tail_schema
(value: list[Any])
tests/utilities/json_schema_type/test_prefix_items.py:15
Function
test_prefix_items_keep_length_and_uniqueness_constraints
(value: list[Any])
tests/utilities/json_schema_type/test_prefix_items.py:139
Function
test_prefix_items_reject_an_invalid_present_position
(tail: dict[str, Any])
tests/utilities/json_schema_type/test_prefix_items.py:48
Function
test_prefix_items_reject_invalid_tail
(items: Any)
tests/utilities/json_schema_type/test_prefix_items.py:59
Function
test_prefix_items_resolve_references_and_validate_json
()
tests/utilities/json_schema_type/test_prefix_items.py:202
Method
test_prefix_scopes_does_not_prefix_oidc_scopes
Test that _prefix_scopes_for_azure never prefixes OIDC scopes.
tests/server/auth/providers/test_azure_scopes.py:45
Method
test_prefix_scopes_dot_notation_gets_prefixed
Test that dot-notation scopes get prefixed (use additional_authorize_scopes for Graph).
tests/server/auth/providers/test_azure_scopes.py:93
Method
test_prefix_scopes_fully_qualified_graph_not_prefixed
Test that fully-qualified Graph scopes are not prefixed.
tests/server/auth/providers/test_azure_scopes.py:114
Method
test_prefix_scopes_mixed_oidc_and_custom
Test prefixing with a mix of OIDC and custom scopes.
tests/server/auth/providers/test_azure_scopes.py:67
Function
test_prefixed_bulk_tools_and_legacy_names_cannot_call_self
()
tests/contrib/test_bulk_tool_caller.py:453
Method
test_prefixed_tool_callable_after_cache_hit
Prefixed tools should be callable after cache populates.
tests/server/middleware/test_caching.py:899
Method
test_prepare_calls_both_methods
Test that prepare() calls both prepare_environment and prepare_source.
tests/cli/test_project_prepare.py:25
Method
test_prepare_command_fails
Test that prepare() raises error when uv command fails.
tests/cli/test_project_prepare.py:176
Method
test_prepare_no_environment_settings
Test that prepare() works with default empty environment config.
tests/cli/test_project_prepare.py:86
Method
test_prepare_no_settings
Test that prepare() does nothing when no settings are configured.
tests/cli/test_project_prepare.py:115
Method
test_prepare_no_uv_installed
Test that prepare() raises error when uv is not installed.
tests/cli/test_project_prepare.py:104
Method
test_prepare_scopes_deduplicates_scopes
Test that duplicate scopes are deduplicated.
tests/server/auth/providers/test_azure_scopes.py:352
Method
test_prepare_scopes_excludes_other_api_scopes
Test token exchange excludes other API scopes (Azure AADSTS28000). Azure only allows ONE resource per token exchange. Other API scopes
tests/server/auth/providers/test_azure_scopes.py:315
Method
test_prepare_scopes_for_refresh_handles_oidc_scopes
Test that token refresh correctly handles OIDC scopes.
tests/server/auth/providers/test_azure_scopes.py:238
Method
test_prepare_scopes_for_token_exchange_falls_back_to_required_scopes
Clients may omit scope; Azure still needs an API scope with offline_access.
tests/server/auth/providers/test_azure.py:449
Method
test_prepare_scopes_for_upstream_refresh_already_prefixed
Test that already-prefixed scopes remain unchanged.
tests/server/auth/providers/test_azure.py:602
Method
test_prepare_scopes_for_upstream_refresh_basic_prefixing
Test that unprefixed scopes are correctly prefixed for Azure token refresh.
tests/server/auth/providers/test_azure.py:579
Method
test_prepare_scopes_for_upstream_refresh_deduplicates_prefixed_variants
Test that both prefixed and unprefixed variants are deduplicated.
tests/server/auth/providers/test_azure.py:825
Method
test_prepare_scopes_for_upstream_refresh_deduplicates_scopes
Test that duplicate scopes are deduplicated while preserving order.
tests/server/auth/providers/test_azure.py:794
Method
test_prepare_scopes_for_upstream_refresh_empty_scopes_falls_back_to_required
Clients may omit scope; refresh should still request the configured API scope.
tests/server/auth/providers/test_azure.py:747
Method
test_prepare_scopes_for_upstream_refresh_filters_duplicate_additional_scopes
Test that accidentally stored additional_authorize_scopes are filtered out.
tests/server/auth/providers/test_azure.py:663
Method
test_prepare_scopes_for_upstream_refresh_mixed_scopes
Test mixed scenario with both prefixed and unprefixed scopes.
tests/server/auth/providers/test_azure.py:694
Method
test_prepare_scopes_for_upstream_refresh_no_additional_scopes
Test behavior when no additional_authorize_scopes are configured.
tests/server/auth/providers/test_azure.py:771
Method
test_prepare_scopes_for_upstream_refresh_scope_with_slash
Test that scopes containing '/' are not prefixed.
tests/server/auth/providers/test_azure.py:722
Method
test_prepare_scopes_for_upstream_refresh_with_additional_scopes
Test that only OIDC scopes from additional_authorize_scopes are added. Azure only allows ONE resource per token request (AADSTS28000), so
tests/server/auth/providers/test_azure.py:627
Method
test_prepare_scopes_includes_additional_oidc_scopes
Test that _prepare_scopes_for_token_exchange includes OIDC scopes.
tests/server/auth/providers/test_azure_scopes.py:292
Method
test_prepare_scopes_returns_prefixed_scopes
Test that _prepare_scopes_for_token_exchange returns prefixed scopes.
tests/server/auth/providers/test_azure_scopes.py:274
Method
test_prepare_skip_source
Test that prepare() skips source when skip_source=True.
tests/cli/test_project_prepare.py:66
Method
test_prepare_with_dependencies
Test that prepare() includes dependencies.
tests/cli/test_project_prepare.py:149
Method
test_prepare_with_output_dir
Test that prepare() with output_dir calls prepare_environment with it.
tests/cli/test_project_prepare.py:45
Method
test_prepare_with_python
Test that prepare() runs uv with python version.
tests/cli/test_project_prepare.py:128
Method
test_prerelease_setting
Prerelease setting passes include_prereleases=True.
tests/utilities/test_version_check.py:309
Method
test_present_bool_not_overwritten
(self)
tests/apps/test_form.py:209
Method
test_preserve_existing_behavior_object_body
Test that existing object-based request bodies still work.
tests/utilities/openapi/test_direct_array_schemas.py:272
Method
test_preserve_existing_behavior_ref_body
Test that $ref-based request bodies still work.
tests/utilities/openapi/test_direct_array_schemas.py:303
Method
test_preserves_all_defs_for_nested_references
Test that $defs are preserved even if multiple definitions exist.
tests/utilities/test_json_schema.py:1190
Method
test_preserves_custom_scheme_empty_authority
Regression test for #6296: custom native-app schemes with an empty authority (`myapp://`, `myapp:///callback`) must not have their `//`
tests/server/auth/test_redirect_validation.py:252
Method
test_preserves_duplicates
Same server name in multiple sources should appear multiple times.
tests/cli/test_discovery.py:717
Method
test_preserves_existing_tools
Transform preserves existing tools.
tests/server/transforms/test_resources_as_tools.py:38
Method
test_preserves_existing_tools
Transform preserves existing tools.
tests/server/transforms/test_prompts_as_tools.py:35
Method
test_preserves_file_content
( self, skills_server: FastMCP, tmp_path: Path, skills_dir: Path )
tests/utilities/test_skills.py:285
Method
test_preserves_local_ref
(self)
tests/utilities/test_json_schema.py:1318
Method
test_preserves_nested_siblings
Test that siblings on nested $refs are preserved.
tests/utilities/test_json_schema.py:258
Function
test_preserves_observed_counts_when_reopened_history_is_incomplete
(backlog)
tests/test_backlog_status.py:66
Method
test_preserves_other_fields
Test that other fields are preserved during conversion.
tests/utilities/openapi/test_nullable_fields.py:110
Method
test_preserves_passthrough_exception
(self, failure: Exception)
tests/client/client/test_session.py:285
Method
test_preserves_property_named_discriminator
A field *named* 'discriminator' inside properties must survive.
tests/utilities/test_json_schema.py:366
Method
test_preserves_refs_by_default
Test that compress_schema preserves $refs by default.
tests/utilities/test_json_schema.py:556
Method
test_preserves_return_annotation_in_signature
Test that return annotation is preserved in both annotations and signature.
tests/utilities/test_types.py:694
Method
test_preserves_sibling_keywords
Test that sibling keywords (default, description) are preserved. Pydantic places description, default, examples as siblings to $ref.
tests/utilities/test_json_schema.py:202
Method
test_preserves_siblings_in_lists
Test that siblings are preserved for $refs inside lists (allOf, anyOf, etc).
tests/utilities/test_json_schema.py:232
Method
test_preserves_siblings_when_stripping
(self)
tests/utilities/test_json_schema.py:1334
Method
test_preserves_underscores
(self)
tests/cli/test_generate_cli.py:211
Method
test_preserves_valueless_param_and_non_utf8_bytes
(self)
tests/server/auth/test_redirect_validation.py:32
Method
test_preserves_valueless_param_and_non_utf8_bytes_alongside_existing_iss
Exact end-to-end reproduction of the worked example from the P2 review comment: registered redirect_uri already has `iss`, a valueless
tests/server/auth/test_redirect_validation.py:195
Function
test_previous_public_assessment_reused_without_credentials
( ranking_module, tmp_path )
tests/test_issue_ranking.py:255
Method
test_primary_version_order_still_descending
(self)
tests/server/versioning/test_versioning.py:446
Method
test_principal_is_the_isolation_wall
(self)
tests/server/test_sessions.py:72
Method
test_principal_not_embedded_verbatim
(self)
tests/server/test_sessions.py:89
Method
test_prior_discover_is_exposed
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:245
Method
test_private_arguments
(self)
tests/tools/tool/test_tool.py:414
Method
test_private_ip_blocked
Fetch to private IP should be blocked.
tests/server/auth/test_ssrf_protection.py:211
Method
test_private_ip_rejected
URLs resolving to private IPs should be rejected.
tests/server/auth/test_ssrf_protection.py:179
Method
test_private_ipv4_blocked
Private IPv4 addresses should be blocked.
tests/server/auth/test_ssrf_protection.py:69
Method
test_private_key_jwt_auth_method_allowed
Test that private_key_jwt is allowed for CIMD.
tests/server/auth/test_cimd.py:54
← previous
next →
12,401–12,500 of 15,974, ranked by callers