Lookup Table Data

Thank you for your response. Just to be sure, did you mean REMOVE the " get_me_clause " everywhere I see it from the graph Along with every instance: From lines 170, 222, 292, 197, 249 ? def _get_me_clause(self, entity_type: Text) -> Text: “”" Construct the me clause. Needed to only list, for example, accounts that are related to me.

    :param entity_type: entity type

    :return: me clause as string
    """

    clause = ""

    # do not add the me clause to a query asking for banks or people as they are
    # independent of the accounts related to me
    if entity_type not in ["person", "bank"]:
        clause = (
            f"$person isa person, has email '{self.me}';"
            f"$contract(customer: $person, offer: $account, provider: $bank) isa contract;"
        )
    return clause