Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
string
hints_text
string
patch
string
test_patch
string
created_at
string
problem_statement
string
repo
string
base_commit
string
version
string
PASS_TO_PASS
list
FAIL_TO_PASS
list
getmoto__moto-5752
Looks like we're returning a `None` value where TF expects an empty string, somehow, somewhere. Marking it as a bug.
diff --git a/moto/dynamodb/models/__init__.py b/moto/dynamodb/models/__init__.py --- a/moto/dynamodb/models/__init__.py +++ b/moto/dynamodb/models/__init__.py @@ -1381,9 +1381,7 @@ def get_table_keys_name(self, table_name, keys): for key in keys: if key in table.hash_key_names: ...
diff --git a/tests/test_dynamodb2/exceptions/test_dynamodb_exceptions.py b/tests/test_dynamodb2/exceptions/test_dynamodb_exceptions.py --- a/tests/test_dynamodb2/exceptions/test_dynamodb_exceptions.py +++ b/tests/test_dynamodb2/exceptions/test_dynamodb_exceptions.py @@ -534,3 +534,18 @@ def update_email_transact(email)...
2023-05-04T15:43:32Z
Cannot infer return type if using Union[Tuple[Literal[]]...] * Are you reporting a bug, or opening a feature request? **Bug** * Please insert below the code you are checking with mypy, or a mock-up repro if the source is private. We would appreciate if you try to simplify your case to a minimal repro. ```python...
getmoto/moto
c2e3d90fc96d3b47130a136c5f20806043922257
4.1
[ "tests/test_guardduty/test_guardduty.py::test_create_detector", "tests/test_guardduty/test_guardduty.py::test_create_detector_with_minimal_params", "tests/test_guardduty/test_guardduty.py::test_list_detectors_initial", "tests/test_guardduty/test_guardduty.py::test_list_detectors" ]
[ "tests/test_cloudfront/test_cloudfront_distributions.py::test_create_distribution_with_custom_headers[2]", "tests/test_cloudfront/test_cloudfront_distributions.py::test_create_distribution_with_custom_headers[1]" ]
getmoto__moto-5718
I guess the imported module is not supposed to be an "official" member of the protocol, should it? (And that [PEP 544](https://peps.python.org/pep-0544/) does not mention such cases?) If so, one could silently ignore this member, which should be little effort. Yeah, I am going to simply ignore all imports.
diff --git a/moto/cloudformation/models.py b/moto/cloudformation/models.py --- a/moto/cloudformation/models.py +++ b/moto/cloudformation/models.py @@ -251,6 +251,17 @@ def __init__( self.creation_time = datetime.utcnow() self.status = "CREATE_PENDING" + def has_template(self, other_template): + ...
diff --git a/tests/test_core/test_decorator_calls.py b/tests/test_core/test_decorator_calls.py --- a/tests/test_core/test_decorator_calls.py +++ b/tests/test_core/test_decorator_calls.py @@ -109,8 +109,9 @@ def test_no_instance_sent_to_staticmethod(self): @mock_s3 -class TestWithSetup(unittest.TestCase): +class Te...
2022-05-21 22:15:00
false positive on interaction between `@property`, `@lru_cache`, and inheritance **Bug Report** My thanks to @hauntsaninja for their excellent work on #5858! However, I suspect there's a related issue with the combination of `@lru_cache` and `@property` where inheritance is at play: **To Reproduce** Gists: [m...
getmoto/moto
d37c2be0f7a2002a0a8c160622d937518f902cc7
0.920
[ "tests/test_ecr/test_ecr_boto3.py::test_delete_repository_with_force", "tests/test_ecr/test_ecr_boto3.py::test_start_image_scan_error_repo_not_exists", "tests/test_ecr/test_ecr_boto3.py::test_get_lifecycle_policy", "tests/test_ecr/test_ecr_boto3.py::test_create_repository_with_non_default_config", "tests/te...
[ "tests/test_ec2/test_instances.py::test_run_instance_with_additional_args[False]", "tests/test_ec2/test_instances.py::test_run_instance_with_additional_args[True]" ]
getmoto__moto-7082
diff --git a/moto/athena/models.py b/moto/athena/models.py --- a/moto/athena/models.py +++ b/moto/athena/models.py @@ -86,13 +86,19 @@ def __init__( class Execution(BaseModel): def __init__( - self, query: str, context: str, config: Dict[str, Any], workgroup: WorkGroup + self, + query: str,...
diff --git a/tests/test_logs/test_export_tasks.py b/tests/test_logs/test_export_tasks.py new file mode 100644 --- /dev/null +++ b/tests/test_logs/test_export_tasks.py @@ -0,0 +1,269 @@ +import copy +import json +import os +from datetime import datetime, timedelta +from uuid import UUID, uuid4 + +import boto3 +import py...
2023-08-27 14:43:34
Unexpected FlowLogAlreadyExists Error when all flow logs have no log_group_name # Issue description Adding 2 flow logs having different `log_destination` but no `log_group_name`(unset as deprecated) raises an undesired `FlowLogAlreadyExists`. # Reproduction (with awslocal & localstack, which make use of moto's EC2...
getmoto/moto
adeaea7c707018aa755a341820530e876cf8d542
1.7
[ "tests/test_awslambda/test_lambda.py::test_publish_version_unknown_function[bad_function_name]", "tests/test_awslambda/test_lambda.py::test_create_function_from_zipfile", "tests/test_awslambda/test_lambda.py::test_create_function_with_already_exists", "tests/test_awslambda/test_lambda.py::test_get_function_co...
[ "tests/test_cognitoidp/test_cognitoidp.py::test_admin_initiate_auth__use_access_token" ]
getmoto__moto-6492
diff --git a/moto/s3/responses.py b/moto/s3/responses.py --- a/moto/s3/responses.py +++ b/moto/s3/responses.py @@ -1627,7 +1627,7 @@ def _key_response_put( checksum_algorithm = request.headers.get("x-amz-checksum-algorithm") if checksum_algorithm: checksum_value = compute_chec...
diff --git a/tests/terraformtests/terraform-tests.success.txt b/tests/terraformtests/terraform-tests.success.txt --- a/tests/terraformtests/terraform-tests.success.txt +++ b/tests/terraformtests/terraform-tests.success.txt @@ -11,6 +11,14 @@ autoscaling: - TestAccAutoScalingAttachment - TestAccAutoScalingGroupDat...
2021-12-28T15:10:19Z
Implement aws_api_gateway_gateway_response Version: master ``` 172.17.0.1 - - [02/Aug/2020 07:37:36] "PUT /restapis/730g4ze1ma/gatewayresponses/DEFAULT_5XX HTTP/1.1" 404 - ```
python/mypy
1dfbeed5a72a4bd57361e44441d0d06af6a2e58a
4.0
[ "tests/test_core/test_responses.py::test_response_environment_preserved_by_type", "tests/test_core/test_responses.py::test_get_dict_list_params", "tests/test_core/test_responses.py::test_get_params", "tests/test_core/test_responses.py::test_compression_gzip_in_s3", "tests/test_core/test_responses.py::test_j...
[ "tests/test_s3/test_s3_object_attributes.py::TestS3ObjectAttributes::test_get_attributes_storageclass", "tests/test_s3/test_s3_object_attributes.py::TestS3ObjectAttributes::test_get_attributes_checksum[algo_val1]", "tests/test_s3/test_s3_object_attributes.py::TestS3ObjectAttributes::test_get_attributes_multiple...
getmoto__moto-5202
Note: the problem didn't occur until v0.920. I'm using an `_` function to attach metadata to attributes of classes (with metaclasses) and dataclasses for clarity and conciseness while providing proper type checking. While the function could be named `field()` or something else, it adds another name that the user must p...
diff --git a/mypy/checker.py b/mypy/checker.py --- a/mypy/checker.py +++ b/mypy/checker.py @@ -389,8 +389,8 @@ def defer_node(self, node: DeferredNodeType, enclosing_class: Optional[TypeInfo] self.deferred_nodes.append(DeferredNode(node, enclosing_class)) def handle_cannot_determine_type(self, name: str...
diff --git a/tests/test_dynamodb/test_dynamodb_table_with_range_key.py b/tests/test_dynamodb/test_dynamodb_table_with_range_key.py --- a/tests/test_dynamodb/test_dynamodb_table_with_range_key.py +++ b/tests/test_dynamodb/test_dynamodb_table_with_range_key.py @@ -1170,24 +1170,42 @@ def test_scan_by_index(): assert...
2022-09-01 22:42:31
s3_put_bucket_logging does not actually create and write to logging file. moto 4.0.8 inside conda using python 3.8.6 I'm trying to measure the number of GET/PUT requests I make to the mock s3 session. AFAICT the way you do this in actual S3 is to enable bucket logging and read the log. moto is not actually creating ...
python/mypy
c6e8a0b74c32b99a863153dae55c3ba403a148b5
0.810
[]
[ "tests/test_awslambda/test_lambda.py::test_update_function_ecr" ]
getmoto__moto-5876
Yeah, this looks like a bug. @ilevkivskyi Any idea if this would be hard to fix? `__call__` is special-cased in `checkmember.py`, it may be not easy to fix. I don't remember why, but last time I tried it, I didn't find a quick solution. Just confirming that this is still an issue as I lost a lot of time to it today...
diff --git a/mypy/checkpattern.py b/mypy/checkpattern.py --- a/mypy/checkpattern.py +++ b/mypy/checkpattern.py @@ -202,7 +202,7 @@ def visit_value_pattern(self, o: ValuePattern) -> PatternType: typ = self.chk.expr_checker.accept(o.expr) typ = coerce_to_literal(typ) narrowed_type, rest_type = ...
diff --git a/tests/test_ec2/test_route_tables.py b/tests/test_ec2/test_route_tables.py --- a/tests/test_ec2/test_route_tables.py +++ b/tests/test_ec2/test_route_tables.py @@ -664,16 +664,18 @@ def test_routes_already_exist(): ex.value.response["ResponseMetadata"].should.have.key("RequestId") ex.value.response...
2023-06-14 19:52:46
Crash when unpacking non TypeVarTuple in args list to `Callable` alias <!-- Use this form only if mypy reports an "INTERNAL ERROR" and/or gives a traceback. Please include the traceback and all other messages below (use `mypy --show-traceback`). --> **Crash Report** **Traceback** ``` main.py:3: error...
python/mypy
3ca46c3c24781df4d390c142a12106c8cfc034cf
1.6
[ "tests/test_kms/test_kms_encrypt.py::test_create_key_with_empty_content", "tests/test_kms/test_kms_encrypt.py::test_encrypt_using_alias_name", "tests/test_kms/test_kms_encrypt.py::test_encrypt[some", "tests/test_kms/test_kms_encrypt.py::test_kms_encrypt[some", "tests/test_kms/test_kms_encrypt.py::test_encry...
[ "tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_recovery_window_invalid_values", "tests/test_secretsmanager/test_secretsmanager.py::test_delete_secret_force_no_such_secret_with_invalid_recovery_window" ]
getmoto__moto-7029
I briefly tried to make an MWE, but was unsuccessful. Looks like this is a regression between 0.942 and 0.950 This bisects to https://github.com/python/mypy/pull/12656 Okay, took another look at this and got a small repro: ``` from dataclasses import dataclass from typing import Generic, TypeVar T = TypeVar("T"...
diff --git a/moto/dynamodb2/exceptions.py b/moto/dynamodb2/exceptions.py --- a/moto/dynamodb2/exceptions.py +++ b/moto/dynamodb2/exceptions.py @@ -205,6 +205,13 @@ def __init__(self): super().__init__(self.msg) +class TooManyTransactionsException(MockValidationException): + msg = "Validation error at tr...
diff --git a/tests/test_dynamodb/test_dynamodb.py b/tests/test_dynamodb/test_dynamodb.py --- a/tests/test_dynamodb/test_dynamodb.py +++ b/tests/test_dynamodb/test_dynamodb.py @@ -1616,6 +1616,50 @@ def test_bad_scan_filter(): assert exc.value.response["Error"]["Code"] == "ValidationException" +@mock_dynamodb +...
2022-12-04 21:41:18
Apigateway REST getExport as Swagger Currently the operation `get_export` is not covered in moto, this issue is just to formalize the request to cover this functionality. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-export-api.html
getmoto/moto
d77310ae61e8e784aae46b2011f35900b9392e15
0.920
[ "tests/test_eks/test_eks_ec2.py::test_passing_an_unknown_launchtemplate_is_supported" ]
[ "tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py::test_put_item__string_as_integer_value" ]
getmoto__moto-7336
Hi @Cupidazul, thanks for raising this! I've verified this against AWS, and they indeed record/return multiple propagations. Marking it as an enhancement - I'll probably have a PR with a fix ready for this either today or tomorrow.
diff --git a/mypy/checkexpr.py b/mypy/checkexpr.py --- a/mypy/checkexpr.py +++ b/mypy/checkexpr.py @@ -4271,7 +4271,7 @@ def visit_tuple_slice_helper(self, left_type: TupleType, slic: SliceExpr) -> Typ items: list[Type] = [] for b, e, s in itertools.product(begin, end, stride): - item = l...
diff --git a/tests/test_cloudfront/test_cloudfront_invalidation.py b/tests/test_cloudfront/test_cloudfront_invalidation.py --- a/tests/test_cloudfront/test_cloudfront_invalidation.py +++ b/tests/test_cloudfront/test_cloudfront_invalidation.py @@ -76,4 +76,4 @@ def test_list_invalidations__no_entries(): resp["Inval...
2023-06-28T21:10:32Z
rds_client.create_db_snapshot, describe_db_snapshots behavior not right due to the snapshot type attribute ## What went wrong? Based on this aws document [create_db_snapshot](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/rds/client/create_db_snapshot.html), the db snapshot created by thi...
getmoto/moto
41467373210438c86352ecee4c93b7b47919207d
4.1
[ "tests/test_ec2/test_instances.py::test_run_instance_with_block_device_mappings_missing_ebs", "tests/test_ec2/test_instances.py::test_get_instances_filtering_by_tag", "tests/test_ec2/test_instances.py::test_run_instance_and_associate_public_ip", "tests/test_ec2/test_instances.py::test_modify_instance_attribut...
[ "mypy/test/testpythoneval.py::PythonEvaluationSuite::testTypingExtensionsOrderedDictAlias" ]
python__mypy-13648
diff --git a/moto/ecs/models.py b/moto/ecs/models.py --- a/moto/ecs/models.py +++ b/moto/ecs/models.py @@ -2011,7 +2011,7 @@ def _get_last_task_definition_revision_id(self, family: str) -> int: # type: ig def tag_resource(self, resource_arn: str, tags: List[Dict[str, str]]) -> None: parsed_arn = self._pa...
diff --git a/test-data/unit/check-classes.test b/test-data/unit/check-classes.test --- a/test-data/unit/check-classes.test +++ b/test-data/unit/check-classes.test @@ -8001,3 +8001,11 @@ f5(1) # E: Argument 1 to "f5" has incompatible type "int"; expected "Integral" # N: Types from "numbers" aren't supported for...
2023-08-10T22:45:09Z
Missing accept-ranges from mocked S3 service API response moto version 4.1.5 - botocore 1.29.96 - boto3 1.26.87 - s3resumable 0.0.3 Am using S3Resumable to handle my file downloads even when interrupted. Long story short, I am able to mock s3 but it seems the output it generates when getting an object from the ...
getmoto/moto
37cb6cee94ffe294e7d02c7d252bcfb252179177
4.2
[ "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_overwriting_file", "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_delete_specific_version", "tests/test_s3/test_s3_file_handles.py::TestS3FileHandleClosures::test_upload_large_file", "tests/test_s3/test_s3_file_hand...
[ "tests/test_awslambda/test_lambda_function_urls.py::test_delete_function_url_config[FunctionArn]", "tests/test_awslambda/test_lambda_function_urls.py::test_delete_function_url_config[FunctionName]", "tests/test_awslambda/test_lambda_function_urls.py::test_create_function_url_config[FunctionName]", "tests/test...
getmoto__moto-5085
Thanks for raising this @Bharat23! Marking it as an enhancement to mock the failure case correctly. > If a classic load balancer doesn't exist, boto3 raises AccessPointNotFoundException which basically means that the load balancer being queried does not exist. > As far as I can tell, AWS throws a LoadBalancerNotFou...
diff --git a/moto/ec2/models.py b/moto/ec2/models.py --- a/moto/ec2/models.py +++ b/moto/ec2/models.py @@ -8642,6 +8642,20 @@ class EC2Backend( IamInstanceProfileAssociationBackend, CarrierGatewayBackend, ): + """ + Implementation of the AWS EC2 endpoint. + + moto includes a limited set of AMIs in `...
diff --git a/test-data/unit/check-async-await.test b/test-data/unit/check-async-await.test --- a/test-data/unit/check-async-await.test +++ b/test-data/unit/check-async-await.test @@ -943,3 +943,15 @@ async def bar(x: Union[A, B]) -> None: [builtins fixtures/async_await.pyi] [typing fixtures/typing-async.pyi] + +[ca...
2022-05-08 20:15:06
DynamoDB backend erroneously accepts JSON numbers for strings Similar to #5022: This sample code ```python import botocore.session import botocore.client import moto with moto.mock_dynamodb(): session = botocore.session.Session() config = botocore.client.Config(parameter_validation=False) clien...
getmoto/moto
ac6d88518d2a5d40bbb13170bfebb8ca0ec38d46
3.0
[ "tests/test_kms/test_kms_boto3.py::test__create_alias__raises_if_alias_has_restricted_characters[alias/my-alias!]", "tests/test_kms/test_kms_boto3.py::test_update_key_description", "tests/test_kms/test_kms_boto3.py::test_verify_happy[some", "tests/test_kms/test_kms_boto3.py::test_disable_key_key_not_found", ...
[ "mypy/test/testcheck.py::TypeCheckSuite::check-functions.test::testConditionalFunctionDefinitionUnreachable" ]
getmoto__moto-6885
Yeah, mypy should support this. It doesn't raise an exception fpr me, however, but gives an error (`Unsupported operand types for * ("Tuple[int]" and "int")`). And yes, the general case should probably wait for variable-length tuples (#184) and we should use them. However, using `Sequence[t]` would be okay in the inte...
diff --git a/moto/eks/models.py b/moto/eks/models.py --- a/moto/eks/models.py +++ b/moto/eks/models.py @@ -284,6 +284,25 @@ def __init__( self.tags = tags self.taints = taints + # Determine LaunchTemplateId from Name (and vice versa) + try: + from moto.ec2.models import ec2_...
diff --git a/tests/test_ec2/test_amis.py b/tests/test_ec2/test_amis.py --- a/tests/test_ec2/test_amis.py +++ b/tests/test_ec2/test_amis.py @@ -426,6 +426,9 @@ def test_ami_filters(): ] imageB = boto3.resource("ec2", region_name="us-east-1").Image(imageB_id) imageB.modify_attribute(LaunchPermission={"Add"...
2022-09-08 17:41:31
Feature Request: Implementation for `CancelRotateSecret` is missing for secretsmanager Currently the `secretsmanager` component is missing implementation for a few endpoints, `CancelRotateSecret` is one of them. I use this library extensivley and just recently came accross the requirement for this feature, happy to tak...
python/mypy
62e44dbd336227c87ef0eca0bbcb64f29f203300
4.2
[ "tests/test_dynamodb/exceptions/test_key_length_exceptions.py::test_item_add_long_string_range_key_exception", "tests/test_dynamodb/exceptions/test_key_length_exceptions.py::test_item_add_empty_key_exception", "tests/test_dynamodb/exceptions/test_key_length_exceptions.py::test_update_item_with_long_string_hash_...
[ "mypy/test/testcheck.py::TypeCheckSuite::check-statements.test::testWithStmtScopeNestedWith1", "mypy/test/testcheck.py::TypeCheckSuite::check-statements.test::testWithStmtScopeNestedWith2", "mypy/test/testcheck.py::TypeCheckSuite::check-statements.test::testWithStmtScopeBasics", "mypy/test/testcheck.py::TypeC...
getmoto__moto-6923
Hi @vmironichev-nix, welcome to Moto! There is no roadmap here - most features are added by the community, as and when they need it. PR's are always welcome, if you want to implement this yourself!
diff --git a/mypy/meet.py b/mypy/meet.py --- a/mypy/meet.py +++ b/mypy/meet.py @@ -161,10 +161,6 @@ def _is_overlapping_types(left: Type, right: Type) -> bool: if isinstance(left, illegal_types) or isinstance(right, illegal_types): return True - # 'Any' may or may not be overlapping with the other ty...
diff --git a/tests/test_kms/__init__.py b/tests/test_kms/__init__.py --- a/tests/test_kms/__init__.py +++ b/tests/test_kms/__init__.py @@ -1 +1,28 @@ -# This file is intentionally left blank. +import os +from functools import wraps + +from moto import mock_kms + + +def kms_aws_verified(func): + """ + Function tha...
2023-04-17 17:26:30
ec2 created without keypair has KeyName = 'None' When creating an instance without a keypair, moto describes the instance as having a keypair called`None`: ```python import boto3 from moto import mock_ec2 mock = mock_ec2() mock.start() ec2_client = boto3.client("ec2", region_name="us-east-1") ec2_client.ru...
getmoto/moto
de714eb4cc2ebf4065eba8cc886c4eb6649b061b
0.940
[ "tests/test_sagemakerruntime/test_sagemakerruntime.py::test_invoke_endpoint", "tests/test_sagemakerruntime/test_sagemakerruntime.py::test_invoke_endpoint__default_results" ]
[ "mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleOfInstalledStubPackage", "mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testErrorFromGoogleCloud" ]
getmoto__moto-7148
Hi @bmaisonn, thanks for raising this - that was indeed an oversight. A PR would be very welcome! Let me know if you need any help with that.
diff --git a/moto/core/models.py b/moto/core/models.py --- a/moto/core/models.py +++ b/moto/core/models.py @@ -265,6 +265,22 @@ def patch_client(client: botocore.client.BaseClient) -> None: :return: """ if isinstance(client, botocore.client.BaseClient): + # Check if our event handler was already r...
diff --git a/tests/test_sesv2/test_sesv2.py b/tests/test_sesv2/test_sesv2.py --- a/tests/test_sesv2/test_sesv2.py +++ b/tests/test_sesv2/test_sesv2.py @@ -46,6 +46,12 @@ def test_send_email(ses_v1): # pylint: disable=redefined-outer-name sent_count = int(send_quota["SentLast24Hours"]) assert sent_count == 3 ...
2023-04-08 21:14:28
elbv2 describe_tags return ResourceArn empty instead of the correct one ## Reporting Bugs I am using the latest version of moto for elbv2. After create_load_balancer with moto, which return resource 'LoadBalancerArn': 'arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/loadbalancer/50dc6c495c0c9188...
getmoto/moto
e6818c3f1d3e8f552e5de736f68029b4efd1994f
4.1
[ "mypy/test/testcheck.py::TypeCheckSuite::check-modules.test::testMissingSubmoduleOfInstalledStubPackageIgnored" ]
[ "mypy/test/testcheck.py::TypeCheckSuite::check-flags.test::testNoImplicitReexportStarConsideredExplicit" ]
getmoto__moto-6057
diff --git a/moto/sagemaker/models.py b/moto/sagemaker/models.py --- a/moto/sagemaker/models.py +++ b/moto/sagemaker/models.py @@ -165,8 +165,8 @@ def __init__( self.debug_rule_configurations = debug_rule_configurations self.tensor_board_output_config = tensor_board_output_config self.experim...
diff --git a/tests/test_resiliencehub/__init__.py b/tests/test_resiliencehub/__init__.py new file mode 100644 diff --git a/tests/test_resiliencehub/test_resiliencehub.py b/tests/test_resiliencehub/test_resiliencehub.py new file mode 100644 --- /dev/null +++ b/tests/test_resiliencehub/test_resiliencehub.py @@ -0,0 +1,25...
2024-03-29 11:49:37
`import` statements under a parametrised protocol results in a crash <!-- Use this form only if mypy reports an "INTERNAL ERROR" and/or gives a traceback. Please include the traceback and all other messages below (use `mypy --show-traceback`). --> **Crash Report & Reproduction** The following snippet will ...
python/mypy
34a0c20d036240a3bdf5ec03221bc629427e2315
4.1
[ "mypy/test/testsemanal.py::SemAnalSuite::semanal-classes.test::testStaticMethodWithNoArgs", "mypy/test/testcheck.py::TypeCheckSuite::check-functools.test::testCachedProperty", "mypy/test/testsemanal.py::SemAnalErrorSuite::semanal-errors.test::testStaticmethodAndNonMethod", "mypy/test/teststubgen.py::StubgenPy...
[ "mypy/test/testsemanal.py::SemAnalSuite::testLambdaInheritsCheckedContextFromFuncLambdaStack", "mypy/test/testsemanal.py::SemAnalSuite::testLambdaInheritsCheckedContextFromFunc" ]
python__mypy-15440
Hello Sir, I want to start contributing in open source. Can i fix this issue? This error is worse than just invalid error reporting, mypy thinks a sliced NamedTuple is still an instance of the NamedTuple rather than a plain tuple: eg it considers this valid: ```python from typing import NamedTuple class Exampl...
diff --git a/moto/kms/models.py b/moto/kms/models.py --- a/moto/kms/models.py +++ b/moto/kms/models.py @@ -4,7 +4,7 @@ from copy import copy from datetime import datetime, timedelta from cryptography.exceptions import InvalidSignature -from cryptography.hazmat.primitives import hashes +from cryptography.hazmat.primi...
diff --git a/tests/test_cloudfront/test_cloudfront_invalidation.py b/tests/test_cloudfront/test_cloudfront_invalidation.py --- a/tests/test_cloudfront/test_cloudfront_invalidation.py +++ b/tests/test_cloudfront/test_cloudfront_invalidation.py @@ -5,7 +5,36 @@ @mock_cloudfront -def test_create_invalidation(): +def ...
2022-02-27 20:30:00
Creating mock AutoScalingGroups doesn't allow string versions for Launch templates **Environment:** * Running as a python library * Moto version: moto==2.2.9 * Boto versions: boto3==1.16.23, botocore==1.19.23 Mock autoscaling assumes that the Launch template versions will always be integers. Both [boto](...
python/mypy
8e82171a3e68a5180fab267cad4d2b7cfa1f5cdc
4.0
[ "tests/test_route53/test_route53.py::test_update_hosted_zone_comment", "tests/test_route53/test_route53.py::test_use_health_check_in_resource_record_set", "tests/test_route53/test_route53.py::test_get_dns_sec", "tests/test_route53/test_route53.py::test_get_unknown_hosted_zone", "tests/test_route53/test_rout...
[ "tests/test_ec2/test_instances.py::test_create_instance_with_default_options" ]
End of preview. Expand in Data Studio

edition_0083_SWE-Gym-SWE-Gym-readymade

A Readymade by TheFactoryX

Original Dataset

SWE-Gym/SWE-Gym

Process

This dataset is a "readymade" - inspired by Marcel Duchamp's concept of taking everyday objects and recontextualizing them as art.

What we did:

  1. Selected the original dataset from Hugging Face
  2. Shuffled each column independently
  3. Destroyed all row-wise relationships
  4. Preserved structure, removed meaning

The result: Same data. Wrong order. New meaning. No meaning.

Purpose

This is art. This is not useful. This is the point.

Column relationships have been completely destroyed. The data maintains its types and values, but all semantic meaning has been removed.


Part of the Readymades project by TheFactoryX.

"I am a machine." — Andy Warhol

Downloads last month
4