{"id":962016,"date":"2024-12-27T04:04:20","date_gmt":"2024-12-26T20:04:20","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/962016.html"},"modified":"2024-12-27T04:04:22","modified_gmt":"2024-12-26T20:04:22","slug":"%e5%a6%82%e4%bd%95%e8%8e%b7%e5%8f%96%e7%ba%bf%e7%a8%8b%e5%90%8d%e5%ad%97python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/962016.html","title":{"rendered":"\u5982\u4f55\u83b7\u53d6\u7ebf\u7a0b\u540d\u5b57python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25104107\/8fee95cd-4155-420e-820a-800d0e1eea63.webp\" alt=\"\u5982\u4f55\u83b7\u53d6\u7ebf\u7a0b\u540d\u5b57python\" \/><\/p>\n<p><p> \u83b7\u53d6\u7ebf\u7a0b\u540d\u5b57\u662fPython\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e2d\u4e00\u4e2a\u5e38\u89c1\u9700\u6c42\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>threading<\/code>\u6a21\u5757\u8f7b\u677e\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002<strong>\u4f7f\u7528<code>threading.current_thread().name<\/code>\u53ef\u4ee5\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u7684\u540d\u5b57<\/strong>\u3001<strong>\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u7ebf\u7a0b\u540d<\/strong>\u3001<strong>\u901a\u8fc7<code>threading.enumerate()<\/code>\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57<\/strong>\u3002\u4e0b\u9762\uff0c\u6211\u5c06\u8be6\u7ec6\u5c55\u5f00\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>threading.current_thread().name<\/code>\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u540d\u5b57<\/p>\n<\/p>\n<p><p>\u5728Python\u7684<code>threading<\/code>\u6a21\u5757\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>threading.current_thread().name<\/code>\u6765\u83b7\u53d6\u5f53\u524d\u6b63\u5728\u6267\u884c\u7684\u7ebf\u7a0b\u7684\u540d\u5b57\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4e3b\u7ebf\u7a0b\u7684\u540d\u5b57\u662f\u201cM<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>nThread\u201d\uff0c\u800c\u5176\u4ed6\u7ebf\u7a0b\u7684\u540d\u5b57\u662f\u4ee5\u201cThread-\u201d\u5f00\u5934\u7684\u81ea\u52a8\u751f\u6210\u540d\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import threading<\/p>\n<p>def print_thread_name():<\/p>\n<p>    print(f&quot;Current thread name: {threading.current_thread().name}&quot;)<\/p>\n<h2><strong>\u521b\u5efa\u5e76\u542f\u52a8\u7ebf\u7a0b<\/strong><\/h2>\n<p>thread = threading.Thread(target=print_thread_name)<\/p>\n<p>thread.start()<\/p>\n<p>thread.join()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u7ebf\u7a0b\uff0c\u8be5\u7ebf\u7a0b\u4f1a\u6253\u5370\u5176\u540d\u5b57\u3002\u901a\u8fc7<code>threading.current_thread().name<\/code>\uff0c\u6211\u4eec\u80fd\u591f\u83b7\u53d6\u5e76\u6253\u5370\u7ebf\u7a0b\u7684\u540d\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u7ebf\u7a0b\u540d<\/p>\n<\/p>\n<p><p>\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>name<\/code>\u53c2\u6570\u6765\u4e3a\u7ebf\u7a0b\u6307\u5b9a\u4e00\u4e2a\u81ea\u5b9a\u4e49\u7684\u540d\u5b57\u3002\u8fd9\u5728\u8c03\u8bd5\u6216\u65e5\u5fd7\u8bb0\u5f55\u65f6\u7279\u522b\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u80fd\u5e2e\u52a9\u6211\u4eec\u66f4\u5bb9\u6613\u5730\u8bc6\u522b\u7ebf\u7a0b\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import threading<\/p>\n<p>def print_custom_thread_name():<\/p>\n<p>    print(f&quot;Custom thread name: {threading.current_thread().name}&quot;)<\/p>\n<h2><strong>\u521b\u5efa\u5e76\u542f\u52a8\u7ebf\u7a0b\uff0c\u6307\u5b9a\u81ea\u5b9a\u4e49\u540d\u5b57<\/strong><\/h2>\n<p>custom_thread = threading.Thread(target=print_custom_thread_name, name=&quot;CustomThread&quot;)<\/p>\n<p>custom_thread.start()<\/p>\n<p>custom_thread.join()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a\u201cCustomThread\u201d\u7684\u7ebf\u7a0b\u3002\u901a\u8fc7\u8bbe\u7f6e<code>name<\/code>\u53c2\u6570\uff0c\u6211\u4eec\u80fd\u591f\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\u76f4\u63a5\u6307\u5b9a\u5176\u540d\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u901a\u8fc7<code>threading.enumerate()<\/code>\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57<\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5217\u51fa\u6240\u6709\u5f53\u524d\u6d3b\u52a8\u7684\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57\u3002\u8fd9\u53ef\u4ee5\u901a\u8fc7<code>threading.enumerate()<\/code>\u6765\u5b9e\u73b0\uff0c\u8be5\u65b9\u6cd5\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u7684\u5217\u8868\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import threading<\/p>\n<p>import time<\/p>\n<p>def worker():<\/p>\n<p>    time.sleep(1)<\/p>\n<h2><strong>\u521b\u5efa\u5e76\u542f\u52a8\u591a\u4e2a\u7ebf\u7a0b<\/strong><\/h2>\n<p>threads = []<\/p>\n<p>for i in range(3):<\/p>\n<p>    thread = threading.Thread(target=worker, name=f&quot;Worker-{i}&quot;)<\/p>\n<p>    threads.append(thread)<\/p>\n<p>    thread.start()<\/p>\n<h2><strong>\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57<\/strong><\/h2>\n<p>for thread in threading.enumerate():<\/p>\n<p>    print(f&quot;Active thread name: {thread.name}&quot;)<\/p>\n<h2><strong>\u7b49\u5f85\u6240\u6709\u7ebf\u7a0b\u5b8c\u6210<\/strong><\/h2>\n<p>for thread in threads:<\/p>\n<p>    thread.join()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u5e76\u542f\u52a8\u4e86\u4e09\u4e2a\u7ebf\u7a0b\uff0c\u5e76\u5c06\u5b83\u4eec\u7684\u540d\u5b57\u547d\u540d\u4e3a\u201cWorker-0\u201d\u3001\u201cWorker-1\u201d\u548c\u201cWorker-2\u201d\u3002\u7136\u540e\uff0c\u6211\u4eec\u4f7f\u7528<code>threading.enumerate()<\/code>\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7ebf\u7a0b\u540d\u5b57\u7684\u4f5c\u7528\u548c\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<p><p>\u7ebf\u7a0b\u540d\u5b57\u5728\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e2d\u5177\u6709\u591a\u79cd\u91cd\u8981\u7684\u5e94\u7528\u573a\u666f\uff0c\u7279\u522b\u662f\u5728\u590d\u6742\u7684\u591a\u7ebf\u7a0b\u5e94\u7528\u4e2d\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u8c03\u8bd5\u548c\u65e5\u5fd7\u8bb0\u5f55<\/strong>\uff1a<\/p>\n<p>\u4e3a\u7ebf\u7a0b\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u540d\u5b57\u6709\u52a9\u4e8e\u5728\u8c03\u8bd5\u548c\u65e5\u5fd7\u8bb0\u5f55\u65f6\u66f4\u597d\u5730\u8ddf\u8e2a\u7ebf\u7a0b\u7684\u6267\u884c\u6d41\u7a0b\u3002\u901a\u8fc7\u67e5\u770b\u7ebf\u7a0b\u540d\u5b57\uff0c\u5f00\u53d1\u4eba\u5458\u80fd\u591f\u5feb\u901f\u8bc6\u522b\u54ea\u4e2a\u7ebf\u7a0b\u6267\u884c\u4e86\u7279\u5b9a\u7684\u64cd\u4f5c\u6216\u9047\u5230\u4e86\u95ee\u9898\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7ebf\u7a0b\u7ba1\u7406<\/strong>\uff1a<\/p>\n<p>\u5728\u67d0\u4e9b\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u52a8\u6001\u521b\u5efa\u548c\u9500\u6bc1\u7ebf\u7a0b\u3002\u901a\u8fc7\u4e3a\u7ebf\u7a0b\u547d\u540d\uff0c\u53ef\u4ee5\u66f4\u6e05\u695a\u5730\u7ba1\u7406\u8fd9\u4e9b\u7ebf\u7a0b\uff0c\u4f8b\u5982\u5728\u505c\u6b62\u6216\u91cd\u65b0\u542f\u52a8\u7ebf\u7a0b\u65f6\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5e76\u53d1\u63a7\u5236<\/strong>\uff1a<\/p>\n<p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5bf9\u7279\u5b9a\u7ebf\u7a0b\u8fdb\u884c\u4f18\u5148\u7ea7\u8bbe\u7f6e\u6216\u8d44\u6e90\u5206\u914d\u3002\u901a\u8fc7\u7ebf\u7a0b\u540d\u5b57\uff0c\u53ef\u4ee5\u8f7b\u677e\u8bc6\u522b\u9700\u8981\u7279\u522b\u5904\u7406\u7684\u7ebf\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u7ebf\u7a0b\u540d\u5b57\u7684\u6700\u4f73\u5b9e\u8df5<\/p>\n<\/p>\n<p><p>\u5728\u4e3a\u7ebf\u7a0b\u547d\u540d\u65f6\uff0c\u6709\u4e00\u4e9b\u6700\u4f73\u5b9e\u8df5\u53ef\u4ee5\u9075\u5faa\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7ba1\u7406\u548c\u4f7f\u7528\u7ebf\u7a0b\u540d\u5b57\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528\u6709\u610f\u4e49\u7684\u540d\u5b57<\/strong>\uff1a<\/p>\n<p>\u9009\u62e9\u80fd\u591f\u63cf\u8ff0\u7ebf\u7a0b\u529f\u80fd\u7684\u540d\u5b57\uff0c\u800c\u4e0d\u662f\u4f7f\u7528\u9ed8\u8ba4\u7684\u81ea\u52a8\u751f\u6210\u540d\u5b57\u3002\u8fd9\u6709\u52a9\u4e8e\u5728\u4ee3\u7801\u4e2d\u5feb\u901f\u8bc6\u522b\u7ebf\u7a0b\u7684\u7528\u9014\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u6301\u540d\u5b57\u7684\u4e00\u81f4\u6027<\/strong>\uff1a<\/p>\n<p>\u5728\u6574\u4e2a\u5e94\u7528\u4e2d\u4f7f\u7528\u4e00\u81f4\u7684\u547d\u540d\u7ea6\u5b9a\uff0c\u4ee5\u4fbf\u66f4\u5bb9\u6613\u7ef4\u62a4\u548c\u7406\u89e3\u4ee3\u7801\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u201cWorker-\u201d\u524d\u7f00\u6765\u8868\u793a\u5de5\u4f5c\u7ebf\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u907f\u514d\u540d\u5b57\u51b2\u7a81<\/strong>\uff1a<\/p>\n<p>\u786e\u4fdd\u6bcf\u4e2a\u7ebf\u7a0b\u62e5\u6709\u552f\u4e00\u7684\u540d\u5b57\uff0c\u4ee5\u907f\u514d\u5728\u65e5\u5fd7\u8bb0\u5f55\u6216\u8c03\u8bd5\u65f6\u6df7\u6dc6\u4e0d\u540c\u7ebf\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u83b7\u53d6\u7ebf\u7a0b\u540d\u5b57\u662fPython\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e2d\u7684\u4e00\u4e2a\u57fa\u672c\u64cd\u4f5c\uff0c\u901a\u8fc7<code>threading<\/code>\u6a21\u5757\u4e2d\u7684\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u548c\u8bbe\u7f6e\u7ebf\u7a0b\u540d\u5b57\u3002<strong>\u4f7f\u7528<code>threading.current_thread().name<\/code>\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u540d\u5b57<\/strong>\u3001<strong>\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\u8bbe\u7f6e\u81ea\u5b9a\u4e49\u7ebf\u7a0b\u540d<\/strong>\u3001<strong>\u901a\u8fc7<code>threading.enumerate()<\/code>\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u53ca\u5176\u540d\u5b57<\/strong>\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u5728\u8c03\u8bd5\u3001\u65e5\u5fd7\u8bb0\u5f55\u3001\u7ebf\u7a0b\u7ba1\u7406\u548c\u5e76\u53d1\u63a7\u5236\u4e2d\u90fd\u5177\u6709\u91cd\u8981\u4f5c\u7528\u3002\u901a\u8fc7\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u7ba1\u7406\u591a\u7ebf\u7a0b\u5e94\u7528\u4e2d\u7684\u7ebf\u7a0b\u540d\u5b57\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u67e5\u770b\u5f53\u524d\u7ebf\u7a0b\u7684\u540d\u79f0\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>threading<\/code>\u6a21\u5757\u6765\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u7684\u540d\u79f0\u3002\u901a\u8fc7\u8c03\u7528<code>threading.current_thread().name<\/code>\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u5f53\u524d\u7ebf\u7a0b\u7684\u540d\u79f0\u3002\u8fd9\u5bf9\u4e8e\u8c03\u8bd5\u548c\u65e5\u5fd7\u8bb0\u5f55\u975e\u5e38\u6709\u7528\uff0c\u56e0\u4e3a\u5b83\u5e2e\u52a9\u5f00\u53d1\u8005\u8bc6\u522b\u4e0d\u540c\u7684\u7ebf\u7a0b\u3002<\/p>\n<p><strong>\u53ef\u4ee5\u4e3a\u7ebf\u7a0b\u81ea\u5b9a\u4e49\u540d\u79f0\u5417\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u60a8\u53ef\u4ee5\u5728\u521b\u5efa\u7ebf\u7a0b\u65f6\u4e3a\u5176\u6307\u5b9a\u4e00\u4e2a\u540d\u79f0\u3002\u5728\u521b\u5efa<code>Thread<\/code>\u5bf9\u8c61\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>name<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u3002\u4f8b\u5982\uff0c<code>threading.Thread(target=my_function, name=&#39;MyThread&#39;)<\/code>\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&quot;MyThread&quot;\u7684\u7ebf\u7a0b\u3002\u5982\u679c\u4e0d\u6307\u5b9a\u540d\u79f0\uff0cPython\u4f1a\u81ea\u52a8\u5206\u914d\u4e00\u4e2a\u552f\u4e00\u540d\u79f0\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u7684\u540d\u79f0\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7<code>threading.enumerate()<\/code>\u51fd\u6570\u5217\u51fa\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\uff0c\u5305\u62ec\u4e3b\u7ebf\u7a0b\u548c\u5176\u4ed6\u7ebf\u7a0b\u3002\u8c03\u7528\u6b64\u51fd\u6570\u5c06\u8fd4\u56de\u4e00\u4e2a\u7ebf\u7a0b\u5bf9\u8c61\u7684\u5217\u8868\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u904d\u5386\u8fd9\u4e2a\u5217\u8868\u6765\u83b7\u53d6\u6bcf\u4e2a\u7ebf\u7a0b\u7684\u540d\u79f0\u3002\u8fd9\u5728\u591a\u7ebf\u7a0b\u5e94\u7528\u4e2d\u975e\u5e38\u6709\u7528\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u76d1\u63a7\u6240\u6709\u6d3b\u52a8\u7ebf\u7a0b\u7684\u72b6\u6001\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u83b7\u53d6\u7ebf\u7a0b\u540d\u5b57\u662fPython\u591a\u7ebf\u7a0b\u7f16\u7a0b\u4e2d\u4e00\u4e2a\u5e38\u89c1\u9700\u6c42\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528threading\u6a21\u5757\u8f7b\u677e\u5b9e [&hellip;]","protected":false},"author":3,"featured_media":962019,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/962016"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=962016"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/962016\/revisions"}],"predecessor-version":[{"id":962021,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/962016\/revisions\/962021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/962019"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=962016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=962016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=962016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}