Comments (1)
The only way to fix this is to dynamically compile a setter function, but in order to preserve debug-ability we'll make that setter function simply wrap an inline, not dynamically compiled, function.
from python-autoclass.
Related Issues (20)
- Improve __init__.py HOT 1
- Wrong function name in validation error message of field setter
- `ValidationError` with latest `valid8`
- Travis tests: `ImportError: cannot import name minlens`
- Check that it works with pickle HOT 1
- Support `pyfields` as an alternate way to define attributes
- Improve default string representation in `@autodict`
- `@autorepr`
- `@autoclass` should support `autorepr` and automatically enable it when `autodict=False`
- independent `@autoeq`, supported in `@autoclass` and automatically activated when `autodict=False`
- Too many values to unpack error when pyfields is not installed
- autodict alternative generating a `to_dict()` or `as_dict()` method
- DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated
- universal wheel and pypandoc/pandoc useless dependency
- `autoclass` should remove private fields from the generated autodict representation by default HOT 1
- `autoclass` could provide an `autofields=True` to automatically apply autofields
- Can python-autoclass be used with dataclasses/datafiles? HOT 3
- KeyError: '@autodict generated dict view - args is a constructor parameter but is not a field (was the constructor called ?)' HOT 1
- set `autofields=True` by default when a class has no constructor HOT 1
- Python 3.8 AttributeError: 'function' object has no attribute 'im_func' 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 python-autoclass.