Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, *props):
super(Hit, self).__init__(props=[prop for prop in list(props) if prop["value"] is not None])