wotpy.wot.form
Class that represents the form entities exposed by interactions.
Classes
|
Communication metadata where a service can be accessed by a client application. |
- class wotpy.wot.form.Form(interaction, protocol, form_dict=None, **kwargs)
Bases:
objectCommunication metadata where a service can be accessed by a client application.
- property form_dict
The Form dictionary of this Form.
- property 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.
- property interaction
Interaction that contains this Form.
- property protocol
Form protocol.