Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce decorators argument in module() #1368

Open
gogonzo opened this issue Oct 9, 2024 · 0 comments
Open

Introduce decorators argument in module() #1368

gogonzo opened this issue Oct 9, 2024 · 0 comments

Comments

@gogonzo
Copy link
Contributor

gogonzo commented Oct 9, 2024

Blocked by #1383

Add a decorators = list() argument to the module() function and pass decorators to the server_args and ui_args. Revisit the documentation of teal_transform_module and teal_data_module and focus that it is clear:

  • teal_data_module() is to create the teal_data during app run
  • teal_transform_module() is to modify data, they can be used in two ways:
    • transformers: to modify teal_module's data input
    • decorators: to modify teal_modules's output objects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant