Questions regarding the refreshable annotation #2806
Unanswered
LarsEggimann
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @LarsEggimann, This problem has been discussed in issue #2174. The error you're referring to seemed to come from a pylint bug (see pylint-dev/pylint#9246). But even after upgrading to version >=3.0.4 the problem persists. So I actually don't know how to avoid it other than adding a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hello there!
I am using niceGUI for a project at uni and am using the @ui.refreshable annotation to re-render certain elements. In my app i use a setup similar to this:
now when i run this there are no errors, but my code editor (pylint on vs-code) gives the following error on the line
test.some_test.refresh()
:Method 'some_test' has no 'refresh' memberPylint[E1101:no-member](https://pylint.readthedocs.io/en/latest/user_guide/messages/error/no-member.html)
My question is: am using the niceGUI library wrong or is this an issue with pylint not recognizing the members correctly?
Maybe there is a much easier way to achieve this then I would also like to hear some suggestions.
thanks in advance for all the help.
Cheers,
Lars
Beta Was this translation helpful? Give feedback.
All reactions