guan404ming opened a new pull request, #384: URL: https://github.com/apache/tvm-ffi/pull/384
## Related Issue #356 ## Why Python's standard dataclasses support kw_only parameter to make fields keyword-only in __init__. This feature was missing from @c_class decorator. ## How - Add `KW_ONLY` sentinel class for marking keyword-only fields - Add `kw_only` parameter to field() function and @c_class decorator - Update `method_init()` to generate proper signature - Add tests -- 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]
