def get_line_items(self,
                       order=DFP_QUERY_DEFAULTS['order'],
                       limit=DFP_QUERY_DEFAULTS['limit'],
                       offset=DFP_QUERY_DEFAULTS['offset'],
                       **filter_kwargs):
        query = self._format_query(
            order=order,
            limit=limit,
            offset=offset,
            **filter_kwargs
        )
        service = self.native_dfp_client.GetService(
            'LineItemService',
            version=self.version
        )

        line_items = self._run_service_query(
            query, service.getLineItemsByStatement,
        )

        if not line_items:
            logging.warning(
                'Results not found from query. Query: {0}'.format(query)
            )
            return []

        return line_items
Same, but if it's a class, verify it's a subclass of the right class.
dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/client.py/DFPClient.get_line_items--crossover with--dataset/ETHPy150Open skyostil/tracy/src/generator/Cheetah/Utils/VerifyType.py/VerifyTypeClass