tessl install tessl/pypi-pydantic@2.11.0Data validation using Python type hints
Agent Success
Agent success rate when using this tile
90%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.3x
Baseline
Agent success rate without this tile
69%
Build a data validation system for processing event registrations that handles various data types including dates, times, numbers, and collections.
Your system should validate event registration data with the following fields:
The system should accept registration data in dictionary format and automatically:
After validation, the system should be able to:
@generates
class EventRegistration:
"""
Validates and manages event registration data with automatic type conversion.
Should handle all specified fields with appropriate validation and type coercion.
"""
passProvides data validation and type conversion support.