Well at least it works, somehow.
What i found is still not work as expected is (work fine for others not self_to_self):
sobject - some "asset" sobject
search = Search("testovy/asset")
search.add_relationship_filter(sobject, path="child")
Looks like it can't figure out instance type here. Or may be path is ignored
This works fine.
search = Search("testovy/asset_in_asset")
search.add_relationship_filter(sobject, path="child")
What i found is still not work as expected is (work fine for others not self_to_self):
sobject - some "asset" sobject
search = Search("testovy/asset")
search.add_relationship_filter(sobject, path="child")
Looks like it can't figure out instance type here. Or may be path is ignored
This works fine.
search = Search("testovy/asset_in_asset")
search.add_relationship_filter(sobject, path="child")