{"id":21183,"date":"2020-08-13T23:27:02","date_gmt":"2020-08-14T06:27:02","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21183"},"modified":"2023-12-01T03:57:49","modified_gmt":"2023-12-01T11:57:49","slug":"python-takes-one-positional-argument-but-two-were-given","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/","title":{"rendered":"Python takes 1 positional argument but 2 were given Solution"},"content":{"rendered":"\n<p>When you call a method associated with an <a href=\"https:\/\/careerkarma.com\/blog\/python-class\/\">object<\/a>, there is one positional argument that is supplied by default: self. If you forget to include \u201cself\u201d when you define a method, you\u2019ll encounter an error that says \u201ctakes 1 <a href=\"https:\/\/careerkarma.com\/blog\/python-positional-argument-follows-keyword-argument\/\">positional argument<\/a> but 2 were given\u201d.<br><\/p>\n\n\n\n<p>In this article, we discuss this error and why it is raised. We walk through an example of this error to help you figure out how to solve it in your code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">takes 1 positional argument but 2 were given<\/h2>\n\n\n\n<p>Python passes an argument called \u201cself\u201d into every method in an object. \u201cself\u201d is similar to \u201c<a href=\"https:\/\/careerkarma.com\/blog\/this-javascript\/\">this<\/a>\u201d in JavaScript. The \u201cself\u201d argument stores information about the values in an object.<br><\/p>\n\n\n\n<p>\u201cself\u201d is passed into methods by default because most methods rely on the values that have been assigned to an object in some way.<br><\/p>\n\n\n\n<p>All methods defined in a class must have an argument called \u201cself\u201d. If you specify an argument other than \u201cself\u201d without including \u201cself\u201d, Python will return the \u201ctakes 1 positional argument but 2 were given\u201d error.<br><\/p>\n\n\n\n<p>This is because Python passes \u201cself\u201d into a method by default and so it expects there is room for \u201cself\u201d in addition to any other arguments that a method should receive.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>Write a class that stores information on television show characters. Start by declaring our class and defining a constructor that stores the values we pass into our class:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Character:\n\tdef __init__(self, character_name, real_name, show):\n\t\tself.character_name = character_name\n\t\tself.real_name = real_name\n\t\tself.show = show<\/pre><\/div>\n\n\n\n<p>Write a <a href=\"https:\/\/careerkarma.com\/blog\/python-functions\/\">function<\/a> that lets us change the value of \u201cshow\u201d:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\tdef change_show(show):\n\t\tself.show = show\n\t\tprint(show)<\/pre><\/div>\n\n\n\n<p>This method changes the value of \u201cshow\u201d in our class and prints out the value of \u201cshow\u201d to the console. To test out this method, we have to define an instance of our object and call the <code>change_show()<\/code> method:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sam_malone = Character(&quot;Sam Malone&quot;, &quot;Ted Danson&quot;, &quot;&quot;)\nsam_malone.change_show(&quot;Cheers&quot;)<\/pre><\/div>\n\n\n\n<p>Our \u201csam_malone\u201d object is initialized with the following values:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Character Name: Sam Malone<\/li><li>Real Name: Ted Danson<\/li><li>Show: [Empty]<\/li><\/ul>\n\n\n\n<p>We have left the value of \u201cshow\u201d empty because we\u2019re going to add it in later. Next, we use the <code>change_show()<\/code> method to set the value of \u201cshow\u201d to \u201cCheers\u201d.<br><\/p>\n\n\n\n<p>Run our code:<\/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 11, in &lt;module&gt;\n\tsam_malone.change_show(&quot;Cheers&quot;)\nTypeError: change_show() takes 1 positional argument but 2 were given<\/pre><\/div>\n\n\n\n<p>Our code does not execute successfully.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>In our code, we have not passed \u201cself\u201d into our <code>change_show()<\/code> method.<br><\/p>\n\n\n\n<p>Python passes \u201cself\u201d as a parameter every time you call a method of an object. In our above code, Python is executing:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>sam_malone.change_show(&quot;Cheers&quot;)<\/pre><\/div>\n\n\n\n<p>Another way of representing this is:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Character.change_show(sam_malone, &quot;Cheers&quot;)<\/pre><\/div>\n\n\n\n<p>This shows that our object, \u201csam_malone\u201d, is actually passed into our method. To solve this error, we have to specify \u201cself\u201d as an argument in our class:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>\tdef change_show(self, show):\n\t\tself.show = show\n\t\tprint(show)<\/pre><\/div>\n\n\n\n<p>This tells the <code>change_show()<\/code> method to expect two arguments: &#8220;self&#8221; and &#8220;show&#8221;. &#8220;self&#8221; is the object on which the method will be executed. &#8220;show&#8221; is the name of the television show with which a character is associated.<br><\/p>\n\n\n\n<p>Run our code again with our new function:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Cheers<\/pre><\/div>\n\n\n\n<p>Our code prints the value of \u201cshow\u201d to the console successfully. Every time we reference \u201cshow\u201d in our class after we have called <code>change_show()<\/code>, the value associated with \u201cshow\u201d is \u201cCheers\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201ctakes 1 positional argument but 2 were given\u201d error is raised when you try to pass an argument through a method in a class without also specifying \u201cself\u201d as an argument.<br><\/p>\n\n\n\n<p>You solve this error by adding \u201cself\u201d as an argument to all the methods in a class.<br><\/p>\n\n\n\n<p>Now you\u2019re ready to solve this error in your code like a <a href=\"https:\/\/careerkarma.com\/blog\/what-python-is-used-for\/\">professional coder<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"When you call a method associated with an object, there is one positional argument that is supplied by default: self. If you forget to include \u201cself\u201d when you define a method, you\u2019ll encounter an error that says \u201ctakes 1 positional argument but 2 were given\u201d. In this article, we discuss this error and why it&hellip;","protected":false},"author":240,"featured_media":3912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21183","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 takes 1 positional argument but 2 were given Solution | CK<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the 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-takes-one-positional-argument-but-two-were-given\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python takes 1 positional argument but 2 were given Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\" \/>\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-14T06:27:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:57:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"802\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python takes 1 positional argument but 2 were given Solution\",\"datePublished\":\"2020-08-14T06:27:02+00:00\",\"dateModified\":\"2023-12-01T11:57:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\"},\"wordCount\":554,\"commentCount\":1,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\",\"name\":\"Python takes 1 positional argument but 2 were given Solution | CK\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg\",\"datePublished\":\"2020-08-14T06:27:02+00:00\",\"dateModified\":\"2023-12-01T11:57:49+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg\",\"width\":1200,\"height\":802},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#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 takes 1 positional argument but 2 were given 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 takes 1 positional argument but 2 were given Solution | CK","description":"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the 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-takes-one-positional-argument-but-two-were-given\/","og_locale":"en_US","og_type":"article","og_title":"Python takes 1 positional argument but 2 were given Solution","og_description":"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the error.","og_url":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-14T06:27:02+00:00","article_modified_time":"2023-12-01T11:57:49+00:00","og_image":[{"width":1200,"height":802,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python takes 1 positional argument but 2 were given Solution","datePublished":"2020-08-14T06:27:02+00:00","dateModified":"2023-12-01T11:57:49+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/"},"wordCount":554,"commentCount":1,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/","url":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/","name":"Python takes 1 positional argument but 2 were given Solution | CK","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg","datePublished":"2020-08-14T06:27:02+00:00","dateModified":"2023-12-01T11:57:49+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python takes 1 positional argument but 2 were given error, how the error works, and how to solve the error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2019\/07\/bench-accounting-C3V88BOoRoM-unsplash.jpg","width":1200,"height":802},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-takes-one-positional-argument-but-two-were-given\/#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 takes 1 positional argument but 2 were given 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\/21183","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=21183"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21183\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/3912"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}