Skip to content

fix: ignore function and method on to_primitive

Compare
Choose a tag to compare
@songofhawk songofhawk released this 08 Feb 07:17
· 5 commits to main since this release

If an object is a function, or a method of a class, it will be ignored on coverting to primitive data structures. ( Use inspect module internal, callable is not good checker, for an instance of a class is also callable.)