From a09162c9921ad93cfb584f626a36781e629d5cc0 Mon Sep 17 00:00:00 2001 From: Ella Wu <602725+ewu63@users.noreply.github.com> Date: Wed, 8 May 2024 12:56:41 -0700 Subject: [PATCH] add __all__ --- pyoptsparse/__init__.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pyoptsparse/__init__.py b/pyoptsparse/__init__.py index e19a0e7f..903a0881 100644 --- a/pyoptsparse/__init__.py +++ b/pyoptsparse/__init__.py @@ -19,3 +19,25 @@ from .pyNSGA2.pyNSGA2 import NSGA2 from .pyALPSO.pyALPSO import ALPSO from .pyParOpt.ParOpt import ParOpt + +__all__ = [ + "History", + "Variable", + "Gradient", + "Constraint", + "Objective", + "Optimization", + "Optimizer", + "OPT", + "Optimizers", + "Solution", + "SNOPT", + "IPOPT", + "SLSQP", + "CONMIN", + "PSQP", + "NLPQLP", + "NSGA2", + "ALPSO", + "ParOpt", +]