Skip to content

optimize: get name / value from sqlalchemy Enum column

Latest
Compare
Choose a tag to compare
@songofhawk songofhawk released this 15 Jun 09:09

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.