guan404ming opened a new pull request, #417:
URL: https://github.com/apache/tvm-ffi/pull/417

   ## Related Issue
   
   Fixes #208
   
   ## Why
   
   Python-registered global functions without metadata cause JSONDecodeError 
when get_global_func_metadata() is called because the FFI returns an empty 
string which json.loads() cannot parse.
   
   ## How
   
   - Check for empty metadata string before JSON parsing
   - Return empty dict for functions without metadata
   - Add regression test for Python functions without metadata


-- 
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]

Reply via email to