wotpy.wot.form¶
Class that represents the form entities exposed by interactions.
Classes
Form (interaction, protocol[, form_dict]) |
Communication metadata where a service can be accessed by a client application. |
-
class
wotpy.wot.form.
Form
(interaction, protocol, form_dict=None, **kwargs)¶ Bases:
object
Communication metadata where a service can be accessed by a client application.
-
form_dict
¶ The Form dictionary of this Form.
-
id
¶ Returns the ID of this Form. The ID is a hash that is based on the Form attributes. No two Forms with the same ID may exist within the same Interaction. The ID of a Form could change during its lifetime if some attributes are updated.
-
interaction
¶ Interaction that contains this Form.
-
protocol
¶ Form protocol.
-