Skip to content

Conversation

khalidfasely
Copy link

Instead of using:
query = request.query_params.get('keyword') if query == None: query = ''
which is right by the way, we better use the Pythonic way of doing it:
query = request.query_params.get('keyword') or ''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant