def _get_target_commit(self, step):
    woql_query = WOQLQuery().using('_commits').path('v:commit', f'parent{{{step},{step}}}', 'v:target_commit').triple('v:branch', 'name', WOQLQuery().string(self.branch)).triple('v:branch', 'head', 'v:commit').triple('v:target_commit', 'identifier', 'v:cid')
    result = self.query(woql_query)
    target_commit = result.get('bindings')[0].get('cid').get('@value')
    return target_commit
def _get_target_commit(self, step):
    woql_query = WOQLQuery().using('_commits').path('v:commit', f'parent{{{step},{step}}}', 'v:target_commit').triple('v:branch', 'name', WOQLQuery().string(self.branch)).triple('v:branch', 'head', 'v:commit').triple('v:target_commit', 'identifier', 'v:cid')
    result = self.query(woql_query)
    target_commit = result.get('bindings')[0].get('cid').get('@value')
    return target_commit