| 341 | |
| 342 | # Use the custom metaclass to create a struct class |
| 343 | class EncoderStruct(metaclass=EncoderMeta): |
| 344 | id: int |
| 345 | name: str |
| 346 | tags: list[str] = [] |
| 347 | |
| 348 | # Create an instance |
| 349 | obj = EncoderStruct(id=123, name="test") |
no outgoing calls
searching dependent graphs…