A shorthand for create_client with test vector as input. Vector must have 'protocol' and 'exec_option' dimension. Return a client of specified 'protocol' and with cofiguration 'exec_option' set.
(self, vector)
| 565 | return client |
| 566 | |
| 567 | def create_client_from_vector(self, vector): |
| 568 | """A shorthand for create_client with test vector as input. |
| 569 | Vector must have 'protocol' and 'exec_option' dimension. |
| 570 | Return a client of specified 'protocol' and with cofiguration 'exec_option' set.""" |
| 571 | client = self.create_client(protocol=vector.get_value('protocol')) |
| 572 | client.set_configuration(vector.get_exec_option_dict()) |
| 573 | return client |
| 574 | |
| 575 | |
| 576 | # Allows for interacting with the StateStore service to perform operations such as |