Add unittest for Attr/Tag.batch_add, clarify docstrings. Resolves #2125
This commit is contained in:
parent
08190a7ff4
commit
f615886d24
4 changed files with 32 additions and 5 deletions
|
|
@ -593,8 +593,9 @@ class AttributeHandler(object):
|
|||
repeat-calling add when having many Attributes to add.
|
||||
|
||||
Args:
|
||||
indata (list): List of tuples of varying length representing the
|
||||
Attribute to add to this object. Supported tuples are
|
||||
*args (tuple): Each argument should be a tuples (can be of varying
|
||||
length) representing the Attribute to add to this object.
|
||||
Supported tuples are
|
||||
- `(key, value)`
|
||||
- `(key, value, category)`
|
||||
- `(key, value, category, lockstring)`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue