Commit 055c9c6
committed
Update documentation for new AttributeType system
- Rewrite customtype.md with comprehensive documentation:
- Overview of encode/decode pattern
- Required components (type_name, dtype, encode, decode)
- Type registration with @dj.register_type decorator
- Validation with validate() method
- Storage types (dtype options)
- Type chaining for composable types
- Key parameter for context-aware encoding
- Entry point packages for distribution
- Complete neuroscience example
- Migration guide from AttributeAdapter
- Best practices
- Update attributes.md to reference custom types1 parent 2be5f11 commit 055c9c6
2 files changed
+440
-38
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
0 commit comments