Comments (2)
I don't think it should even be difficult
Famous last words! :)
What you're asking for has been merged today after Philipp's review #740, not relying on sentinel support as name
is treated way too specially.
from param.
I think it's more urgent to make .name behave normally than to remove it. Right now it behaves weirdly (#644), but I think we should be able to make it so that if someone overrides it with their own parameter it works as normal. Now that sentinel support is implemented I don't think it should even be difficult. Param itself shouldn't care about name
per se, and then anything that builds on it and depends on the current behavior should work, but if people want name
to be just a normal Parameter that should also work.
We could also separately support declaring that there shouldn't be a name
parameter created at all, configurable at runtime, but that's more likely to have implications. We'd probably want to have .name
still supply something in that case even if there is no name
parameter that shows up in listings. Could be tricky, but probably better than fixing every instance of .name
in all codebases.
from param.
Related Issues (20)
- `allow_None` not enforced when set to `False` and the default value is `None` HOT 1
- Suggestions to improve the reactive expression guide
- 2.0.0rc6 - param.ListSelector Issue HOT 7
- In Windows, `import param` pops up a command line window HOT 3
- A “doc” directory is installed directly in site-packages
- Speed up load with 2% by improving _register_watcher HOT 3
- Speed up derived applications like Panel by speeding up Path Parameter
- Make it easy to use Traitlets including Ipywidgets/ AnyWidgets with Param HOT 1
- param.A + param.B = Param.C, how to express this relationship beween parameters ? HOT 2
- 'import param' fails: ImportError: cannot import name '__version__' from 'param._version' (/usr/local/lib/python3.9/site-packages/param/_version.py) HOT 13
- Add a `metadata` slot
- Cannot change instance attributes with a Callable without passing in parameterized class HOT 3
- Define Comparator equality functions for more types HOT 1
- DeprecationWarning in test_reactive_logic_unary_ops HOT 1
- Default range of param.Range fails to update using self.param.<parameter>.default assignment HOT 4
- Ability to apply @param.depends to all (nested) Parameters of a class HOT 1
- Param with bounds should default to lower bound HOT 7
- Add .is_active parameter to reactive expressions HOT 3
- Let reactive expressions .watch method support async functions
- Context manager .param.update should restore references
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from param.