MCPcopy Create free account

hub / github.com/PrefectHQ/fastmcp / functions

Functions15,974 in github.com/PrefectHQ/fastmcp

Functiontest_pointer_through_chain_of_aliases_is_inlined
()
tests/utilities/test_json_schema_expansion.py:158
Functiontest_pointer_through_cyclic_aliases_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:166
Functiontest_pointer_through_unresolvable_alias_keeps_defs
()
tests/utilities/test_json_schema_expansion.py:173
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_polling_handles_pending_slow_down_and_approval
()
tests/cli/deploy/test_authentication.py:50
Functiontest_polling_handles_terminal_errors
( error: str, exception: type[Exception], )
tests/cli/deploy/test_authentication.py:82
Functiontest_polling_stops_at_the_local_expiry_deadline
()
tests/cli/deploy/test_authentication.py:99
Methodtest_populate_by_name
(self)
tests/test_apps.py:67
Methodtest_populate_by_name
(self)
tests/test_apps.py:104
Methodtest_populate_by_name
(self)
tests/test_apps.py:147
Functiontest_port_wait_failure_cleans_server
(monkeypatch)
tests/utilities/test_run_server_async_startup.py:63
Methodtest_port_wildcard
Test wildcard matching for ports.
tests/server/auth/test_redirect_validation.py:316
Methodtest_port_zero_override_is_kept
(self, tmp_path: Path)
tests/utilities/test_cli.py:200
Functiontest_positive_poll_interval_setting_is_accepted
()
tests/tasks/client/test_poll_interval.py:24
Methodtest_post_migration_issuer_accepted
The resource-scoped issuer (post-migration) validates.
tests/server/auth/providers/test_scalekit.py:166
Methodtest_post_with_body_params
POST with body parameters should build the request correctly.
tests/server/providers/openapi/test_comprehensive.py:866
Methodtest_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
Methodtest_postponed_annotations_accept_explode
The explode form registers and collects one or many values.
tests/resources/test_resource_template.py:1248
Methodtest_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
Functiontest_pre_4_2_address_is_rebound_to_the_listed_name
()
tests/server/providers/test_prefab_payload.py:17
Methodtest_pre_migration_issuer_accepted
The bare environment URL issuer (pre-migration) validates.
tests/server/auth/providers/test_scalekit.py:156
Methodtest_prefab_app
(self)
tests/test_apps_prefab.py:30
Methodtest_prefab_app_annotation_inferred
(self)
tests/test_apps_prefab.py:201
Methodtest_prefab_app_return_no_output_schema
(self)
tests/test_apps_prefab.py:318
Methodtest_prefers_border_false_is_preserved
(self)
tests/server/providers/test_prefab_synthesis.py:130
Methodtest_prefers_json_when_multiple_types
When both JSON and other types exist, JSON is preferred.
tests/server/providers/openapi/test_openapi_features.py:497
Methodtest_prefers_subject_over_client_id
(self)
tests/telemetry/test_module.py:38
Functiontest_prefix_items_accept_missing_positions
( tail: dict[str, Any], value: list[Any] )
tests/utilities/json_schema_type/test_prefix_items.py:32
Functiontest_prefix_items_do_not_use_the_tail_schema
(value: list[Any])
tests/utilities/json_schema_type/test_prefix_items.py:15
Functiontest_prefix_items_keep_length_and_uniqueness_constraints
(value: list[Any])
tests/utilities/json_schema_type/test_prefix_items.py:139
Functiontest_prefix_items_reject_an_invalid_present_position
(tail: dict[str, Any])
tests/utilities/json_schema_type/test_prefix_items.py:48
Functiontest_prefix_items_reject_invalid_tail
(items: Any)
tests/utilities/json_schema_type/test_prefix_items.py:59
Functiontest_prefix_items_resolve_references_and_validate_json
()
tests/utilities/json_schema_type/test_prefix_items.py:202
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_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
Functiontest_prefixed_bulk_tools_and_legacy_names_cannot_call_self
()
tests/contrib/test_bulk_tool_caller.py:453
Methodtest_prefixed_tool_callable_after_cache_hit
Prefixed tools should be callable after cache populates.
tests/server/middleware/test_caching.py:899
Methodtest_prepare_calls_both_methods
Test that prepare() calls both prepare_environment and prepare_source.
tests/cli/test_project_prepare.py:25
Methodtest_prepare_command_fails
Test that prepare() raises error when uv command fails.
tests/cli/test_project_prepare.py:176
Methodtest_prepare_no_environment_settings
Test that prepare() works with default empty environment config.
tests/cli/test_project_prepare.py:86
Methodtest_prepare_no_settings
Test that prepare() does nothing when no settings are configured.
tests/cli/test_project_prepare.py:115
Methodtest_prepare_no_uv_installed
Test that prepare() raises error when uv is not installed.
tests/cli/test_project_prepare.py:104
Methodtest_prepare_scopes_deduplicates_scopes
Test that duplicate scopes are deduplicated.
tests/server/auth/providers/test_azure_scopes.py:352
Methodtest_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
Methodtest_prepare_scopes_for_refresh_handles_oidc_scopes
Test that token refresh correctly handles OIDC scopes.
tests/server/auth/providers/test_azure_scopes.py:238
Methodtest_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
Methodtest_prepare_scopes_for_upstream_refresh_already_prefixed
Test that already-prefixed scopes remain unchanged.
tests/server/auth/providers/test_azure.py:602
Methodtest_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
Methodtest_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
Methodtest_prepare_scopes_for_upstream_refresh_deduplicates_scopes
Test that duplicate scopes are deduplicated while preserving order.
tests/server/auth/providers/test_azure.py:794
Methodtest_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
Methodtest_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
Methodtest_prepare_scopes_for_upstream_refresh_mixed_scopes
Test mixed scenario with both prefixed and unprefixed scopes.
tests/server/auth/providers/test_azure.py:694
Methodtest_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
Methodtest_prepare_scopes_for_upstream_refresh_scope_with_slash
Test that scopes containing '/' are not prefixed.
tests/server/auth/providers/test_azure.py:722
Methodtest_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
Methodtest_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
Methodtest_prepare_scopes_returns_prefixed_scopes
Test that _prepare_scopes_for_token_exchange returns prefixed scopes.
tests/server/auth/providers/test_azure_scopes.py:274
Methodtest_prepare_skip_source
Test that prepare() skips source when skip_source=True.
tests/cli/test_project_prepare.py:66
Methodtest_prepare_with_dependencies
Test that prepare() includes dependencies.
tests/cli/test_project_prepare.py:149
Methodtest_prepare_with_output_dir
Test that prepare() with output_dir calls prepare_environment with it.
tests/cli/test_project_prepare.py:45
Methodtest_prepare_with_python
Test that prepare() runs uv with python version.
tests/cli/test_project_prepare.py:128
Methodtest_prerelease_setting
Prerelease setting passes include_prereleases=True.
tests/utilities/test_version_check.py:309
Methodtest_present_bool_not_overwritten
(self)
tests/apps/test_form.py:209
Methodtest_preserve_existing_behavior_object_body
Test that existing object-based request bodies still work.
tests/utilities/openapi/test_direct_array_schemas.py:272
Methodtest_preserve_existing_behavior_ref_body
Test that $ref-based request bodies still work.
tests/utilities/openapi/test_direct_array_schemas.py:303
Methodtest_preserves_all_defs_for_nested_references
Test that $defs are preserved even if multiple definitions exist.
tests/utilities/test_json_schema.py:1190
Methodtest_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
Methodtest_preserves_duplicates
Same server name in multiple sources should appear multiple times.
tests/cli/test_discovery.py:717
Methodtest_preserves_existing_tools
Transform preserves existing tools.
tests/server/transforms/test_resources_as_tools.py:38
Methodtest_preserves_existing_tools
Transform preserves existing tools.
tests/server/transforms/test_prompts_as_tools.py:35
Methodtest_preserves_file_content
( self, skills_server: FastMCP, tmp_path: Path, skills_dir: Path )
tests/utilities/test_skills.py:285
Methodtest_preserves_local_ref
(self)
tests/utilities/test_json_schema.py:1318
Methodtest_preserves_nested_siblings
Test that siblings on nested $refs are preserved.
tests/utilities/test_json_schema.py:258
Functiontest_preserves_observed_counts_when_reopened_history_is_incomplete
(backlog)
tests/test_backlog_status.py:66
Methodtest_preserves_other_fields
Test that other fields are preserved during conversion.
tests/utilities/openapi/test_nullable_fields.py:110
Methodtest_preserves_passthrough_exception
(self, failure: Exception)
tests/client/client/test_session.py:285
Methodtest_preserves_property_named_discriminator
A field *named* 'discriminator' inside properties must survive.
tests/utilities/test_json_schema.py:366
Methodtest_preserves_refs_by_default
Test that compress_schema preserves $refs by default.
tests/utilities/test_json_schema.py:556
Methodtest_preserves_return_annotation_in_signature
Test that return annotation is preserved in both annotations and signature.
tests/utilities/test_types.py:694
Methodtest_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
Methodtest_preserves_siblings_in_lists
Test that siblings are preserved for $refs inside lists (allOf, anyOf, etc).
tests/utilities/test_json_schema.py:232
Methodtest_preserves_siblings_when_stripping
(self)
tests/utilities/test_json_schema.py:1334
Methodtest_preserves_underscores
(self)
tests/cli/test_generate_cli.py:211
Methodtest_preserves_valueless_param_and_non_utf8_bytes
(self)
tests/server/auth/test_redirect_validation.py:32
Methodtest_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
Functiontest_previous_public_assessment_reused_without_credentials
( ranking_module, tmp_path )
tests/test_issue_ranking.py:255
Methodtest_primary_version_order_still_descending
(self)
tests/server/versioning/test_versioning.py:446
Methodtest_principal_is_the_isolation_wall
(self)
tests/server/test_sessions.py:72
Methodtest_principal_not_embedded_verbatim
(self)
tests/server/test_sessions.py:89
Methodtest_prior_discover_is_exposed
(self, fastmcp_server)
tests/client/client/test_mode_negotiation.py:245
Methodtest_private_arguments
(self)
tests/tools/tool/test_tool.py:414
Methodtest_private_ip_blocked
Fetch to private IP should be blocked.
tests/server/auth/test_ssrf_protection.py:211
Methodtest_private_ip_rejected
URLs resolving to private IPs should be rejected.
tests/server/auth/test_ssrf_protection.py:179
Methodtest_private_ipv4_blocked
Private IPv4 addresses should be blocked.
tests/server/auth/test_ssrf_protection.py:69
Methodtest_private_key_jwt_auth_method_allowed
Test that private_key_jwt is allowed for CIMD.
tests/server/auth/test_cimd.py:54
← previousnext →12,401–12,500 of 15,974, ranked by callers