src/orion/core/cli/checks/operations.py
def check_read(self):
        """Check if database supports read operation."""
        database = self.c_stage.instance

        try:
            result = database.read("test", {"index": "value"})
        except Exception as ex:
            raise CheckError(str(ex))

        if not len(result):
            raise CheckError("Expected 'value', received nothing.")

        return "Success", ""
Check if database supports read operation.
Check if database supports read operation.
Check if database supports read operation .
def check_read(self):
        database = self.c_stage.instance
        try:
            result = database.read("test", {"index": "value"})
        except Exception as ex:
            raise CheckError(str(ex))
        if not len(result):
            raise CheckError("Expected 'value', received nothing.")
        return "Success", ""
def check_read ( self ) : database = self . c_stage . instance try : result = database . read ( "test" , { "index" : "value" } ) except Exception as ex : raise CheckError ( str ( ex ) ) if not len ( result ) : raise CheckError ( "Expected 'value', received nothing." ) return "Success" , ""
Check if database supports read operation.
Check if database supports read operation .
"""Check if database supports read operation."""
self