Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/i/a/IATI-Data-Quality-HEAD/iatidq/dqindicators.py   IATI-Data-Quality(Download)
def addIndicatorTest(data):
    checkIT = models.IndicatorTest.query.filter_by(test_id=data["test_id"], indicator_id=data["indicator_id"]).first()
    if not checkIT:
        with db.session.begin():
            newIT = models.IndicatorTest()

src/i/a/IATI-Data-Quality-HEAD/iatidq/dqimporttests.py   IATI-Data-Quality(Download)
                assert test.id
 
                newIT = models.IndicatorTest()
                newIT.setup(
                    indicator_id = ind.id,