{"id":975944,"date":"2024-12-27T06:17:31","date_gmt":"2024-12-26T22:17:31","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/975944.html"},"modified":"2024-12-27T06:17:34","modified_gmt":"2024-12-26T22:17:34","slug":"pycharm%e5%a6%82%e4%bd%95%e7%bb%a7%e6%89%bfpython%e6%8e%a5%e5%8f%a3","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/975944.html","title":{"rendered":"pycharm\u5982\u4f55\u7ee7\u627fpython\u63a5\u53e3"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24200943\/973160e5-df71-4cf5-988c-9a272b594c02.webp\" alt=\"pycharm\u5982\u4f55\u7ee7\u627fpython\u63a5\u53e3\" \/><\/p>\n<p><p> <strong>\u5728PyCharm\u4e2d\u7ee7\u627fPython\u63a5\u53e3\u4e3b\u8981\u6d89\u53ca\u7406\u89e3\u5e76\u4f7f\u7528Python\u7684\u62bd\u8c61\u57fa\u7c7b\uff08ABC\u6a21\u5757\uff09\u3001\u5b9a\u4e49\u63a5\u53e3\u7c7b\u3001\u5b9e\u73b0\u63a5\u53e3\u7c7b\u3001\u4f7f\u7528\u7c7b\u578b\u63d0\u793a\u6765\u589e\u5f3a\u4ee3\u7801\u53ef\u8bfb\u6027\u3002<\/strong>Python\u672c\u8eab\u5e76\u6ca1\u6709\u50cfJava\u4e00\u6837\u7684\u63a5\u53e3\u6982\u5ff5\uff0c\u4f46\u901a\u8fc7\u62bd\u8c61\u57fa\u7c7b\uff08ABC\u6a21\u5757\uff09\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u7c7b\u4f3c\u63a5\u53e3\u7684\u884c\u4e3a\u3002\u4ee5\u4e0b\u662f\u5177\u4f53\u7684\u5b9e\u73b0\u6b65\u9aa4\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u7406\u89e3Python\u7684\u63a5\u53e3\u4e0e\u62bd\u8c61\u57fa\u7c7b<\/p>\n<\/p>\n<p><p>Python\u5e76\u4e0d\u50cfJava\u6216C#\u90a3\u6837\u6709\u660e\u786e\u7684\u63a5\u53e3\u5b9a\u4e49\uff0c\u4f46\u662fPython\u7684\u62bd\u8c61\u57fa\u7c7b\uff08Abstract Base Classes\uff0cABC\uff09\u5141\u8bb8\u6211\u4eec\u521b\u5efa\u7c7b\u4f3c\u63a5\u53e3\u7684\u7ed3\u6784\u3002\u62bd\u8c61\u57fa\u7c7b\u662fPython <code>abc<\/code> \u6a21\u5757\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u901a\u8fc7\u5b9a\u4e49\u62bd\u8c61\u65b9\u6cd5\u6765\u786e\u4fdd\u5b50\u7c7b\u5b9e\u73b0\u7279\u5b9a\u7684\u65b9\u6cd5\u3002\u8fd9\u79cd\u65b9\u6cd5\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u5728\u8bbe\u8ba1\u7c7b\u65f6\u4f7f\u7528\u63a5\u53e3\u7f16\u7a0b\u7684\u8303\u5f0f\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u62bd\u8c61\u57fa\u7c7b\u7684\u5b9a\u4e49<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u62bd\u8c61\u57fa\u7c7b\u662f\u901a\u8fc7\u7ee7\u627f<code>abc.ABC<\/code>\u7c7b\u6765\u5b9e\u73b0\u7684\u3002\u5728\u8fd9\u4e2a\u57fa\u7c7b\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5b9a\u4e49\u62bd\u8c61\u65b9\u6cd5\uff0c\u8981\u6c42\u4efb\u4f55\u7ee7\u627f\u6b64\u7c7b\u7684\u5b50\u7c7b\u5fc5\u987b\u5b9e\u73b0\u8fd9\u4e9b\u65b9\u6cd5\u3002\u4f7f\u7528<code>@abstractmethod<\/code>\u88c5\u9970\u5668\u6765\u6807\u8bb0\u8fd9\u4e9b\u62bd\u8c61\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from abc import ABC, abstractmethod<\/p>\n<p>class MyInterface(ABC):<\/p>\n<p>    @abstractmethod<\/p>\n<p>    def my_method(self):<\/p>\n<p>        pass<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9e\u73b0\u62bd\u8c61\u57fa\u7c7b<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u65e6\u5b9a\u4e49\u4e86\u63a5\u53e3\uff08\u62bd\u8c61\u57fa\u7c7b\uff09\uff0c\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u5b50\u7c7b\u6765\u5b9e\u73b0\u5b83\u3002\u5b50\u7c7b\u5fc5\u987b\u5b9e\u73b0\u6240\u6709\u62bd\u8c61\u65b9\u6cd5\uff0c\u5426\u5219\u65e0\u6cd5\u5b9e\u4f8b\u5316\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class MyClass(MyInterface):<\/p>\n<p>    def my_method(self):<\/p>\n<p>        print(&quot;This is the implementation of my_method.&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u5728PyCharm\u4e2d\u4f7f\u7528\u63a5\u53e3<\/p>\n<\/p>\n<p><p>PyCharm\u662f\u4e00\u4e2a\u5f3a\u5927\u7684IDE\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7ba1\u7406\u548c\u7ec4\u7ec7\u4ee3\u7801\u3002\u5f53\u6211\u4eec\u5728PyCharm\u4e2d\u4f7f\u7528\u63a5\u53e3\u65f6\uff0c\u53ef\u4ee5\u5229\u7528\u5176\u5f3a\u5927\u7684\u4ee3\u7801\u68c0\u67e5\u548c\u63d0\u793a\u529f\u80fd\u6765\u786e\u4fdd\u6211\u4eec\u6b63\u786e\u5730\u5b9e\u73b0\u63a5\u53e3\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u521b\u5efa\u63a5\u53e3\u7c7b<\/strong><\/p>\n<\/p>\n<p><p>\u5728PyCharm\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Python\u6587\u4ef6\uff0c\u5e76\u5b9a\u4e49\u4f60\u7684\u63a5\u53e3\u7c7b\u3002\u786e\u4fdd\u5bfc\u5165<code>abc<\/code>\u6a21\u5757\uff0c\u5e76\u6b63\u786e\u4f7f\u7528<code>ABC<\/code>\u548c<code>@abstractmethod<\/code>\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from abc import ABC, abstractmethod<\/p>\n<p>class Animal(ABC):<\/p>\n<p>    @abstractmethod<\/p>\n<p>    def speak(self):<\/p>\n<p>        pass<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5b9e\u73b0\u63a5\u53e3<\/strong><\/p>\n<\/p>\n<p><p>\u521b\u5efa\u53e6\u4e00\u4e2aPython\u6587\u4ef6\u6216\u5728\u540c\u4e00\u4e2a\u6587\u4ef6\u4e2d\u5b9a\u4e49\u7ee7\u627f\u63a5\u53e3\u7684\u7c7b\u3002\u5b9e\u73b0\u6240\u6709\u7684\u62bd\u8c61\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class Dog(Animal):<\/p>\n<p>    def speak(self):<\/p>\n<p>        return &quot;Woof!&quot;<\/p>\n<p>class Cat(Animal):<\/p>\n<p>    def speak(self):<\/p>\n<p>        return &quot;Meow!&quot;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u7c7b\u578b\u63d0\u793a<\/strong><\/p>\n<\/p>\n<p><p>\u867d\u7136Python\u662f\u52a8\u6001\u7c7b\u578b\u8bed\u8a00\uff0c\u4f46\u4f7f\u7528\u7c7b\u578b\u63d0\u793a\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u6e05\u6670\u5730\u4e86\u89e3\u53d8\u91cf\u7684\u9884\u671f\u7c7b\u578b\u3002PyCharm\u4f1a\u5229\u7528\u8fd9\u4e9b\u63d0\u793a\u6765\u63d0\u4f9b\u66f4\u597d\u7684\u4ee3\u7801\u8865\u5168\u548c\u9519\u8bef\u68c0\u67e5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def animal_sound(animal: Animal):<\/p>\n<p>    print(animal.speak())<\/p>\n<p>my_dog = Dog()<\/p>\n<p>my_cat = Cat()<\/p>\n<p>animal_sound(my_dog)<\/p>\n<p>animal_sound(my_cat)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u5229\u7528PyCharm\u7684\u529f\u80fd\u63d0\u5347\u63a5\u53e3\u4f7f\u7528\u4f53\u9a8c<\/p>\n<\/p>\n<p><p>PyCharm\u63d0\u4f9b\u4e86\u8bb8\u591a\u529f\u80fd\uff0c\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u66f4\u597d\u5730\u4f7f\u7528\u63a5\u53e3\u548c\u62bd\u8c61\u57fa\u7c7b\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4ee3\u7801\u5bfc\u822a<\/strong><\/p>\n<\/p>\n<p><p>\u5229\u7528PyCharm\u7684\u4ee3\u7801\u5bfc\u822a\u529f\u80fd\uff0c\u53ef\u4ee5\u5feb\u901f\u8df3\u8f6c\u5230\u63a5\u53e3\u5b9a\u4e49\u6216\u5b9e\u73b0\u3002\u901a\u8fc7Ctrl+\u70b9\u51fb\uff08\u6216Cmd+\u70b9\u51fb\uff0cMac\u7528\u6237\uff09\u53ef\u4ee5\u67e5\u770b\u65b9\u6cd5\u7684\u5b9a\u4e49\u548c\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4ee3\u7801\u68c0\u67e5<\/strong><\/p>\n<\/p>\n<p><p>PyCharm\u4f1a\u5b9e\u65f6\u68c0\u67e5\u4ee3\u7801\u7684\u6b63\u786e\u6027\uff0c\u786e\u4fdd\u6240\u6709\u7684\u62bd\u8c61\u65b9\u6cd5\u90fd\u5df2\u5b9e\u73b0\u3002\u5982\u679c\u6709\u672a\u5b9e\u73b0\u7684\u65b9\u6cd5\uff0cPyCharm\u4f1a\u53d1\u51fa\u8b66\u544a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u91cd\u6784\u548c\u91cd\u547d\u540d<\/strong><\/p>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u91cd\u6784\u4ee3\u7801\u65f6\uff0cPyCharm\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u91cd\u547d\u540d\u529f\u80fd\uff0c\u786e\u4fdd\u63a5\u53e3\u548c\u5b9e\u73b0\u7c7b\u7684\u4e00\u81f4\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u6587\u6863\u751f\u6210<\/strong><\/p>\n<\/p>\n<p><p>\u4e3a\u63a5\u53e3\u548c\u5b9e\u73b0\u7c7b\u7f16\u5199\u8be6\u7ec6\u7684\u6587\u6863\u5b57\u7b26\u4e32\uff0cPyCharm\u53ef\u4ee5\u81ea\u52a8\u751f\u6210\u548c\u7ba1\u7406\u8fd9\u4e9b\u6587\u6863\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u6700\u4f73\u5b9e\u8df5\u4e0e\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u63a5\u53e3\u8bbe\u8ba1\u5e94\u5c3d\u91cf\u7b80\u5355<\/strong><\/p>\n<\/p>\n<p><p>\u8bbe\u8ba1\u63a5\u53e3\u65f6\uff0c\u5e94\u5c3d\u91cf\u4fdd\u6301\u7b80\u5355\uff0c\u53ea\u5305\u542b\u5fc5\u8981\u7684\u65b9\u6cd5\u3002\u8fd9\u4f7f\u5f97\u5b9e\u73b0\u7c7b\u7684\u7f16\u5199\u66f4\u52a0\u7b80\u6d01\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9075\u5faa\u5355\u4e00\u804c\u8d23\u539f\u5219<\/strong><\/p>\n<\/p>\n<p><p>\u6bcf\u4e2a\u63a5\u53e3\u5e94\u53ea\u8d1f\u8d23\u4e00\u7ec4\u76f8\u5173\u7684\u529f\u80fd\uff0c\u907f\u514d\u5728\u4e00\u4e2a\u63a5\u53e3\u4e2d\u5b9a\u4e49\u8fc7\u591a\u4e0d\u76f8\u5173\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528\u7ec4\u5408\u800c\u4e0d\u662f\u7ee7\u627f<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u4f7f\u7528\u7ec4\u5408\u53ef\u80fd\u6bd4\u7ee7\u627f\u66f4\u9002\u5408\u3002\u901a\u8fc7\u7ec4\u5408\uff0c\u4f60\u53ef\u4ee5\u5728\u8fd0\u884c\u65f6\u52a8\u6001\u5730\u6539\u53d8\u5bf9\u8c61\u7684\u884c\u4e3a\uff0c\u800c\u7ee7\u627f\u5219\u5728\u7f16\u8bd1\u65f6\u5c31\u786e\u5b9a\u4e86\u5bf9\u8c61\u7684\u884c\u4e3a\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u8c28\u614e\u4f7f\u7528\u591a\u91cd\u7ee7\u627f<\/strong><\/p>\n<\/p>\n<p><p>Python\u652f\u6301\u591a\u91cd\u7ee7\u627f\uff0c\u4f46\u4f7f\u7528\u4e0d\u5f53\u53ef\u80fd\u5bfc\u81f4\u4ee3\u7801\u96be\u4ee5\u7ef4\u62a4\u3002\u786e\u4fdd\u591a\u91cd\u7ee7\u627f\u4e0d\u4f1a\u5bfc\u81f4\u63a5\u53e3\u548c\u7c7b\u4e4b\u95f4\u7684\u590d\u6742\u5173\u7cfb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u7406\u89e3\u548c\u5229\u7528Python\u7684\u62bd\u8c61\u57fa\u7c7b\uff0c\u6211\u4eec\u53ef\u4ee5\u5728PyCharm\u4e2d\u5b9e\u73b0\u7c7b\u4f3c\u63a5\u53e3\u7684\u884c\u4e3a\u3002\u8fd9\u4e0d\u4ec5\u63d0\u9ad8\u4e86\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\uff0c\u8fd8\u4f7f\u5f97\u56e2\u961f\u534f\u4f5c\u548c\u4ee3\u7801\u590d\u7528\u66f4\u52a0\u9ad8\u6548\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728PyCharm\u4e2d\u521b\u5efa\u548c\u5b9e\u73b0Python\u63a5\u53e3\uff1f<\/strong><br \/>\u5728PyCharm\u4e2d\u521b\u5efa\u548c\u5b9e\u73b0Python\u63a5\u53e3\u7684\u8fc7\u7a0b\u76f8\u5bf9\u7b80\u5355\u3002\u9996\u5148\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u62bd\u8c61\u57fa\u7c7b\u6765\u521b\u5efa\u63a5\u53e3\uff0c\u4f7f\u7528<code>abc<\/code>\u6a21\u5757\u4e2d\u7684<code>ABC<\/code>\u548c<code>abstractmethod<\/code>\u88c5\u9970\u5668\u6765\u6807\u8bb0\u62bd\u8c61\u65b9\u6cd5\u3002\u5b9e\u73b0\u63a5\u53e3\u65f6\uff0c\u5b50\u7c7b\u9700\u8981\u91cd\u5199\u6240\u6709\u62bd\u8c61\u65b9\u6cd5\u3002PyCharm\u4f1a\u63d0\u4f9b\u4ee3\u7801\u63d0\u793a\uff0c\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u5b9e\u73b0\u63a5\u53e3\u3002<\/p>\n<p><strong>PyCharm\u63d0\u4f9b\u4e86\u54ea\u4e9b\u5de5\u5177\u6765\u5e2e\u52a9\u5b9e\u73b0\u63a5\u53e3\u7684\u529f\u80fd\uff1f<\/strong><br \/>PyCharm\u4f5c\u4e3a\u4e00\u6b3e\u5f3a\u5927\u7684IDE\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u5de5\u5177\u6765\u5e2e\u52a9\u5b9e\u73b0\u63a5\u53e3\u3002\u4f8b\u5982\uff0c\u4ee3\u7801\u81ea\u52a8\u8865\u5168\u529f\u80fd\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5feb\u901f\u627e\u5230\u9700\u8981\u5b9e\u73b0\u7684\u65b9\u6cd5\u3002\u9519\u8bef\u68c0\u67e5\u673a\u5236\u53ef\u4ee5\u5b9e\u65f6\u63d0\u9192\u4f60\u54ea\u4e9b\u62bd\u8c61\u65b9\u6cd5\u5c1a\u672a\u5b9e\u73b0\u3002\u6b64\u5916\uff0cPyCharm\u7684\u91cd\u6784\u529f\u80fd\u80fd\u8ba9\u4f60\u8f7b\u677e\u5730\u4fee\u6539\u63a5\u53e3\u548c\u5b9e\u73b0\u7c7b\u4e4b\u95f4\u7684\u5173\u7cfb\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528Python\u63a5\u53e3\u65f6\uff0c\u5982\u4f55\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u6269\u5c55\u6027\uff1f<\/strong><br \/>\u4e3a\u4e86\u786e\u4fdd\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u548c\u53ef\u6269\u5c55\u6027\uff0c\u5efa\u8bae\u9075\u5faaSOLID\u539f\u5219\uff0c\u7279\u522b\u662f\u63a5\u53e3\u9694\u79bb\u539f\u5219\u3002\u5c06\u63a5\u53e3\u8bbe\u8ba1\u5f97\u66f4\u5c0f\u3001\u66f4\u4e13\u6ce8\uff0c\u53ef\u4ee5\u51cf\u5c11\u5b9e\u73b0\u7c7b\u4e4b\u95f4\u7684\u8026\u5408\u3002\u540c\u65f6\uff0c\u4f7f\u7528\u7c7b\u578b\u63d0\u793a\u548c\u6587\u6863\u5b57\u7b26\u4e32\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0cPyCharm\u4e5f\u4f1a\u5bf9\u8fd9\u4e9b\u5185\u5bb9\u8fdb\u884c\u8bed\u6cd5\u68c0\u67e5\u548c\u63d0\u793a\uff0c\u8fdb\u4e00\u6b65\u589e\u5f3a\u4ee3\u7801\u8d28\u91cf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728PyCharm\u4e2d\u7ee7\u627fPython\u63a5\u53e3\u4e3b\u8981\u6d89\u53ca\u7406\u89e3\u5e76\u4f7f\u7528Python\u7684\u62bd\u8c61\u57fa\u7c7b\uff08ABC\u6a21\u5757\uff09\u3001\u5b9a\u4e49\u63a5\u53e3\u7c7b\u3001\u5b9e\u73b0 [&hellip;]","protected":false},"author":3,"featured_media":975954,"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\/975944"}],"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=975944"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/975944\/revisions"}],"predecessor-version":[{"id":975958,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/975944\/revisions\/975958"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/975954"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=975944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=975944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=975944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}