Require_keys()
Used for validating dictionaries. Used for checking that a dictionary has a set of keys. This is useful when validating the body of a request (body
). Returns False if all keys were found and True if one or more keys are missing.
Usage
Parameters
A list.
of strings.
Example
Last updated