Python Node Development - LocalPathParameter

Hello KNIMErs!

I wanted to try out the knime.extension.LocalPathParameter (as described here: LocalPathParameter - KNIME API - but quickly found out that I cannot use this parameter.

Whenever I try to implement this parameter in my (correctly set-up IDE), it does not suggest it. So I cannot create this parameter.

I would like to use this parameter to let the user select a file/folder…

Is this parameter not available because the UI is not yet adapted to the new style or do I need to install another “extension” in my enviroment?

Thank you!

Interesting. I checked the knext module and indeed it seems that the LocalPathParameter is not (yet?!) included:

There’s also the MultilineStringParameter defined, which seems to be missing in the documentation…

1 Like

There seems to be no update for this parameter as of yet.
@knime do you plan to make this parameter “available”?

Kind regards Ricci! :slight_smile:

Hello,

I can see the parameter implemented.
image

I set up a new environment with version 5.3 packages and knime.extension has the implementation of it.

The conda command for the new environment:

conda create -n my_python_env python=3.11 knime-python-base=5.3 knime-extension=5.3 -c knime -c conda-forge

Best,
Ali

3 Likes

Thank you @aliasghar_marvi.
My old environment was still on knime-version 5.2.
With 5.3 it works fine!

Kind regards :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.