Skip to content

Releases: songofhawk/objtyping

optimize: get name / value from sqlalchemy Enum column

15 Jun 09:09
Compare
Choose a tag to compare

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

14 Jun 03:10
Compare
Choose a tag to compare

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

08 Feb 11:57
Compare
Choose a tag to compare

fix: try catch Exception, and exclude SqlAlchemy BaseQuery object

Try catch exceptions

08 Feb 11:51
Compare
Choose a tag to compare

fix: try catch Exception, and exclude SqlAlchemy BaseQuery object

fix: ignore function and method on to_primitive

08 Feb 07:17
Compare
Choose a tag to compare

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

27 Jan 06:52
Compare
Choose a tag to compare
0.51

import in __init__

version 0.5.1

27 Jan 06:58
Compare
Choose a tag to compare
version 0.5.1

first release

27 Jan 06:32
Compare
Choose a tag to compare
0.5

add setup