RawΒΆ

Shows how a sysparm query string can be passed directly to a query method. See the Condition equivalent here.

async with Incident(client, table_name="incident") as inc:
    response = await inc.get(
        "numberSTARTSWITHINC123^impact<3^NQassignment_group.name=Hardware^ORDERBYDESCnumber"
    )
    print("The query yielded {} items.".format(len(response.data)))