<commit_before>import {
  assign,
  omit,
} from 'lodash';
import gravity from '../lib/loaders/gravity';
import cached from './fields/cached';
import initials from './fields/initials';
import Profile from './profile';
import Location from './location';
import {
  GraphQLString,
  GraphQLObjectType,
  GraphQLNonNull,
  GraphQLInt,
  GraphQLList,
  GraphQLBoolean,
} from 'graphql';

const PartnerType = new GraphQLObjectType({
  name: 'Partner',
  fields: () => {
    // Prevent circular dependency
    const PartnerShows = require('./partner_shows').default;

    return {
      cached,
      _id: {
        type: GraphQLString,
      },
      id: {
        type: GraphQLString,
      },
      name: {
        type: GraphQLString,
        resolve: ({ name }) => name.trim(),
      },
      type: {
        type: GraphQLString,
      },
      href: {
        type: GraphQLString,
        resolve: ({ default_profile_id }) => `/${default_profile_id}`,
      },<commit_msg>adds collecting institution to partner schema<commit_after>import {
  assign,
  omit,
} from 'lodash';
import gravity from '../lib/loaders/gravity';
import cached from './fields/cached';
import initials from './fields/initials';
import Profile from './profile';
import Location from './location';
import {
  GraphQLString,
  GraphQLObjectType,
  GraphQLNonNull,
  GraphQLInt,
  GraphQLList,
  GraphQLBoolean,
} from 'graphql';

const PartnerType = new GraphQLObjectType({
  name: 'Partner',
  fields: () => {
    // Prevent circular dependency
    const PartnerShows = require('./partner_shows').default;

    return {
      cached,
      _id: {
        type: GraphQLString,
      },
      id: {
        type: GraphQLString,
      },
      name: {
        type: GraphQLString,
        resolve: ({ name }) => name.trim(),
      },
      collecting_institution: {
        type: GraphQLString,
      },
      type: {
        type: GraphQLString,
      },
      href: {
        type: GraphQLString,
        resolve: ({ default_profile_id }) => `/${default_profile_id}`,
      },
{'fraction_non_alphanumeric': 0.13196480938416422, 'fraction_numerical': 0.0, 'mean_word_length': 2.535405872193437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1630846', 'n_tokens_mistral': 616, 'n_tokens_neox': 612, 'n_words': 148}