def resources_assigned(self) -> List[Resource]:
        """Return list of resources assigned to the PB."""
        resources_str = DB.get_hash_value(self.key, 'resources_assigned')
        resources_assigned = []
        for resource in ast.literal_eval(resources_str):
            resources_assigned.append(Resource(resource))
        return resources_assigned
def resources_assigned ( self ) -> List [ Resource ] : resources_str = DB . get_hash_value ( self . key , 'resources_assigned' ) resources_assigned = [ ] for resource in ast . literal_eval ( resources_str ) : resources_assigned . append ( Resource ( resource ) ) return resources_assigned
Return list of resources assigned to the PB.