in source/mediainfo/lambda_function.py [0:0]
def compact(attributes): return { k: v for k, v in attributes.items() if v is not None }