Python package providing type hints for wsadmin Jython commands.
This speeds up the development of wsadmin Jython scripts inside an IDE since it provides intellisense on every method of the 5 main objects provided at runtime by the wsadmin:
AdminControlAdminConfigAdminAppAdminTaskHelp
-
List all module commands through intellisense:
-
Check parameter and return types, as well as a brief description of the command (using Google syntax):
-
Using
pip:pip install wsadmin-type-hints -
Using
poetry:poetry add wsadmin-type-hints --group dev
Use it like this:
try:
(AdminControl, AdminConfig, AdminApp, AdminTask, Help)
except NameError:
from wsadmin_type_hints import AdminControl, AdminConfig, AdminApp, AdminTask, Help
else:
print("AdminControl is already defined, i'm not needed here 😃")The try..except block is used to differentiate between the development and production environment.
This is an unofficial package created for speeding up the development process and is not in any way affiliated with IBM®. All trademarks and registered trademarks are the property of their respective company owners.
The code does not include any implementation detail, and includes only the informations (such as parameter numbers, types and descriptions) publicly available on the official Websphere Application Server® documentation.

