Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'schema': GenreModel,
}
}
})
def get(self):
db = get_db()
result = db.run('MATCH (genre:Genre) RETURN genre')
return [serialize_genre(record['genre']) for record in result]