def configure(self, sbi_config: str):
        """Configure an SBI for this subarray.

        Args:
            sbi_config (str): SBI configuration JSON

        Returns:
            str,

        """
        # print(sbi_config)
        config_dict = json.loads(sbi_config)
        self.debug_stream('SBI configuration:\n%s',
                          json.dumps(config_dict, indent=2))
        try:
            sbi = Subarray(self.get_name()).configure_sbi(config_dict)
        except jsonschema.exceptions.ValidationError as error:
            return json.dumps(dict(path=error.absolute_path.__str__(),
                                   schema_path=error.schema_path.__str__(),
                                   message=error.message), indent=2)
        except RuntimeError as error:
            return json.dumps(dict(error=str(error)), indent=2)
        return 'Accepted SBI: {}'.format(sbi.id)
def configure ( self , sbi_config : str ) : config_dict = json . loads ( sbi_config ) self . debug_stream ( 'SBI configuration:\n%s' , json . dumps ( config_dict , indent = 2 ) ) try : sbi = Subarray ( self . get_name ( ) ) . configure_sbi ( config_dict ) except jsonschema . exceptions . ValidationError as error : return json . dumps ( dict ( path = error . absolute_path . __str__ ( ) , schema_path = error . schema_path . __str__ ( ) , message = error . message ) , indent = 2 ) except RuntimeError as error : return json . dumps ( dict ( error = str ( error ) ) , indent = 2 ) return 'Accepted SBI: {}' . format ( sbi . id )
Configure an SBI for this subarray.

        Args:
            sbi_config (str): SBI configuration JSON

        Returns:
            str,