Dan Marra

Results 4 issues of Dan Marra

Consider the following test code that will create a mock lambda that just returns some arbitrary value: ``` def get_mock_lambda(return_value: str): pfunc = """ def lambda_handler(event, context): return {} """.format(return_value.replace("\n",...

enhancement

Currently, the OpenAPI spec has this to say about nullable enums: ![image](https://user-images.githubusercontent.com/3135491/233489433-6cd1a0bc-e1ce-4dfd-9830-915a0320ad48.png) Despite running our API spec through the linter with a non-conforming nullable enum, it passed! The end result...

p3
Type: Enhancement
governance

We are able to mock Athena query results via: ```python resp = requests.post( "http://motoapi.amazonaws.com/moto-api/static/athena/query-results", json=query_results, ) assert resp.status_code == 201 ``` But there is no way to mock the output...

enhancement

### Subject of the issue Currently, the `!cmd` hook has two forms: 1. simple string 2. object with keys `run` and `shell` The second form is more useful, as it...