(name)
return ''.join(parts[:1] + [p.title() for p in parts[1:]])
Converts a Python name, ``a_name`` to GraphQL: ``aName``.
Converts a Python name, ``a_name`` to GraphQL: ``aName``.
Converts a Python name a_name to GraphQL : aName .
def _to_graphql_name(name):
        '''Converts a Python name, ``a_name`` to GraphQL: ``aName``.
        '''
        parts = name.split('_')
        return ''.join(parts[:1] + [p.title() for p in parts[1:]])
def _to_graphql_name ( name ) : parts = name . split ( '_' ) return '' . join ( parts [ : 1 ] + [ p . title ( ) for p in parts [ 1 : ] ] )