Exemplo n.º 1
0
 def _create_targeted_sectors(self) -> List[Identity]:
     target_sectors = []
     actor_target_industries = self.actor.target_industries
     if actor_target_industries is not None:
         target_sectors = create_sectors_from_entities(
             actor_target_industries, self.author)
     return target_sectors
Exemplo n.º 2
0
    def _create_targeted_sectors(self) -> List[Identity]:
        target_industries = self.report.target_industries
        if target_industries is None or not target_industries:
            return []

        return create_sectors_from_entities(target_industries, self.author)
Exemplo n.º 3
0
 def _create_sectors_from_entities(self, entities: List[Entity]) -> List[Identity]:
     return create_sectors_from_entities(entities, self.author)