Python List Extend Int Object Has No Attribute Get Serializer