finish renaming type properties to type_. Fixes #7222
This commit is contained in:
parent
30d033c7c3
commit
1b870be4e7
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ class DataField(ExtendedNode):
|
|||
self.options = options
|
||||
|
||||
@nested_property
|
||||
def type():
|
||||
def type_():
|
||||
"""
|
||||
Type of field. Recognized values are: 'boolean', 'fixed', 'hidden',
|
||||
'jid-multi', 'jid-single', 'list-multi', 'list-single', 'text-multi',
|
||||
|
@ -598,7 +598,7 @@ class DataForm(ExtendedNode):
|
|||
self.instructions=instructions
|
||||
|
||||
@nested_property
|
||||
def type():
|
||||
def type_():
|
||||
"""
|
||||
Type of the form. Must be one of: 'form', 'submit', 'cancel', 'result'.
|
||||
'form' - this form is to be filled in; you will be able soon to do:
|
||||
|
|
Loading…
Add table
Reference in a new issue