<?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: Python  SDK : Retrieve field information in metadata object in Dev Space</title>
    <link>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161709#M378</link>
    <description>&lt;P&gt;Thanks for the tip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;indeed it helped me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 16:12:43 GMT</pubDate>
    <dc:creator>evad</dc:creator>
    <dc:date>2018-05-10T16:12:43Z</dc:date>
    <item>
      <title>Python  SDK : Retrieve field information in metadata object</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161667#M376</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm using Python SDK, and I'm trying to&amp;nbsp;retrieve Field information from metadata object in method:&lt;/P&gt;&lt;PRE&gt; &lt;SPAN&gt;ii_init&lt;/SPAN&gt;(&lt;SPAN&gt;self&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;record_info_in: &lt;SPAN&gt;object&lt;/SPAN&gt;) -&amp;gt; &lt;SPAN&gt;bool&lt;/SPAN&gt;:&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;record_info_in[&lt;SPAN&gt;0&lt;/SPAN&gt;] : return a AlteryxPythonSDK.Field object &lt;/PRE&gt;&lt;P&gt;but I do not know how to access to the name of the field for example, and other information (like type of data ?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal is to retrieve the column names of object passed&amp;nbsp;to my plugin.&lt;/P&gt;&lt;P&gt;I did not find an example how to manipulate Field object in Python SDK samples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there other solution ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 14:35:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161667#M376</guid>
      <dc:creator>evad</dc:creator>
      <dc:date>2018-05-10T14:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python  SDK : Retrieve field information in metadata object</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161706#M377</link>
      <description>&lt;P&gt;The available data descriptors of the Field class can be found via:&lt;/P&gt;&lt;PRE&gt;help(AlteryxPythonSDK.Field)&lt;/PRE&gt;&lt;P&gt;You can access the data descriptor of a field of record_info_in via index:&lt;/P&gt;&lt;PRE&gt;record_info_in[field_index].name  # for name of a field
record_info_in[field_index].type  # for type of a field&lt;/PRE&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 16:05:30 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161706#M377</guid>
      <dc:creator>RafaelH</dc:creator>
      <dc:date>2018-05-10T16:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Python  SDK : Retrieve field information in metadata object</title>
      <link>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161709#M378</link>
      <description>&lt;P&gt;Thanks for the tip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;indeed it helped me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 16:12:43 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Dev-Space/Python-SDK-Retrieve-field-information-in-metadata-object/m-p/161709#M378</guid>
      <dc:creator>evad</dc:creator>
      <dc:date>2018-05-10T16:12:43Z</dc:date>
    </item>
  </channel>
</rss>

