Rather than explicitly depending on the schema package, I can just accept any callable. This is more flexible, and makes it possible to do custom processing on the whole parameter dictionary at once (schema only looks at one key at a time). I can continue to use schema like so:
Rather than explicitly depending on the
schema
package, I can just accept any callable. This is more flexible, and makes it possible to do custom processing on the whole parameter dictionary at once (schema
only looks at one key at a time). I can continue to useschema
like so: