Comments (2)
Did I already say I'd like name to be removed from Param?
That's a different issue. Maybe Parameterized
can be renamed to ParamObject
and its name handling code moved into a new subclass now named Parameterized
. That way downstream libraries can choose whether or not they wish their objects to have names, (e.g. from param import ParamObject as Parameterized
) making it easier to retain backwards compatibility while removing the special name handling in practice. Feel free to file a separate issue and/or PR!
Meanwhile, for this specific issue, I do agree the behavior is both surprising and wrong. The proposed fix seems better, but my brain starts to overheat if I try to think of whether it truly addresses the issue. I'd ask another Param developer like @philippjfr .
from param.
Maybe Parameterized can be renamed to ParamObject and its name handling code moved into a new subclass now named Parameterized.
Agreed, although not 100% aligned on the naming.
from param.
Related Issues (20)
- Initialization changes constant attribute. HOT 3
- Missing `param_help.png` in `User Guide/Parameters`
- Discussion about the intro video HOT 1
- Should methods on Parameterizeds be treated as references by default HOT 3
- Error on printing rx
- RX: output not updated when indexing a DataFrame with value_start/value_end HOT 1
- Small text issue in doc Getting Started
- Ability to specify multiple classes in class_ for ClassSelector parameter type needs to be documented
- Cannot use param.Parameterized inheritance when inheriting alongside abstract classes
- Getting a "'_thread.RLock'" object error when instantiating a LangChain model as a default object
- 2 tests fail
- Interaction between `param.rx` and `isinstance` HOT 3
- Better error message from rx for `len`
- Variable length Tuple HOT 1
- Add .set or .update method to reactive expression HOT 1
- Annotate commonly used param decorators
- Make ParameterizedFunction copy parameter references HOT 1
- Parameter Refs leave dangling Watchers that block garbage collection
- import param 2.1.1 tries to run git subprocess HOT 2
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.