def get_objects_by_type(self, *types):
        """ Returned objects stored in memory (without re-reading them from the TGN).

        Use this method for fast access to objects in case of static configurations.

        :param types: requested object types.
        :return: all children of the specified types.
        """

        if not types:
            return self.objects.values()
        types_l = [o.lower() for o in types]
        return [o for o in self.objects.values() if o.obj_type().lower() in types_l]
def get_objects_by_type ( self , * types ) : if not types : return self . objects . values ( ) types_l = [ o . lower ( ) for o in types ] return [ o for o in self . objects . values ( ) if o . obj_type ( ) . lower ( ) in types_l ]
Returned objects stored in memory (without re-reading them from the TGN).

        Use this method for fast access to objects in case of static configurations.

        :param types: requested object types.
        :return: all children of the specified types.