def __init__(self): MetaProcessor.__init__( self, "%s/input_schema.json" % getScriptDir(__file__), ref_schema_directory = "%s/../../artefacts/schemas" % getScriptDir(__file__) ) self.apidiff = None
def __init__(self, input_schema = "%s/input_schema.json" % getScriptDir(__file__)): MetaProcessor.__init__( self, input_schema ) self.contentmetadataextractor = None self.resource = "" self.project = "" self.commit = ""
def __init__(self): MetaProcessor.__init__( self, "%s/input_schema.json" % getScriptDir(__file__) ) # received data self.specfile = "" self.distribution = "" self.product = "" self.package = "" # extracted data self.commit = "" self.project = "" self.ipprefix = "" self.lastupdated = ""
def _validateInput(self, data): if not MetaProcessor._validateInput(self, data): return False # projects must be the same if data["exported_api_1"]["project"] != data["exported_api_2"]["project"]: logging.error("goapidiff: project1 != project2") # TODO(jchaloup): throw exception? return False return True
def __init__(self, input_schema = "%s/input_schema.json" % getScriptDir(__file__)): MetaProcessor.__init__( self, input_schema ) """Setting implicit flags""" self.verbose = False self.skip_errors = True """set implicit output""" # project self.project = "" # commit self.commit = "" # ipprefix self.ipprefix = "" """set implicit states""" self.directory = "" self.gosymbolsextractor = None