Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
35,417 in github.com/awslabs/mcp
⨍
Functions
35,417
◇
Types & classes
5,673
↳
Endpoints
3,994
Method
test_parse_alarm_rule_error_handling
Test _parse_alarm_rule error handling - covers lines 688-690.
src/cloudwatch-mcp-server/tests/cloudwatch_alarms/test_alarms_error_handling.py:357
Method
test_parse_and_validate_empty_file
Test Parse and validate empty file.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:117
Method
test_parse_and_validate_invalid_json
Test Parse and validate invalid json.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:108
Method
test_parse_and_validate_missing_required_field
Test Parse and validate missing required field.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:126
Method
test_parse_and_validate_valid
Test Parse and validate valid.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_knowledge_base_loader.py:98
Method
test_parse_args_help_message
Test help message contains readonly option.
src/healthlake-mcp-server/tests/test_readonly_mode.py:44
Method
test_parse_args_no_readonly_flag
Test parsing without --readonly flag.
src/healthlake-mcp-server/tests/test_readonly_mode.py:38
Method
test_parse_args_readonly_flag
Test parsing --readonly flag.
src/healthlake-mcp-server/tests/test_readonly_mode.py:32
Method
test_parse_arguments
Test that parse_arguments correctly parses command line arguments.
src/prometheus-mcp-server/tests/test_config_manager.py:30
Method
test_parse_arn_cluster
Test parsing a valid ECS cluster ARN.
src/ecs-mcp-server/tests/unit/utils/test_arn_parser.py:32
Method
test_parse_arn_valid
Test parsing a valid ECS task definition ARN.
src/ecs-mcp-server/tests/unit/utils/test_arn_parser.py:19
Method
test_parse_as_aliases_excluded
Aliases from 'parse ... as var1, var2' should not be treated as fields.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:144
Method
test_parse_auditors_all_string
Test parsing 'all' string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:223
Method
test_parse_auditors_comma_separated
Test parsing comma-separated auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:228
Method
test_parse_auditors_empty_string
Test parsing empty string.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:252
Method
test_parse_auditors_invalid_auditor
Test parsing with invalid auditor.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:238
Method
test_parse_auditors_none_default
Test parsing None with default auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:212
Method
test_parse_auditors_none_root_cause_prompt
Test parsing None with root cause in user prompt.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:217
Method
test_parse_auditors_pydantic_field_object
Test parsing Pydantic Field object.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:243
Method
test_parse_auditors_valid_auditors
Test all valid auditors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:257
Method
test_parse_auditors_with_spaces
Test parsing auditors with spaces.
src/cloudwatch-applicationsignals-mcp-server/tests/test_audit_utils.py:233
Method
test_parse_bare_string_response
A bare string response is treated as listing text.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:322
Method
test_parse_basic_log_delivery
Test parsing basic log delivery configuration.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:80
Method
test_parse_basic_nodegroup
Test parsing basic nodegroup configuration.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:13
Method
test_parse_blank_line_saves_current_query
Test that a blank line mid-stream saves current query data (line 222).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:809
Method
test_parse_comment_start_marker_saves_previous_query
Test that a -- QUERY_NAME_START saves previous query when no END/blank between them (line 237).
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:833
Function
test_parse_config_rejects_invalid_host
A network transport with an invalid host is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:152
Function
test_parse_config_rejects_invalid_port
A network transport with an out-of-range port is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:134
Function
test_parse_config_rejects_non_integer_port
A network transport with a non-integer port is rejected during parsing. Validates: Requirements Network bind configuration.
src/aws-healthomics-mcp-server/tests/test_transport.py:143
Function
test_parse_config_rejects_unsupported_transport
An unsupported transport value is rejected during parsing. Validates: Requirements Transport selection.
src/aws-healthomics-mcp-server/tests/test_transport.py:125
Method
test_parse_container_port_no_arrow
Test _parse_container_port when no arrow is present.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:337
Method
test_parse_container_port_with_arrow
Test _parse_container_port with arrow present.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:344
Method
test_parse_create_inputs_canonicalizes_language_casing
parse_create_inputs maps language casing to the API enum (javascript -> Javascript).
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3233
Method
test_parse_create_inputs_validation_error
An invalid line_number surfaces a validation error from parse_create_inputs.
src/cloudwatch-applicationsignals-mcp-server/tests/test_dynamic_instrumentation_tools.py:3220
Method
test_parse_data_model_invalid_json
Test _parse_data_model with invalid JSON.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:246
Method
test_parse_data_model_read_exception
Test _parse_data_model with file read exception.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:263
Method
test_parse_data_model_valid
Test _parse_data_model with valid JSON.
src/dynamodb-mcp-server/tests/cdk_generator/test_generator.py:254
Method
test_parse_deployment_timestamp_coerces_naive_to_utc
A timestamp without an offset is coerced to tz-aware UTC (no naive datetime).
src/cloudwatch-applicationsignals-mcp-server/tests/test_server_tools.py:1305
Method
test_parse_dict_passthrough
Test that an already-parsed dict is returned unchanged.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:158
Method
test_parse_ecr_image_uri
Test parse_ecr_image_uri function with various formats.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:442
Method
test_parse_ecr_image_uri_error_handling
Test parse_ecr_image_uri function with invalid inputs.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:454
Method
test_parse_ecr_image_uri_with_exception
Test parse_ecr_image_uri with exception-causing input.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_get_ecs_troubleshooting_guidance.py:92
Method
test_parse_empty_json
Test parsing empty JSON string.
src/billing-cost-management-mcp-server/tests/utilities/test_aws_service_base.py:133
Method
test_parse_empty_response
Test parsing an empty response.
src/postgres-mcp-server/tests/test_server_helpers.py:72
Method
test_parse_empty_result
Test parsing query with 0 rows.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:267
Method
test_parse_empty_stream
Empty stream returns no files.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:283
Method
test_parse_entity_fields
Test parsing entity fields with various conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:341
Method
test_parse_entity_fields_comprehensive
Test parsing entity fields with various scenarios.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:636
Method
test_parse_error_skipped
Queries that fail to parse should be skipped, not crash.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_index_recommender.py:1101
Function
test_parse_execute_response_basic
Basic response is parsed into row dicts keyed by column name.
src/mssql-mcp-server/tests/test_server.py:109
Function
test_parse_execute_response_empty
Empty response returns an empty list.
src/mssql-mcp-server/tests/test_server.py:129
Function
test_parse_execute_response_null
NULL cells are represented as None in the parsed output.
src/mssql-mcp-server/tests/test_server.py:119
Method
test_parse_file_not_found
Test parsing non-existent file raises error.
src/dynamodb-mcp-server/tests/db_analyzer/test_plugins.py:317
Method
test_parse_flat_dict_ignores_non_text_blocks
Non-text blocks in a flat dict response are skipped.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:540
Method
test_parse_flat_dict_is_error
An error flag on a flat dict is surfaced.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:312
Method
test_parse_flat_dict_without_stream
Flat dict is parsed if the SDK pre-consumes the stream.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:302
Method
test_parse_full_nodegroup
Test parsing nodegroup with all parameters.
src/elasticache-mcp-server/tests/tools/rg/test_parsers.py:21
Method
test_parse_gsi_list_empty_missing_and_optional_sort_key
Test GSI list parsing with empty/missing gsi_list and optional sort_key.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:472
Method
test_parse_gsi_list_errors
Test GSI list parsing with various error conditions.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:310
Method
test_parse_gsi_list_exception_in_loop
Test GSI list parsing with exception during GSIDefinition creation.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_gsi_validator.py:325
Method
test_parse_gsi_with_four_partition_keys
Parse GSI with 4 HASH keys (max allowed).
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1056
Method
test_parse_gsi_with_four_sort_keys
Parse GSI with 4 RANGE keys (max allowed).
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1159
Method
test_parse_gsi_with_multi_partition_and_sort_keys
Parse GSI with multiple HASH and RANGE keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1196
Method
test_parse_gsi_with_partition_and_sort_key
Parse GSI with partition + sort key.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:707
Method
test_parse_gsi_with_partition_key_only
Parse GSI with only partition key.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:674
Method
test_parse_gsi_with_three_partition_keys
Parse GSI with 3 HASH keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1023
Method
test_parse_gsi_with_three_sort_keys
Parse GSI with 3 RANGE keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1124
Method
test_parse_gsi_with_two_partition_keys
Parse GSI with 2 HASH keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:990
Method
test_parse_gsi_with_two_sort_keys
Parse GSI with 2 RANGE keys.
src/dynamodb-mcp-server/tests/cdk_generator/test_models.py:1091
Method
test_parse_id_list_float_input
Test parse_id_list with a float input.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1869
Method
test_parse_id_list_int_input
Test parse_id_list with an int input.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1862
Method
test_parse_id_list_json_list_string
Test parse_id_list with a JSON list string.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1876
Method
test_parse_id_list_json_scalar_string
Test parse_id_list with a JSON scalar string (e.g. '123').
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1890
Method
test_parse_id_list_native_list
Test parse_id_list with a native list.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1855
Method
test_parse_id_list_plain_string
Test parse_id_list with a plain string (not valid JSON).
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1883
Method
test_parse_id_list_unsupported_type
Test parse_id_list with an unsupported type raises ValueError.
src/aws-healthomics-mcp-server/tests/test_validation_utils.py:1897
Function
test_parse_identifier_empty_bracket_rejected
Empty string inside a bracket identifier is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:166
Function
test_parse_identifier_empty_quoted_rejected
Empty string inside a quoted identifier is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:161
Function
test_parse_identifier_escaped_bracket
Escaped closing bracket inside a bracket identifier is preserved.
src/mssql-mcp-server/tests/test_server_extended.py:155
Function
test_parse_identifier_escaped_quote
Escaped double-quote inside a quoted identifier is preserved.
src/mssql-mcp-server/tests/test_server_extended.py:149
Function
test_parse_identifier_non_dot_separator_rejected
Non-dot separator (space) between parts is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:176
Function
test_parse_identifier_null_byte_bracket
Null byte inside a bracket-quoted identifier is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:134
Function
test_parse_identifier_null_byte_plain
Null byte in plain identifier is rejected (via isalpha check).
src/mssql-mcp-server/tests/test_server_extended.py:124
Function
test_parse_identifier_null_byte_quoted
Null byte inside a double-quoted identifier is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:129
Function
test_parse_identifier_parts_dot_at_end_returns_none
A trailing dot with no following part is rejected.
src/oracle-mcp-server/tests/test_coverage.py:387
Function
test_parse_identifier_parts_doubled_quote_escape
A doubled ("") inside a quoted identifier is treated as a literal quote.
src/oracle-mcp-server/tests/test_coverage.py:402
Function
test_parse_identifier_parts_empty_quoted_returns_none
An empty quoted identifier (``""``) is rejected.
src/oracle-mcp-server/tests/test_coverage.py:373
Function
test_parse_identifier_parts_null_byte_in_quoted_returns_none
A null byte inside a quoted identifier is rejected.
src/oracle-mcp-server/tests/test_coverage.py:380
Function
test_parse_identifier_parts_unexpected_char_returns_none
A non-separator character between parts is rejected.
src/oracle-mcp-server/tests/test_coverage.py:394
Function
test_parse_identifier_parts_unterminated_quote_returns_none
An unterminated double-quoted identifier returns None.
src/oracle-mcp-server/tests/test_coverage.py:364
Function
test_parse_identifier_trailing_dot_rejected
Trailing dot after an identifier is rejected.
src/mssql-mcp-server/tests/test_server_extended.py:171
Function
test_parse_identifier_unterminated_bracket
Unterminated bracket returns None.
src/mssql-mcp-server/tests/test_server_extended.py:144
Function
test_parse_identifier_unterminated_quote
Unterminated double-quote returns None.
src/mssql-mcp-server/tests/test_server_extended.py:139
Method
test_parse_ignores_unknown_block_types
Blocks that are neither text nor resource_link are skipped.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_files.py:500
Function
test_parse_instance_identifier_empty_raises
Empty identifier raises ValueError.
src/oracle-mcp-server/tests/test_server.py:1813
Function
test_parse_instance_identifier_invalid_arn_raises
ARN with too few parts raises ValueError.
src/oracle-mcp-server/tests/test_server.py:1819
Function
test_parse_instance_identifier_odb_arn
ODB ARN is detected and full ARN is returned as resolved_id.
src/oracle-mcp-server/tests/test_server.py:1782
Function
test_parse_instance_identifier_odb_arn_partition
A partitioned ODB ARN (aws-us-gov) is recognized via the service field.
src/oracle-mcp-server/tests/test_server.py:1790
Function
test_parse_instance_identifier_odb_non_autonomous_arn_raises
A non-Autonomous ODB ARN (e.g. cloud-vm-cluster) raises a clear error.
src/oracle-mcp-server/tests/test_server.py:1798
Function
test_parse_instance_identifier_odb_short_id
ID starting with adb_ is detected as ODB autonomous database.
src/oracle-mcp-server/tests/test_server.py:1775
← previous
next →
27,501–27,600 of 35,417, ranked by callers