def check(polyaxonfile, version, params): """Check a polyaxonfile.""" specification = check_polyaxonfile(polyaxonfile, params=params) if version: Printer.decorate_format_value("The version is: {}", specification.version, "yellow") return specification
def check(polyaxonfile, python_module, version, params, lint): """Check a polyaxonfile.""" specification = check_polyaxonfile( polyaxonfile=polyaxonfile, python_module=python_module, params=params, validate_params=not lint, ) if version: Printer.decorate_format_value("The version is: {}", specification.version, "yellow") return specification