Updated:
- Key functions now may accept additional argument
random.
Removed:
- The
loopmethod for theSchema, which was considered deprecated and unsafe, has been removed. - The
iterationsparameter for all methods ofSchemahas been removed. Instead, you now have to specify the number of iterations on instantiation ofSchemapassing theiterationsparameter. - The
iteratormethod forSchemahas been removed. Instead, you can now use an instance ofSchemadirectly as an iterator. - The multiplication is no longer supported for
Schema. Instead, you can use theiterationsparameter on instantiation ofSchema.
Added:
- Add
weighted_choice()method forRandom(). See docs for more information. - Add module
keysfor generating key functions.