Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
51
14.1k
data_source
stringclasses
1 value
ability
stringclasses
1 value
instance
stringlengths
2.25k
109k
instance_id
stringlengths
15
28
Timestream Write has the wrong response returned ### Environment Python 3.10.2 (and 3.9 in lambda) Libraries involved installed from pip: boto3 1.20.49 botocore 1.23.49 moto 3.1.0 pytest 7.1.0 pytest-mock 3.7.0 ### Expectation for respon...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_timestreamwrite/test_timestreamwrite_table.py::test_write_records"], "PASS_TO_PASS": ["tests/test_timestreamwrite/test_timestreamwrite_table.py::test_update_table", "tests/test_timestreamwrite/test_timestreamwrite_table.py::test_describe_table", "tests/test_timestreamwrite/test_timestreamw...
getmoto__moto-4950
DynamoDB query with brackets in KeyConditionExpression causes: Invalid function name; function: See the attached testcase I have found that when mocking DynamoDB and running a query, if I put brackets in my KeyConditionExpression then it raises an error My KeyConditionExpression is `(#audit_object_id = :object_id...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_dynamodb/models/test_key_condition_expression_parser.py::TestHashAndRangeKey::test_brackets[(job_id", "tests/test_dynamodb/models/test_key_condition_expression_parser.py::TestHashAndRangeKey::test_brackets[job_id"], "PASS_TO_PASS": ["tests/test_dynamodb/models/test_key_condition_expression...
getmoto__moto-6178
Include IoT Thing connectivity status on iot.search_index response Thanks for the fantastic work you do with Moto! I want to ask you to include the `connectivity` response to the [search_index](https://github.com/getmoto/moto/blob/master/tests/test_iot/test_iot_search.py#L24) method of IoT if possible. You can [s...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_iot/test_iot_search.py::test_search_things[thingName:ab?-results3]", "tests/test_iot/test_iot_search.py::test_search_things[abc-results0]", "tests/test_iot/test_iot_search.py::test_search_things[thingName:abc-results1]", "tests/test_iot/test_iot_search.py::test_search_things[*-results4]", ...
getmoto__moto-6535
KeyError when calling deregister_resource with unknown ResourceArn in lake formation Description: When calling deregister_resource on a mocked lake formation client you get a KeyError which does not conform to the AWS docs. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lakeformation/clien...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_lakeformation/test_lakeformation.py::test_deregister_resource"], "PASS_TO_PASS": ["tests/test_lakeformation/test_lakeformation.py::test_list_data_cells_filter", "tests/test_lakeformation/test_lakeformation.py::test_revoke_permissions", "tests/test_lakeformation/test_lakeformation.py::test_...
getmoto__moto-7023
moto batch - "RuntimeError: cannot join thread before it is started" Hey, **after upgrading from moto 4.0.11 to 4.2.11** i am facing the following issue with my previously running pytest. The first test is successfull, the second test, essentially doing the same but with different input, fails. This is the **trac...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_batch/test_batch_jobs.py::test_submit_job_with_timeout_set_at_definition", "tests/test_batch/test_batch_jobs.py::test_submit_job_with_timeout", "tests/test_batch/test_batch_jobs.py::test_register_job_definition_with_timeout", "tests/test_batch/test_batch_jobs.py::test_cancel_job_empty_argu...
getmoto__moto-7105
Deleting secrets not possible with full ARN Deleting secrets in AWS Secrets Manager isn't possible when using the full ARN as secrets id and not specifying `ForceDeleteWithoutRecovery=True`: ```python import boto3 from moto import mock_secretsmanager @mock_secretsmanager def test_delete(): client = boto3....
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_by_arn"], "PASS_TO_PASS": ["tests/test_secretsmanager/test_secretsmanager.py::test_get_secret_that_has_no_value", "tests/test_secretsmanager/test_secretsmanager.py::test_get_secret_value_by_arn", "tests/test_secretsmanager/test_secr...
getmoto__moto-4918
Support `SM2DSA` signing algorithm for KMS Let's add `SM2DSA` signing algorithm for kms. KMS document: https://docs.aws.amazon.com/kms/latest/APIReference/API_Sign.html#API_Sign_RequestSyntax Supported algorithms: ``` RSASSA_PSS_SHA_256 | RSASSA_PSS_SHA_384 | RSASSA_PSS_SHA_512 | RSASSA_PKCS1_V1_5_SHA_256 | RSASS...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_kms/test_kms_boto3.py::test_create_key", "tests/test_kms/test_kms_boto3.py::test_verify_invalid_signing_algorithm", "tests/test_kms/test_kms_boto3.py::test_sign_invalid_signing_algorithm"], "PASS_TO_PASS": ["tests/test_kms/test_kms_boto3.py::test__create_alias__raises_if_alias_has_restrict...
getmoto__moto-6609
SNS: `create_platform_endpoint` is not idempotent with default attributes According to [AWS Documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns/client/create_platform_endpoint.html#), `create_platform_endpoint` is idempotent, so if an endpoint is created with the same token and...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_sns/test_application_boto3.py::test_create_duplicate_default_platform_endpoint"], "PASS_TO_PASS": ["tests/test_sns/test_application_boto3.py::test_delete_platform_application", "tests/test_sns/test_application_boto3.py::test_publish_to_disabled_platform_endpoint", "tests/test_sns/test_appl...
getmoto__moto-7635
Bug: global_sign_out does not actually sign out The current test code for `global_sign_out` only checks against a refresh token action. If you do a sign out and try to access a protected endpoint, like say `get_user(AccessToken)`, it should result to `NotAuthorizedException`. This is not the case as of the current vers...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_cognitoidp/test_cognitoidp.py::test_global_sign_out"], "PASS_TO_PASS": ["tests/test_cognitoidp/test_cognitoidp.py::test_list_groups_when_limit_more_than_total_items", "tests/test_cognitoidp/test_cognitoidp.py::test_create_user_pool_custom_attribute_required", "tests/test_cognitoidp/test_co...
getmoto__moto-5794
iot_data publish raises UnicodeDecodeError for binary payloads I am writing a function that publishes protobuf using the `publish` function in iot data. I am trying to test that function using moto. However, when the mock client calls `publish` is raises a `UnicodeDecodeError`. See below for stacktrace. # Minimal ex...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_iotdata/test_iotdata.py::test_publish"], "PASS_TO_PASS": ["tests/test_iotdata/test_iotdata.py::test_basic", "tests/test_iotdata/test_iotdata.py::test_update", "tests/test_iotdata/test_iotdata.py::test_delete_field_from_device_shadow"], "base_commit": "1b2dfbaf569d21c5a3a1c35592325b09b3c697...
getmoto__moto-6509
KeyError: 'clustername' (instead of `DBClusterNotFoundFault`) thrown when calling `describe_db_clusters` for a non-existent cluster ## Moto version: `3.1.16` ## Repro steps ```python import boto3 from moto import mock_rds @mock_rds def test_bug(): session = boto3.session.Session() rds = session.cl...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_rds/test_rds_clusters.py::test_describe_db_cluster_fails_for_non_existent_cluster"], "PASS_TO_PASS": ["tests/test_rds/test_rds_clusters.py::test_start_db_cluster_without_stopping", "tests/test_rds/test_rds_clusters.py::test_copy_db_cluster_snapshot_fails_for_unknown_snapshot", "tests/test_...
getmoto__moto-5321
Cloud Formation delete_stack_instances implementation does not remove all instances when multiple regions are specified. ## Reporting Bugs Cloud Formation delete_stack_instances implementation does not remove all instances when multiple regions are specified. I am writing a test with the following steps: - cr...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py::test_delete_stack_instances"], "PASS_TO_PASS": ["tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py::test_describe_stack_with_special_chars", "tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py::test_get_...
getmoto__moto-6299
Cognito IDP/ create-resource-server: TypeError if no scopes are provided If I try to create a ressource servers without scope Moto is crashing with the following error : ```python self = <moto.cognitoidp.models.CognitoResourceServer object at 0x1096a4750> def to_json(self) -> Dict[str, Any]: res: D...
swe-gym
coding
{"FAIL_TO_PASS": ["tests/test_cognitoidp/test_cognitoidp.py::test_create_resource_server_with_no_scopes"], "PASS_TO_PASS": ["tests/test_cognitoidp/test_cognitoidp.py::test_list_groups_when_limit_more_than_total_items", "tests/test_cognitoidp/test_cognitoidp.py::test_create_user_pool_custom_attribute_required", "tests/t...
getmoto__moto-7167
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
6