Smart Sheet Row calls not getting information or working
<p>I'm trying to use the row attribute created_by accessing it with the Python SDK and it keeps throwing an error. I'm not sure if I'm missing something.</p>

<p>Every time I try to use it I get the error:</p>

<pre><code>  File "C:\Python27\lib\site-packages\smartsheet\models\row.py", line 166, in __getattr__  raise AttributeError(key)
  AttributeError: created_by
</code></pre>

<p>It also doesn't return anything when I run created_at, but at least it doesn't throw an error.</p>

<p>Anyone else have this problem, or at least can point me to what I'm doing wrong?</p>

<p>It happens ever time I call it. Here is a simple example</p>

<pre><code>smartsheet = smartsheet.Smartsheet(SMARTSHEET_ACCESS_TOKEN)
sheet = smartsheet.Sheets.get_sheet(IT_TRACKER_ID)
rows = sheet.rows
columns = sheet.columns

print rows[1].created_by
</code></pre>

<p>Via the API, if you want the <strong>Get Sheet</strong> response to include the <strong>createdBy</strong> attribute for each Row, you must specify the <strong>include</strong> parameter on the request with a value that includes the string <strong>rowWriterInfo</strong>. (See the <a href="http://smartsheet-platform.github.io/api-docs/?python#row-include-flags" rel="nofollow">Row Include Flags</a> section API docs for more info.) For example:</p>

<pre><code>GET https://api.smartsheet.com/2.0/sheets/7359436428732292?include=rowWriterInfo
</code></pre>

<p>If I execute this request via Postman, I see that the response does indeed include the <strong>createdBy</strong> attribute for each Row object in the response.</p>

<p>Via the SDK, I can execute this same request as follows:</p>

<pre><code>sheet = smartsheet.Sheets.get_sheet(7359436428732292, include='rowWriterInfo')
</code></pre>

<p>So, the SDK seems to be sending the request properly. However, it doesn't look like the SDK currently supports accessing the <strong>created_by</strong> property of Row objects -- if you search the <em>Lib\site-packages\smartsheet\models\row.py</em> file for <em>created_by</em>, you'll come up empty. </p>

<p>I'd suggest that you report this issue to Smartsheet by opening an issue in the <a href="https://github.com/smartsheet-platform/smartsheet-python-sdk/issues" rel="nofollow">corresponding GitHub repo</a>. In the meantime, you might consider updating your local copy of the Python SDK to add support for accessing the <strong>created_by</strong> property of Row objects. </p>

python smartsheet-api