

{"id":6711,"date":"2018-01-29T12:28:29","date_gmt":"2018-01-29T06:58:29","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=6711"},"modified":"2026-04-28T11:16:05","modified_gmt":"2026-04-28T05:46:05","slug":"python-object","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/python-object\/","title":{"rendered":"Python Object &#8211; How to Create, Delete &amp; Initialize Object in Python"},"content":{"rendered":"<p>Honestly, anything in python programming Language is an object. In this python object tutorial, we will focus on what is Python object,\u00a0instance Python object, and initialization.<\/p>\n<p>Along with this, we will cover how to\u00a0create python object, and how to\u00a0delete an object in python with examples and syntax.<\/p>\n<p>So, let&#8217;s Python Object Tutorial.<\/p>\n<h3>What is Python Object?<\/h3>\n<p>To prove our point that everything in Python is an object, we\u2019ll first take some\u00a0 example. Before this, let&#8217;s revise Python Syntax.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; type(7)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;class &#8216;int&#8217;&gt;<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; a=[1,2,3]\r\n&gt;&gt;&gt; type(a)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;class &#8216;list&#8217;&gt;<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; def sayhi():\r\n  print(\"Hello\")<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; sayhi<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;function sayhi at 0x064B7300&gt;<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; a=True\r\n&gt;&gt;&gt; type(a)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;class &#8216;bool&#8217;&gt;<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; type('True')<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;class &#8216;str&#8217;&gt;<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">&gt;&gt;&gt; class fruit:\r\n         pass\r\n&gt;&gt;&gt; fruit<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;class &#8216;__main__.fruit&#8217;&gt;<\/p>\n<\/div>\n<p>See the point? This is because every class is derived from the class \u2018object\u2019. Now, let\u2019s talk about python instance objects.<\/p>\n<p>An object is any real-world entity that has attributes and behaviors. Honestly, an object is to a class as is a prototype to a blueprint.<\/p>\n<p>An object is a concrete thing built from a class. If the class is a cookie mold, each cookie you bake is an object. In Python, my_dog = Dog(&#8220;Buddy&#8221;) makes one dog object.<\/p>\n<h3>Python Object Initialization<\/h3>\n<p>When we create object for a class, the __init__() method is called.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; class fruit: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n\u00a0\u00a0\u00a0\u00a0   def __init__(self,color,shape): \u00a0\u00a0\u00a0\u00a0\u00a0\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 self.color=color \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 self.shape=shape \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n   \u00a0\u00a0\u00a0 def sayhi(self): \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 print(f\"Hi.\\nI am {self.color}and{self.shape}\")\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n&gt;&gt;&gt; orange=fruit('Orange','Round')\r\n&gt;&gt;&gt; orange.sayhi()<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>Hi.I am Orange and Round<\/p>\n<\/div>\n<p>We use this to fill in values to attributes when we create a object. Here, __init__() has two attributes apart from \u2018self\u2019- color and shape.<\/p>\n<p>Then, we pass corresponding arguments for these at the time of object creation.<\/p>\n<p>You know that we use \u2018self\u2019 to be able to refer to the object we\u2019re dealing with. Here, that is \u2018orange\u2019.<\/p>\n<p>We\u2019ve discussed this in our comprehension on Python Methods.<\/p>\n<p>However, if you don\u2019t supply the __init__() method, Python will use a default one for you.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; class Person: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n  \u00a0\u00a0\u00a0\u00a0 def sayhi(self): \u00a0\r\n\u00a0\u00a0\u00a0\u00a0\u00a0         print(\"Hi\")\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\r\n&gt;&gt;&gt; Hannah=Person()\r\n&gt;&gt;&gt; Hannah.sayhi()<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>Hi<\/p>\n<\/div>\n<p>In saying this, we conclude that __init__() is like a constructor in C++.<\/p>\n<h3>Assigning One Object to Another Python Object<\/h3>\n<p>Like we do with any other construct in Python, it is possible to assign one object to another using the assignment operator in python.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; Miley=Hannah\r\n&gt;&gt;&gt; Miley.sayhi()<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>Hi<\/p>\n<\/div>\n<p>Are these the same? Let\u2019s check with the id() function.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; id(Miley)==id(Hannah)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>True<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; id(Miley)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>95812144<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; id(Hannah)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>95812144<\/p>\n<\/div>\n<p>Also, let\u2019s check their hash values.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; hash(Miley)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>5988259<\/p>\n<\/div>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; hash(Hannah)<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>5988259<\/p>\n<\/div>\n<p>We assigned Hannah to Miley. Now, what if we delete Hannah? How does it affect Miley?<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; del Hannah\r\n&gt;&gt;&gt; Miley<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">\n<p>&lt;__main__.Person object at 0x05B5FA30&gt;<\/p>\n<\/div>\n<p>As you can see, it does not.<\/p>\n<h3>Assigning Attributes to an Object on the Fly in Python<\/h3>\n<p>So what, if only one object out of all, for a class needs an attribute called \u2018size\u2019?<\/p>\n<p>Simply assign it on the fly even after you have already declared the python class.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; orange.size=7\r\n&gt;&gt;&gt; orange.size<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">7<\/div>\n<p>This attribute belongs to \u2018orange\u2019, but not to \u2018fruit\u2019. But it is possible to assign an attribute to \u2018fruit\u2019 instead.<\/p>\n<h3>How to Delete Python Object?<\/h3>\n<p>Garbage collection is a very important aspect of any good programming language. Likewise, Python lets us delete a lot of stuff, including objects.<\/p>\n<p>To delete an object\u00a0in Python, we use the \u2018del\u2019 keyword. A when we try to refer to a deleted object, it raises NameError.<\/p>\n<pre class=\"EnlighterJSRAW\">&gt;&gt;&gt; del orange\r\n&gt;&gt;&gt; orange\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<div class=\"code-output\">Traceback\u00a0(most\u00a0recent\u00a0call\u00a0last):<br \/>\nFile\u00a0&#8220;&lt;pyshell#729&gt;&#8221;,\u00a0line\u00a01,\u00a0in\u00a0&lt;module&gt;<br \/>\norange<br \/>\nNameError: name &#8216;orange&#8217; is not defined<\/div>\n<h3>Python Interview Questions on Objects<\/h3>\n<p>1. What are objects in Python? Explain with example.<\/p>\n<p>2. Can you make a list of objects in Python?<\/p>\n<p>3. What are the types of objects in Python?<\/p>\n<p>4. How to access an object in a list in Python?<\/p>\n<p>5. How to convert an object to a list in Python?<\/p>\n<h3>Conclusion<\/h3>\n<p>Hence, we have covered the three basic concepts of python object-oriented programming, object initialization in python, assigning one object to another object in python, assigning attributes to an object on the fly, deleting a python object.<\/p>\n<p>These are python classes, python methods, and python objects.<\/p>\n<p>Classes and objects in Python are very important part of Python Programming Language. Indeed, what is a class without its objects?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Honestly, anything in python programming Language is an object. In this python object tutorial, we will focus on what is Python object,\u00a0instance Python object, and initialization. Along with this, we will cover how to\u00a0create&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":6718,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46],"tags":[3742,3744,9183,10729,10730],"class_list":["post-6711","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","tag-deleting-a-python-object","tag-deleting-an-object-in-python","tag-object-initialization-in-python","tag-python-object","tag-python-object-initialization"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Object - How to Create, Delete &amp; Initialize Object in Python - DataFlair<\/title>\n<meta name=\"description\" content=\"Python object initialization, assigning one object to another object in python, assigning attributes to an object on the fly etc\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/python-object\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Object - How to Create, Delete &amp; Initialize Object in Python - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Python object initialization, assigning one object to another object in python, assigning attributes to an object on the fly etc\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/python-object\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-29T06:58:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-28T05:46:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Object - How to Create, Delete &amp; Initialize Object in Python - DataFlair","description":"Python object initialization, assigning one object to another object in python, assigning attributes to an object on the fly etc","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/python-object\/","og_locale":"en_US","og_type":"article","og_title":"Python Object - How to Create, Delete &amp; Initialize Object in Python - DataFlair","og_description":"Python object initialization, assigning one object to another object in python, assigning attributes to an object on the fly etc","og_url":"https:\/\/data-flair.training\/blogs\/python-object\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-01-29T06:58:29+00:00","article_modified_time":"2026-04-28T05:46:05+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/python-object\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"Python Object &#8211; How to Create, Delete &amp; Initialize Object in Python","datePublished":"2018-01-29T06:58:29+00:00","dateModified":"2026-04-28T05:46:05+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/"},"wordCount":680,"commentCount":2,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg","keywords":["Deleting a Python Object","Deleting an Object in Python","Object Initialization in Python","Python Object","Python Object Initialization"],"articleSection":["Python Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/python-object\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/python-object\/","url":"https:\/\/data-flair.training\/blogs\/python-object\/","name":"Python Object - How to Create, Delete &amp; Initialize Object in Python - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg","datePublished":"2018-01-29T06:58:29+00:00","dateModified":"2026-04-28T05:46:05+00:00","description":"Python object initialization, assigning one object to another object in python, assigning attributes to an object on the fly etc","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/python-object\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/python-object\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/python-object\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/01\/Python-Objects-01.jpg","width":1200,"height":628,"caption":"Introduction to Python Object"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/python-object\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Python Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/python\/"},{"@type":"ListItem","position":3,"name":"Python Object &#8211; How to Create, Delete &amp; Initialize Object in Python"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/6711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=6711"}],"version-history":[{"count":15,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/6711\/revisions"}],"predecessor-version":[{"id":147980,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/6711\/revisions\/147980"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/6718"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=6711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=6711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=6711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}