jwutils: Add missing types

Add types missing from the jwutils compatibility shim, because software using it complains:

from .Cmd import Cmd as Cmd from jw.util.ldap import Config as Config

This will probably not be the last time this happens.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-06-14 11:36:23 +02:00
commit d781cbfdd2
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ from .cast import cast_str_to_bool as cast_str_to_bool
from .cast import guess_type as guess_type
from .cast import from_str as from_str
from .cast import from_env as from_env
from .Cmd import Cmd as Cmd
from .Cmds import Cmds as Cmds
from .Cmds import run_sub_commands as run_sub_commands
from .Config import Config as Config

View file

@ -1,8 +1,10 @@
# ruff: noqa: E501
from jw.util.ldap import Config as Config
from jw.util.ldap import Connection as Connection
from jw.util.ldap import default_config as default_config
__all__ = [
"Connection",
"default_config",
"Config",
]