ghapi
ghapi copied to clipboard
use of fast core types prevents basic operations like json.dumps on a response
afaics the use of fast core types like L prevents basic operations like serializing the response from ghapi.
>>> json.dumps(o)
*** TypeError: Object of type L is not JSON serializable
There's a workaround at https://github.com/AnswerDotAI/ghapi/issues/66#issuecomment-897167977 using from fastcore.xtras import obj2dict.