def _fetch_port_docs(self, compdef, port_direction, port_name):
        structure = compdef['structure']
        for c in structure['connections']:
            if port_direction.startswith('in'):
                actor, port, target_actor, target_port = c['src'], c['src_port'],c['dst'], c['dst_port']
            else:
                actor, port, target_actor, target_port = c['dst'], c['dst_port'], c['src'], c['src_port']
            if not actor or port == port_name and target_actor in structure['actors']:
                return self.port_docs(structure['actors'][target_actor]['actor_type'], port_direction, target_port)
        return 'Not documented'
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/DocumentationStore._fetch_port_docs/operator `and` -> `or`