Skip to content

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Aug 20, 2025

Add @callback(..., hidden=True) to hide the callback from the devtools.

@@ -64,7 +64,7 @@ def _invoke_callback(func, *args, **kwargs): # used to mark the frame for the d
GLOBAL_INLINE_SCRIPTS = []


# pylint: disable=too-many-locals
# pylint: disable=too-many-locals,too-many-arguments
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need to suppress "too many arguments"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is set at max 12 that was reached by this function.

@T4rk1n T4rk1n merged commit 36c7171 into dev Aug 21, 2025
12 checks passed
@T4rk1n T4rk1n deleted the hidden-callbacks branch August 21, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants