mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-17 08:06:38 +02:00
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:
parent
b727f54d38
commit
d781cbfdd2
2 changed files with 3 additions and 0 deletions
|
|
@ -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 guess_type as guess_type
|
||||||
from .cast import from_str as from_str
|
from .cast import from_str as from_str
|
||||||
from .cast import from_env as from_env
|
from .cast import from_env as from_env
|
||||||
|
from .Cmd import Cmd as Cmd
|
||||||
from .Cmds import Cmds as Cmds
|
from .Cmds import Cmds as Cmds
|
||||||
from .Cmds import run_sub_commands as run_sub_commands
|
from .Cmds import run_sub_commands as run_sub_commands
|
||||||
from .Config import Config as Config
|
from .Config import Config as Config
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
# ruff: noqa: E501
|
# ruff: noqa: E501
|
||||||
|
from jw.util.ldap import Config as Config
|
||||||
from jw.util.ldap import Connection as Connection
|
from jw.util.ldap import Connection as Connection
|
||||||
from jw.util.ldap import default_config as default_config
|
from jw.util.ldap import default_config as default_config
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Connection",
|
"Connection",
|
||||||
"default_config",
|
"default_config",
|
||||||
|
"Config",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue