{"id":704,"date":"2020-11-24T10:41:00","date_gmt":"2020-11-24T02:41:00","guid":{"rendered":"https:\/\/opentrons.com.cn\/?p=704"},"modified":"2024-04-29T14:21:50","modified_gmt":"2024-04-29T06:21:50","slug":"everything-you-need-to-know-about-sunsetting-opentrons-python-protocol-api-version-1","status":"publish","type":"post","link":"https:\/\/opentrons.com.cn\/news\/everything-you-need-to-know-about-sunsetting-opentrons-python-protocol-api-version-1\/","title":{"rendered":"\u5173\u4e8e\u5e9f\u5f03 Opentrons Python \u534f\u8bae API \u7248\u672c 1 \u60a8\u9700\u8981\u4e86\u89e3\u7684\u4e00\u5207"},"content":{"rendered":"\n
\u5728\u6211\u4eec\u5373\u5c06\u53d1\u5e03\u7684 4.0.0 \u8f6f\u4ef6\u7248\u672c\u4ee5\u53ca\u672a\u6765\u7684\u7248\u672c\u4e2d\uff0cOpentrons \u5c06\u4e0d\u518d\u652f\u6301 Python \u534f\u8bae API \u7248\u672c 1 (APIv1)\u3002<\/p>\n\n\n\n
\u53bb\u5e74\uff0c\u6211\u4eec\u63a8\u51fa\u4e86 Opentrons Python \u534f\u8bae API (APIv2) \u7b2c 2 \u7248\uff0c\u8fd9\u662f\u5bf9 OT-2 \u6838\u5fc3\u64cd\u4f5c\u8f6f\u4ef6\u548c\u534f\u8bae\u7f16\u7a0b\u63a5\u53e3\u7684\u91cd\u5927\u66f4\u65b0\uff0c\u63d0\u9ad8\u4e86 Python API \u7528\u6237\u7684\u53ef\u9760\u6027\u548c\u6613\u7528\u6027\uff0c\u5305\u62ec\uff1a<\/p>\n\n\n\n
\u2014 \u5bf9\u5b9a\u4e49\u673a\u5668\u4eba\u3001\u6a21\u5757\u548c\u5b9e\u9a8c\u5ba4\u5668\u5177\u7684\u51e0\u4f55\u5f62\u72b6\u7684\u8f6f\u4ef6\u8fdb\u884c\u4e86\u91cd\u5927\u66f4\u65b0\uff0c\u786e\u4fdd\u534f\u8bae\u547d\u4ee4\u7684\u6267\u884c\u51c6\u786e\u4e14\u4e00\u81f4\u3002<\/p>\n\n\n\n
\u2014 \u7b80\u5316 OT-2 \u6545\u969c\u6392\u9664\uff0c\u4f7f\u652f\u6301\u56e2\u961f\u80fd\u591f\u66f4\u51c6\u786e\u5730\u8bca\u65ad\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n\n\n\n
\u2014 \u66f4\u65b0\u7684\u534f\u8bae\u7f16\u7a0b\u63a5\u53e3\u4f7f API \u66f4\u6613\u4e8e\u5b66\u4e60\u548c\u4f7f\u7528\u3002<\/p>\n\n\n\n
\u81ea APIv2 \u53d1\u5e03\u4ee5\u6765\uff0c\u6211\u4eec\u7ee7\u7eed\u5f00\u53d1\u5e76\u6dfb\u52a0\u4e86\u529f\u80fd\u548c\u9519\u8bef\u4fee\u590d\uff0c\u5305\u62ec 7 \u4e2a\u65b0\u7684 API \u5c0f\u7248\u672c\u3001\u5bf9\u65b0\u79fb\u6db2\u5668\u548c\u6a21\u5757\u7684\u652f\u6301\u3001\u5bf9\u8fd0\u52a8\u53c2\u6570\u548c\u79fb\u6db2\u5668\u901f\u5ea6\u7684\u66f4\u6539\u3002<\/p>\n\n\n\n
\u4f46\u662f\uff0c\u6211\u4eec\u4e0d\u518d\u80fd\u591f\u652f\u6301\u8fd9\u4e24\u4e2a API \u7248\u672c\uff0c\u5e76\u4e14\u6b63\u5728\u8fc1\u79fb\u6211\u4eec\u7684\u7cfb\u7edf\u4ee5\u652f\u6301 APIv2\u3002 \u867d\u7136\u6dd8\u6c70\u4ea7\u54c1\u603b\u662f\u5f88\u56f0\u96be\uff0c\u4f46\u8fd9\u6837\u505a\u5c06\u4f7f\u6211\u4eec\u80fd\u591f\u5c06\u7cbe\u529b\u96c6\u4e2d\u5728\u5355\u4e00\u5f3a\u5927\u3001\u53ef\u9760\u7684\u4ea7\u54c1\u4f53\u9a8c\u4e0a\u3002<\/p>\n\n\n\n
\u5982\u679c\u60a8\u5c1a\u672a\u4ece APIv1 \u66f4\u65b0\u5230 APIv2\uff1a<\/p>\n\n\n\n
\u4ece 4.0.0 \u5f00\u59cb\uff0cOT-2 \u8f6f\u4ef6\u5c06\u4e0d\u518d\u652f\u6301\u4f7f\u7528 APIv1 \u6784\u5efa\u7684\u534f\u8bae\u3002 \u60a8\u5c06\u7ee7\u7eed\u80fd\u591f\u4f7f\u7528 OT-2 \u7684\u5f53\u524d\u8f6f\u4ef6\u7248\u672c\u8fd0\u884c APIv1 \u534f\u8bae\u3002<\/p>\n\n\n\n
\u5982\u4f55\u5c06\u534f\u8bae\u4ece APIv1 \u66f4\u65b0\u5230 APIv2\uff1a<\/p>\n\n\n\n
\u4e3a\u4e86\u786e\u4fdd\u901a\u8fc7\u6b64\u66f4\u65b0\u4f7f\u7528 OT-2 \u83b7\u5f97\u6700\u4f73\u4f53\u9a8c\uff0c\u6211\u4eec\u5efa\u8bae\u5c3d\u5feb\u66f4\u65b0\u60a8\u7684 APIv1 \u534f\u8bae\u3002 \u5c31\u662f\u8fd9\u6837\uff1a<\/p>\n\n\n\n
\u5982\u679c\u60a8\u8fd8\u4e0d\u6253\u7b97\u66f4\u65b0\uff1a<\/p>\n\n\n\n
\u867d\u7136 Opentrons \u59cb\u7ec8\u5efa\u8bae\u4f7f\u7528\u53ef\u7528\u7684\u6700\u65b0\u8f6f\u4ef6\u7248\u672c\uff0c\u4f46\u5982\u679c\u60a8\u5c1a\u672a\u51c6\u5907\u597d\u66f4\u65b0\uff0c\u60a8\u53ef\u4ee5\u6291\u5236\u65b0 OT-2 \u8f6f\u4ef6\u548c Opentrons \u5e94\u7528\u7a0b\u5e8f\u7248\u672c\u7684\u901a\u77e5\u3002 \u4f46\u662f\uff0c\u4f7f\u7528\u8f83\u65e7\u7684\u8f6f\u4ef6\u7248\u672c\u610f\u5473\u7740\u5b83\u5c06\u4e0d\u518d\u63a5\u6536\u9519\u8bef\u4fee\u590d\uff0c\u5e76\u4e14\u60a8\u5728\u4f7f\u7528 OT-2 \u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u95ee\u9898\u3002
\u5f53\u60a8\u51c6\u5907\u597d\u66f4\u65b0\u65f6\uff0c\u5bfc\u822a\u5230 Opentrons \u5e94\u7528\u7a0b\u5e8f\u4e2d\u7684\u201c\u66f4\u591a\u201d\u9009\u9879\u5361\uff0c\u5b83\u5c06\u6307\u5bfc\u60a8\u5b8c\u6210\u5e94\u7528\u7a0b\u5e8f\u548c\u673a\u5668\u4eba\u8f6f\u4ef6\u7684\u66f4\u65b0\u3002<\/p>\n\n\n\n
\u9700\u8981\u989d\u5916\u5e2e\u52a9\u5417\uff1f \u8bf7\u901a\u8fc7 support@opentrons.com \u8054\u7cfb\u6211\u4eec\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u968f\u7740 4.0.0 \u8f6f\u4ef6\u7248\u672c\u7684\u53d1\u5e03\uff0cOpentrons \u5c06\u4e0d\u518d\u652f\u6301 Python \u534f\u8bae API \u7248\u672c 1\u3002\u4ee5\u4e0b\u662f […]<\/p>\n","protected":false},"author":3,"featured_media":705,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[40],"tags":[],"class_list":["post-704","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-updates"],"yoast_head":"\n