Releases: songofhawk/objtyping
optimize: get name / value from sqlalchemy Enum column
If there's a Enum type column in the sqlalchemy object, which can not be json serialized, so extract it's name and value in to_primitive function.
fix: ignore all possible sqlalchemy query object
If there's an attribute, which type is an SQLAlchemy query object, then ignore it, and return None. Because this type of object is too complicated, may cause memery overflow, and in general, user don't really want to convert it, but a data record instead.
Try catch exceptions
fix: try catch Exception, and exclude SqlAlchemy BaseQuery object
Try catch exceptions
fix: try catch Exception, and exclude SqlAlchemy BaseQuery object
fix: ignore function and method on to_primitive
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.)
fix import error
0.51 import in __init__
version 0.5.1
version 0.5.1
first release
0.5 add setup