<?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 Python error issue with dbx_team.team_member_space_limits_excluded_users_add in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759044#M33168</link>
    <description>&lt;P&gt;I try to run below and get issue cause in Python I cannot seem to find expected type dropbox.team.UserSelectorArg or subtype. I tried adding its as a list directly but that does not work either. Please advise.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;user = dbx_team.UserSelectorArg # does not exist in Compiler &lt;BR /&gt;dbx_team.team_member_space_limits_excluded_users_add(user)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 21 Mar 2024 17:21:42 GMT</pubDate>
    <dc:creator>JohnAdam_CUNY</dc:creator>
    <dc:date>2024-03-21T17:21:42Z</dc:date>
    <item>
      <title>Python error issue with dbx_team.team_member_space_limits_excluded_users_add</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759044#M33168</link>
      <description>&lt;P&gt;I try to run below and get issue cause in Python I cannot seem to find expected type dropbox.team.UserSelectorArg or subtype. I tried adding its as a list directly but that does not work either. Please advise.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;user = dbx_team.UserSelectorArg # does not exist in Compiler &lt;BR /&gt;dbx_team.team_member_space_limits_excluded_users_add(user)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 21 Mar 2024 17:21:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759044#M33168</guid>
      <dc:creator>JohnAdam_CUNY</dc:creator>
      <dc:date>2024-03-21T17:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Python error issue with dbx_team.team_member_space_limits_excluded_users_add</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759139#M33173</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521086"&gt;@JohnAdam_CUNY&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;There is &lt;A title="Argument for selecting a single user" href="https://github.com/dropbox/dropbox-sdk-python/blob/main/dropbox/team.py#L13720" target="_blank" rel="noopener"&gt;UserSelectorArg&lt;/A&gt; class that you can use, but as element in list. The method expects list, not a single object! You may construct object instance by providing its type and corresponding value. Better use the conveniences methods targeting different union entries though - &lt;A title="Create an instance of this class set to the ``team_member_id`` tag" href="https://github.com/dropbox/dropbox-sdk-python/blob/main/dropbox/team.py#L13733C9-L13733C23" target="_blank" rel="noopener"&gt;team_member_id&lt;/A&gt;, &lt;A title="Create an instance of this class set to the ``external_id`` tag" href="https://github.com/dropbox/dropbox-sdk-python/blob/main/dropbox/team.py#L13744C9-L13744C20" target="_blank" rel="noopener"&gt;external_id&lt;/A&gt;, and &lt;A title="Create an instance of this class set to the ``email`` tag" href="https://github.com/dropbox/dropbox-sdk-python/blob/main/dropbox/team.py#L13755C9-L13755C14" target="_blank" rel="noopener"&gt;email&lt;/A&gt;. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: By the way, in Python there is nothing in compiler - Python is scripting language executed by interpreter. In the Python interpreter is a JIT compiler only (similar to javascript and other scripting languages)! In spite there are some extended ways to cache JIT binaries in Python and loading them instead of the source, there is still nothing in the compiler itself that you may expect or miss (more than syntax checking, for instance).&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 01:46:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759139#M33173</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-03-22T01:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python error issue with dbx_team.team_member_space_limits_excluded_users_add</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759244#M33181</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1521086"&gt;@JohnAdam_CUNY&lt;/a&gt; It seems like your 'dbx_team' variable is probably your 'DropboxTeam' instance. As Здравко said though, you should use the provided dropbox.team.UserSelectorArg (not on a DropboxTeam instance) to access that. For example, there's &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/team.html#dropbox.team.UserSelectorArg.email" target="_blank"&gt;dropbox.team.UserSelectorArg.email&lt;/A&gt;. And as they mentioned, once you have one or more of those, you would put those in a list to pass them to team_member_space_limits_excluded_users_add.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 14:49:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Python-error-issue-with-dbx-team-team-member-space-limits/m-p/759244#M33181</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-03-22T14:49:54Z</dc:date>
    </item>
  </channel>
</rss>

