UNPKG

@gracexwho/model-card-generator

Version:

Tool for generating model cards for Jupyter Notebook.

31 lines 1.21 kB
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TestCell = void 0; var TestCell = /** @class */ (function () { function TestCell(text, executionCount, executionEventId, persistentId, hasError) { if (hasError === void 0) { hasError = false; } this.text = text; this.executionCount = executionCount; this.hasError = hasError; this.executionEventId = executionEventId || genid(); this.persistentId = persistentId || genid(); } TestCell.prototype.deepCopy = function () { return this; }; // not used for testing return TestCell; }()); exports.TestCell = TestCell; var ID = 0; function genid() { return 'id' + (ID++); } }); //# sourceMappingURL=testcell.js.map