ros_gazebo_gym.core.lazy_importer
Contains the LazyImporter class which can be used to import modules lazily.
Module Contents
Classes
A class for importing modules lazily. |
- class ros_gazebo_gym.core.lazy_importer.LazyImporter(module_name)[source]
A class for importing modules lazily.
This class can be used to import modules and module objects lazily. It caches imported modules and module objects to avoid repeated imports.
Initialize a new LazyImporter object.
- Parameters:
module_name (str) – The name of the module to import.