Consider moving away from using Traitlets for buildpacks
See original GitHub issueCurrently, we use traitlets heavily for constructing our buildpacks. This has become somewhat cumbersome and awkward to reason about now. Most of our code uses @default
and sortof makes the traitlets behave like methods. The ordering of composition is not entirely clear either…
We should perhaps just move to using normal classes + functions, with perhaps mixin styles if needed.
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Using Traitlets — traitlets 5.7.1 documentation - Read the Docs
In short, traitlets let the user define classes that have. Attributes (traits) with type checking and dynamically computed default values.
Read more >Attribute Error after installing v1.16.0 because pip is not ...
I pip installed the latest numpy and get the below error. The error goes away if I roll back to v1.15.4. The most...
Read more >Specify launch process
Build a multi-process app. For this example we will use the hello-processes buildpack from our samples repo so make sure you have it...
Read more >Team Compass
Suggestion to move to a traitlets-based config, but would mean everyone using old config would need to rewrite config. – Erik: If we...
Read more >Proceedings of the 17th Python in Science Conference
When considering the future of JupyterHub in higher data ... studies tend to focus on tasks other than HAR, leaving the ... URL:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds like there is consensus to move away from traitlets. I for one welcome our new
@property
overlords 😃 -> I think properties are a good fit as well as your suggestion of functions/classes.TRAITLETS ARE DEAD LONG LIVE TRAITLETS etc