lambda

May 9, 2022

Delayed creations of S3 objects

I have created a lambda function that fetches external XML resource and stores it in S3 object. Function is developed in NodeJS and uses https://www.npmjs.com/package/s3-upload-stream.It creates S3 o

Read More
May 8, 2022

Python lambda comprehension print i

I’m trying to use comprehensions to write a list of lambdas, where each lambda when called will print the index that is it’s position in the list.list = [lambda : print(i) for i in range(10)]list[0](

Read More
May 5, 2022

Pycharm does not run pytest

I am trying to run some pytests with pycharm, but i always get the same output which is:Ran 0 tests in 0.000sOKProcess finished with exit code 0Empty suiteThe test_handler.py script it is the followi

Read More