<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: positional argument follows keyword argument in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880288#M5085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua!&lt;/P&gt;&lt;P&gt;I will do just that. Strange how it ran before. I will have to look at the scripting above this cell and see if something is causing the error from what is included above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post in a few days whether I figure it out or need more of your expertise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2020 16:14:06 GMT</pubDate>
    <dc:creator>RonaldVanderpool</dc:creator>
    <dc:date>2020-05-19T16:14:06Z</dc:date>
    <item>
      <title>positional argument follows keyword argument</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880284#M5081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;As a novice, struggling at the beginning. I am using Notebooks to query an AGOL group for specific Feature Services within that group. I have had great guidance so far an am entirely able to retrieve all of My Contents Feature Services but only want to acquire those by a group for download.&lt;/P&gt;&lt;P&gt;My is occurs early on in the query and I receive the above titled SyntaxError. I have tried rearranging the code contents but still have errors; I just received, EOL while scanning string literal.&lt;/P&gt;&lt;P&gt;Here is the code that is throwing the title Syntax Error;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;items = gis.content.search(query='type:"Feature Service", group:{f3ec2a4f85ce4d7fbca092ad679dfa88}' .format(group.id), max_items=1000, display(items))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #258f8f; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;File &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;"&amp;lt;ipython-input-5-fe5f4b045dfc&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #258f8f; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;, line &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: #ffffff; text-decoration: none; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold; text-decoration: none; font-size: 14px;"&gt; items = gis.content.search(query='type:"Feature Service", group:{f3ec2a4f85ce4d7fbca092ad679dfa88}'.format(group.id), max_items=1000, display(items))&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: #ffffff; text-decoration: none; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #a1a6b2; font-weight: bold; text-decoration: none; font-size: 14px;"&gt; ^&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: #ffffff; text-decoration: none; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;SyntaxError&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold; text-decoration: none; font-size: 14px;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: #ffffff; text-decoration: none; font-size: inherit;"&gt; positional argument follows keyword argument &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 16:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880284#M5081</guid>
      <dc:creator>RonaldVanderpool</dc:creator>
      <dc:date>2020-05-18T16:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: positional argument follows keyword argument</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880285#M5082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message is literal, i.e., you cannot have a positional argument (i.e., an argument not called using a keyword) after you have used a keyword argument.&amp;nbsp; For your situation, it is the last argument that you are calling but not specifying it with a keyword.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 16:46:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880285#M5082</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-05-18T16:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: positional argument follows keyword argument</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880286#M5083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua!&lt;/P&gt;&lt;P&gt;I think I corrected to reflect your guidance. Now I am getting a new error. What is funny in the below script, it ran right the first time except if failed to download or delete any of the FGDB's because I misspelled the folder name. I corrected that and now the exact same script fails. I tried in the API for Python Jupyter Notebook and also in the AGOL Notebook. Same error both places. I also went into the Folder to delete the fgdb's created the first run, just so I did not have a naming conflict.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/492710_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 20:24:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880286#M5083</guid>
      <dc:creator>RonaldVanderpool</dc:creator>
      <dc:date>2020-05-18T20:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: positional argument follows keyword argument</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880287#M5084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python errors are quite literal, which is nice.&amp;nbsp; For your second error, you are really dealing with a couple errors but only one seems to be the root cause. The AttributeError is saying your variable 'item' is a Python list, and Python lists don't have an attribute or method called title.&amp;nbsp; So, that error triggers the try/except block, but then your error handling code includes the use of service_title, which isn't defined because of the first error, so now you generate another error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Focus on 'item' and make sure it is what you think it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 22:36:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880287#M5084</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-05-18T22:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: positional argument follows keyword argument</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880288#M5085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua!&lt;/P&gt;&lt;P&gt;I will do just that. Strange how it ran before. I will have to look at the scripting above this cell and see if something is causing the error from what is included above.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will post in a few days whether I figure it out or need more of your expertise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2020 16:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/positional-argument-follows-keyword-argument/m-p/880288#M5085</guid>
      <dc:creator>RonaldVanderpool</dc:creator>
      <dc:date>2020-05-19T16:14:06Z</dc:date>
    </item>
  </channel>
</rss>

