junrushao commented on PR #384:
URL: https://github.com/apache/tvm-ffi/pull/384#issuecomment-3764985408
OK it turns out KW_ONLY may not exist in `dataclasses` in Python 3.8. This
is silly :)
If import fails, let's do this:
```python
_KW_ONLY_TYPE = type("_KW_ONLY_TYPE", (object, ), {})
KW_ONLY = _KW_ONLY_TYPE()
```
--
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]