

def validate(self):
    "\n        Check a number of basic conditions that would indicate serious errors if\n        they do not hold. Subclasses may override this method for further\n        validation, but they should always call the super's method.\n        "
    spec_util.check_uuid(self.uuid)
    abstract_init = ('init-ed abstract bundle: %s' % (abstract_init.__class__.__name__,))
    precondition(self.BUNDLE_TYPE, abstract_init)
    type_mismatch = ('Mismatch: %s vs %s' % (self.bundle_type, self.BUNDLE_TYPE))
    precondition((self.bundle_type == self.BUNDLE_TYPE), type_mismatch)
    self.metadata.validate(self.METADATA_SPECS)
    for dep in self.dependencies:
        dep.validate()

dataset/ETHPy150Open codalab/codalab-cli/codalab/objects/bundle.py Bundle.validate/VarMisuse@27/123 `self`->`abstract_init`