(self, typ)
return sl
Create a child selection list on the given type.

        The selection list will be result in an inline fragment
        in the query with an additional query for ``__typename``,
        which is later used to create the proper type when
        the results are interpreted.

        The newly created selection list is shared for all users
        of the same type in this selection list.
Create a child selection list on the given type.
Create a child selection list on the given type .
def __as__(self, typ):
        '''Create a child selection list on the given type.

        The selection list will be result in an inline fragment
        in the query with an additional query for ``__typename``,
        which is later used to create the proper type when
        the results are interpreted.

        The newly created selection list is shared for all users
        of the same type in this selection list.
        '''
        try:
            return self.__casts[typ.__name__]
        except KeyError:
            pass

        sl = InlineFragmentSelectionList(typ)
        self.__casts[typ.__name__] = sl
        self.__typename__()
        return sl
def __as__ ( self , typ ) : try : return self . __casts [ typ . __name__ ] except KeyError : pass sl = InlineFragmentSelectionList ( typ ) self . __casts [ typ . __name__ ] = sl self . __typename__ ( ) return sl