code: def record_serializer(self):
          
          imp = current_app.config['GITHUB_RECORD_SERIALIZER']
          if isinstance(imp, string_types):
              return import_string(imp)
          return imp
docs: Github Release API class.