From 0248f29dbc15161c7b7ae611a668fc59c074ca4d Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Tue, 23 Jul 2024 08:01:44 +0200 Subject: [PATCH] Added __all__ from direct_collocation and utils to package namespace. --- opty/__init__.py | 2 ++ opty/utils.py | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/opty/__init__.py b/opty/__init__.py index a1717ec..52aa711 100644 --- a/opty/__init__.py +++ b/opty/__init__.py @@ -1,3 +1,5 @@ #!/usr/bin/env python from .version import __version__ +from .direct_collocation import * +from .utils import * diff --git a/opty/utils.py b/opty/utils.py index 48ea41a..16afabd 100644 --- a/opty/utils.py +++ b/opty/utils.py @@ -29,6 +29,11 @@ import_kwargs={'fromlist': ['']}, catch=(RuntimeError,)) +__all__ = [ + 'parse_free', + 'create_objective_function', +] + def _forward_jacobian(expr, wrt):