{"id":21913,"date":"2020-08-31T10:39:52","date_gmt":"2020-08-31T17:39:52","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21913"},"modified":"2023-12-01T03:58:57","modified_gmt":"2023-12-01T11:58:57","slug":"python-typeerror-object-takes-no-arguments","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/","title":{"rendered":"Python TypeError: object() takes no arguments Solution"},"content":{"rendered":"\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/python-args-kwargs\/\">arguments<\/a> a class object accepts are passed through a function called <code>__init__()<\/code>. If you misspell this function in your class declaration, you\u2019ll encounter a \u201cTypeError: object() takes no arguments\u201d error when you run your code.<br><\/p>\n\n\n\n<p>In this guide, we talk about what this error means and why you may encounter it. We\u2019ll walk through an example of this error to help you figure out how to fix it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TypeError: object() takes no arguments<\/h2>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/python-class\/\">Objects of a class<\/a> can optionally accept arguments. These arguments are used to set values within an object. Consider the following code:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Employee:\n\tdef __init__(self, name)\n\t\tself.name = name<\/pre><\/div>\n\n\n\n<p>The __init__method lets us assign a value for the \u201cself.name\u201d <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">variable<\/a> in our class. We can reference this variable in any method in our class.<br><\/p>\n\n\n\n<p>The __init__ method is a special method. It is often called a constructor. The constructor method must be spelled correctly, otherwise you cannot pass any arguments into a statement where you declare an object of a class.<br><\/p>\n\n\n\n<p>For reference, the __init__ method is spelled as:<\/p>\n\n\n\n<p><em>Two underscores, followed by \u201cinit\u201d, followed by two underscores.<\/em><\/p>\n\n\n\n<p>The \u201cTypeError: object() takes no arguments\u201d error can also be caused by improper indentation. If you have spelled the __init__ method correctly, check to make sure you use consistent spaces and tabs in your class.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to create a program that tracks information about a product in an electronics store. To start, define a class. This class serves as the blueprint for our products:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Product:\n\tdef _init_(self, name, price, brand):\n\t\tself.name = name\n\t\tself.price = price\n\t\tself.brand = brand\n\n\tdef show_price(self):\n\t\tprint(&quot;The price of {} is ${}.&quot;.format(self.name, self.price))<\/pre><\/div>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/python-functions\/\">Our class contains two methods<\/a>. The first method is our constructor. This method defines all the values that objects of our class can store. The second method lets us view the price of a product.<br><\/p>\n\n\n\n<p>Next, we\u2019re going to create an object of our class:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>george_foreman = Product(&quot;Fit Medium Health Grill&quot;, 39.99, &quot;George Foreman&quot;)<\/pre><\/div>\n\n\n\n<p>This code creates an object for a George Foreman grill that is on sale at the electronics store. Next, we\u2019re going to call our <code>show_price()<\/code> method so that we can view the price of this product:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>george_foreman.show_price()<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Traceback (most recent call last):\n  File &quot;main.py&quot;, line 10, in &lt;module&gt;\n\tgeorge_foreman = Product(&quot;Fit Medium Health Grill&quot;, 39.99, &quot;George Foreman&quot;)\nTypeError: Product() takes no arguments<\/pre><\/div>\n\n\n\n<p>Our code returns an error message.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>To assign initial values to variables inside an object, you have to specify the values of those variables as arguments in the statement where an object is declared.<br><\/p>\n\n\n\n<p>This only works if there is a valid __init__ method in an object. Otherwise, Python does not know how to treat the values you have specified as arguments. Without a special __init__ method, Python would not know which method should process the arguments.<br><\/p>\n\n\n\n<p>In our code, we have declared an _init_ method (with one underscore on each side):<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Product:\n\tdef _init_(self, name, price, brand):<\/pre><\/div>\n\n\n\n<p>This is not treated the same as __init__. To solve this error, we have to rename this method so that it uses the right syntax:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Product:\n\tdef __init__(self, name, price, brand):\n\t\tself.name = name\n\t\tself.price = price\n\t\tself.brand = brand<\/pre><\/div>\n\n\n\n<p>We\u2019ve renamed our method to __init__. Let\u2019s run our code and see if it works:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>The price of Fit Medium Health Grill is $39.99.<\/pre><\/div>\n\n\n\n<p>Our code successfully tells us the price of the George Foreman grill.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TypeError: this constructor takes no arguments<\/h2>\n\n\n\n<p>The \u201cTypeError: object() takes no arguments\u201d error appears as \u201cTypeError: this constructor takes no arguments\u201d in Python 2.x.<br><\/p>\n\n\n\n<p>This message tells us that we have made a mistake in defining our constructor. To solve this problem, make sure that you spell the <code>__init__()<\/code> method correctly and that you use the correct indentation in the class that is causing the error.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cTypeError: object() takes no arguments\u201d error is raised when you do not declare a method called __init__ in a class that accepts arguments.<br><\/p>\n\n\n\n<p>To solve this error, double-check your code to ensure that <code>__init__()<\/code> is spelled correctly. The method should have two underscores on either side of the word \u201cinit\u201d.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to fix this common Python error <a href=\"https:\/\/careerkarma.com\/blog\/what-python-is-used-for\/\">like a professional<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"The arguments a class object accepts are passed through a function called __init__(). If you misspell this function in your class declaration, you\u2019ll encounter a \u201cTypeError: object() takes no arguments\u201d error when you run your code. In this guide, we talk about what this error means and why you may encounter it. We\u2019ll walk through&hellip;","protected":false},"author":240,"featured_media":21914,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21913","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python TypeError: object() takes no arguments Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python TypeError: object() takes no arguments Solution\" \/>\n<meta property=\"og:description\" content=\"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-31T17:39:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:58:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python TypeError: object() takes no arguments Solution\",\"datePublished\":\"2020-08-31T17:39:52+00:00\",\"dateModified\":\"2023-12-01T11:58:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\"},\"wordCount\":622,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\",\"name\":\"Python TypeError: object() takes no arguments Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg\",\"datePublished\":\"2020-08-31T17:39:52+00:00\",\"dateModified\":\"2023-12-01T11:58:57+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python TypeError: object() takes no arguments Solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python TypeError: object() takes no arguments Solution | Career Karma","description":"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.","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:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/","og_locale":"en_US","og_type":"article","og_title":"Python TypeError: object() takes no arguments Solution","og_description":"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-31T17:39:52+00:00","article_modified_time":"2023-12-01T11:58:57+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python TypeError: object() takes no arguments Solution","datePublished":"2020-08-31T17:39:52+00:00","dateModified":"2023-12-01T11:58:57+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/"},"wordCount":622,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/","name":"Python TypeError: object() takes no arguments Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg","datePublished":"2020-08-31T17:39:52+00:00","dateModified":"2023-12-01T11:58:57+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python TypeError: object() takes no arguments error is raised when you incorrectly define an __init__ function. On Career Karma, learn how to fix this error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/tran-mau-tri-tam-vGsf7HSWOU8-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-takes-no-arguments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python TypeError: object() takes no arguments Solution"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=21913"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21913\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21914"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}