A decorator to set some attribute to a function.
Project description
# attributetools
A decorator to set some attribute to a function
## install
pip install git+https://github.com/paulo-romano/attributetools.git
## usage
```python
from attributetools import attribute
@attribute(short_description='Mark me as paid')
def doitfunc(request, queryset):
pass
```
A decorator to set some attribute to a function
## install
pip install git+https://github.com/paulo-romano/attributetools.git
## usage
```python
from attributetools import attribute
@attribute(short_description='Mark me as paid')
def doitfunc(request, queryset):
pass
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
attributetools-0.1.3.tar.gz
(1.4 kB
view hashes)