Beginner · Python for programmers
Iterators and generators
Port how superstruct checks a whole record: build schemas with comprehensions, walk nested data with a generator that yields each failure with its path, and check a day's records as they stream in, reading no more than you need.
- You build
- walk.py, then walker.py
- Stages
- 3 Build, 1 Catch, 1 Ship
- Time
- About 3 hours
Loading the workspace…
Loading the workspace…