mirror of
https://github.com/inventree/inventree-docs.git
synced 2025-04-28 05:36:46 +00:00
Update python.md
This commit is contained in:
parent
b5b8580bc1
commit
06c6b490fe
@ -109,7 +109,7 @@ couch = Part.create(api, {
|
||||
})
|
||||
```
|
||||
#### Adding parameters to the sofa
|
||||
Each part can have multiple parameters like resistance, voltage or capacitance. For the sofa length and weight make sense. Each parameter has a parameter template that combines the parameter name with a unit. So we first have to create the parameters and afterwards add the parameter values to the sofa.
|
||||
Each part can have multiple parameters like resistance, voltage or capacitance. For the sofa length and weight make sense. Each parameter has a parameter template that combines the parameter name with a unit. So we first have to create the parameter templates and afterwards add the parameter values to the sofa.
|
||||
|
||||
```python
|
||||
from inventree.base import Parameter
|
||||
|
Loading…
x
Reference in New Issue
Block a user