Dayuxiaoshui opened a new pull request, #411: URL: https://github.com/apache/tvm-ffi/pull/411
- Add `repr` parameter to `c_class()` decorator (default: True) - Add `repr` parameter to `field()` function (default: True) - Implement `method_repr()` to generate __repr__ methods - Generated repr format: ClassName(field1=value1, field2=value2, ...) - Fields with repr=False are excluded from the representation This implements part of #356 dataclass feature parity. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
