smartsheet-python-sdk 3.3.0__tar.gz → 3.5.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/workflows/test-build.yaml +6 -6
  2. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/CHANGELOG.md +21 -0
  3. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/PKG-INFO +5 -29
  4. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/setup.cfg +1 -1
  5. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/setup.py +1 -1
  6. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/object_value.py +5 -5
  7. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/user_model.py +9 -0
  8. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/user_plan.py +9 -0
  9. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/sheets.py +8 -8
  10. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/smartsheet.py +10 -4
  11. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/version.py +2 -2
  12. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet_python_sdk.egg-info/PKG-INFO +4 -28
  13. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet_python_sdk.egg-info/SOURCES.txt +1 -1
  14. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.gitchangelog.rc +0 -0
  15. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.gitchangelog.tpl +0 -0
  16. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  17. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  18. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/pull_request_template.md +0 -0
  19. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/workflows/publish-distribution.yaml +0 -0
  20. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.github/workflows/publish-documentation.yaml +0 -0
  21. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.gitignore +0 -0
  22. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/.markdownlint.json +0 -0
  23. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/ADVANCED.md +0 -0
  24. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/CONTRIBUTING.md +0 -0
  25. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/LICENSE.md +0 -0
  26. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/Makefile +0 -0
  27. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/NOTICE +0 -0
  28. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/README.md +0 -0
  29. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/docs-source/Makefile +0 -0
  30. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/docs-source/conf.py +0 -0
  31. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/docs-source/index.rst +0 -0
  32. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/pylintrc +0 -0
  33. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/__init__.py +0 -0
  34. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/attachments.py +0 -0
  35. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/cells.py +0 -0
  36. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/contacts.py +0 -0
  37. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/discussions.py +0 -0
  38. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/events.py +0 -0
  39. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/exceptions.py +0 -0
  40. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/favorites.py +0 -0
  41. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/folders.py +0 -0
  42. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/groups.py +0 -0
  43. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/home.py +0 -0
  44. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/images.py +0 -0
  45. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/__init__.py +0 -0
  46. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/access_token.py +0 -0
  47. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/account.py +0 -0
  48. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/alternate_email.py +0 -0
  49. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/attachment.py +0 -0
  50. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/auto_number_format.py +0 -0
  51. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/automation_action.py +0 -0
  52. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/automation_rule.py +0 -0
  53. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/boolean_object_value.py +0 -0
  54. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/bulk_item_failure.py +0 -0
  55. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/bulk_item_result.py +0 -0
  56. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cell.py +0 -0
  57. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cell_data_item.py +0 -0
  58. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cell_history.py +0 -0
  59. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cell_link.py +0 -0
  60. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cell_link_widget_content.py +0 -0
  61. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/chart_widget_content.py +0 -0
  62. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/column.py +0 -0
  63. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/comment.py +0 -0
  64. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/contact.py +0 -0
  65. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/contact_object_value.py +0 -0
  66. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/container_destination.py +0 -0
  67. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/copy_or_move_row_destination.py +0 -0
  68. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/copy_or_move_row_directive.py +0 -0
  69. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/copy_or_move_row_result.py +0 -0
  70. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/criteria.py +0 -0
  71. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/cross_sheet_reference.py +0 -0
  72. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/currency.py +0 -0
  73. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/date_object_value.py +0 -0
  74. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/datetime_object_value.py +0 -0
  75. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/discussion.py +0 -0
  76. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/downloaded_file.py +0 -0
  77. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/duration.py +0 -0
  78. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/email.py +0 -0
  79. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/__init__.py +0 -0
  80. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/access_level.py +0 -0
  81. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/asset_type.py +0 -0
  82. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/attachment_parent_type.py +0 -0
  83. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/attachment_sub_type.py +0 -0
  84. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/attachment_type.py +0 -0
  85. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/automation_action_frequency.py +0 -0
  86. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/automation_action_type.py +0 -0
  87. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/automation_rule_disabled_reason.py +0 -0
  88. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/cell_link_status.py +0 -0
  89. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/column_type.py +0 -0
  90. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/criteria_target.py +0 -0
  91. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/cross_sheet_reference_status.py +0 -0
  92. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/currency_code.py +0 -0
  93. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/day_descriptors.py +0 -0
  94. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/day_ordinal.py +0 -0
  95. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/event_action.py +0 -0
  96. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/event_obejct_type.py +0 -0
  97. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/event_source.py +0 -0
  98. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/global_template.py +0 -0
  99. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/operator.py +0 -0
  100. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/paper_type.py +0 -0
  101. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/predecessor_type.py +0 -0
  102. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/publish_accessible_by.py +0 -0
  103. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/schedule_type.py +0 -0
  104. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/seat_type.py +0 -0
  105. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/share_scope.py +0 -0
  106. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/share_type.py +0 -0
  107. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/sheet_email_format.py +0 -0
  108. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/sheet_filter_operator.py +0 -0
  109. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/sheet_filter_type.py +0 -0
  110. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/sort_direction.py +0 -0
  111. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/symbol.py +0 -0
  112. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/system_column_type.py +0 -0
  113. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/update_request_status.py +0 -0
  114. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/user_status.py +0 -0
  115. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/enums/widget_type.py +0 -0
  116. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/error.py +0 -0
  117. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/error_result.py +0 -0
  118. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/event.py +0 -0
  119. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/event_result.py +0 -0
  120. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/explicit_null.py +0 -0
  121. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/favorite.py +0 -0
  122. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/folder.py +0 -0
  123. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/font_family.py +0 -0
  124. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/format_details.py +0 -0
  125. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/format_tables.py +0 -0
  126. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/group.py +0 -0
  127. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/group_member.py +0 -0
  128. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/home.py +0 -0
  129. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/hyperlink.py +0 -0
  130. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/image.py +0 -0
  131. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/image_url.py +0 -0
  132. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/image_url_map.py +0 -0
  133. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/image_widget_content.py +0 -0
  134. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/index_result.py +0 -0
  135. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/json_object.py +0 -0
  136. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/multi_contact_object_value.py +0 -0
  137. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/multi_picklist_object_value.py +0 -0
  138. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/multi_row_email.py +0 -0
  139. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/number_object_value.py +0 -0
  140. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/o_auth_error.py +0 -0
  141. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/paginated_children_result.py +0 -0
  142. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/predecessor.py +0 -0
  143. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/predecessor_list.py +0 -0
  144. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/primitive_object_value.py +0 -0
  145. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/profile_image.py +0 -0
  146. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/project_settings.py +0 -0
  147. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/recipient.py +0 -0
  148. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report.py +0 -0
  149. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report_cell.py +0 -0
  150. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report_column.py +0 -0
  151. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report_publish.py +0 -0
  152. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report_row.py +0 -0
  153. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/report_widget_content.py +0 -0
  154. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/result.py +0 -0
  155. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/row.py +0 -0
  156. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/row_email.py +0 -0
  157. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/row_mapping.py +0 -0
  158. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/schedule.py +0 -0
  159. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/scope.py +0 -0
  160. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/search_result.py +0 -0
  161. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/search_result_item.py +0 -0
  162. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/selection_range.py +0 -0
  163. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sent_update_request.py +0 -0
  164. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/server_info.py +0 -0
  165. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/share.py +0 -0
  166. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet.py +0 -0
  167. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_email.py +0 -0
  168. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_filter.py +0 -0
  169. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_filter_details.py +0 -0
  170. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_publish.py +0 -0
  171. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_summary.py +0 -0
  172. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_user_permissions.py +0 -0
  173. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sheet_user_settings.py +0 -0
  174. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/shortcut_data_item.py +0 -0
  175. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/shortcut_widget_content.py +0 -0
  176. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sight.py +0 -0
  177. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sight_publish.py +0 -0
  178. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sort_criterion.py +0 -0
  179. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/sort_specifier.py +0 -0
  180. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/source.py +0 -0
  181. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/string_object_value.py +0 -0
  182. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/summary_field.py +0 -0
  183. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/template.py +0 -0
  184. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/title_rich_text_widget_content.py +0 -0
  185. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/token_paginated_result.py +0 -0
  186. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/update_request.py +0 -0
  187. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/user.py +0 -0
  188. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/user_profile.py +0 -0
  189. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/version.py +0 -0
  190. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/web_content_widget_content.py +0 -0
  191. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/webhook.py +0 -0
  192. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/webhook_secret.py +0 -0
  193. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/webhook_stats.py +0 -0
  194. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/webhook_subscope.py +0 -0
  195. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/widget.py +0 -0
  196. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/widget_content.py +0 -0
  197. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/widget_hyperlink.py +0 -0
  198. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/models/workspace.py +0 -0
  199. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/object_value.py +0 -0
  200. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/passthrough.py +0 -0
  201. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/reports.py +0 -0
  202. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/search.py +0 -0
  203. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/server.py +0 -0
  204. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/session.py +0 -0
  205. /smartsheet_python_sdk-3.3.0/smartsheet/asset_shares.py → /smartsheet_python_sdk-3.5.1/smartsheet/sharing.py +0 -0
  206. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/sights.py +0 -0
  207. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/templates.py +0 -0
  208. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/token.py +0 -0
  209. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/types.py +0 -0
  210. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/users.py +0 -0
  211. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/util.py +0 -0
  212. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/webhooks.py +0 -0
  213. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet/workspaces.py +0 -0
  214. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet_python_sdk.egg-info/dependency_links.txt +0 -0
  215. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet_python_sdk.egg-info/requires.txt +0 -0
  216. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/smartsheet_python_sdk.egg-info/top_level.txt +0 -0
  217. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/README.md +0 -0
  218. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/conftest.py +0 -0
  219. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/calling_all_curs.txt +0 -0
  220. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/curly.jpg +0 -0
  221. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/moe-curly.jpg +0 -0
  222. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/quote.txt +0 -0
  223. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/stooges_v1.jpg +0 -0
  224. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/fixtures/stooges_v2.jpg +0 -0
  225. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_attachments.py +0 -0
  226. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_columns.py +0 -0
  227. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_contacts.py +0 -0
  228. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_cross_sheet_references.py +0 -0
  229. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_discussions.py +0 -0
  230. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_events.py +0 -0
  231. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_favorites.py +0 -0
  232. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_folders.py +0 -0
  233. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_groups.py +0 -0
  234. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_home.py +0 -0
  235. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_model_attributes.py +0 -0
  236. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_multi_picklist.py +0 -0
  237. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_object_value.py +0 -0
  238. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_passthrough.py +0 -0
  239. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_regression.py +0 -0
  240. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_reports.py +0 -0
  241. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_rows.py +0 -0
  242. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_server_info.py +0 -0
  243. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_sharing.py +0 -0
  244. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_sheet_summary.py +0 -0
  245. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_sheets.py +0 -0
  246. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_templates.py +0 -0
  247. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_update_requests.py +0 -0
  248. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_users.py +0 -0
  249. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_webhooks.py +0 -0
  250. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_workspaces.py +0 -0
  251. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/integration/test_zsearch.py +0 -0
  252. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/mock_api_test_helper.py +0 -0
  253. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_automation_rules.py +0 -0
  254. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_columns.py +0 -0
  255. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_folders.py +0 -0
  256. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_rows.py +0 -0
  257. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_sheets.py +0 -0
  258. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_sights.py +0 -0
  259. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_api_workspaces.py +0 -0
  260. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_change_agent.py +0 -0
  261. {smartsheet_python_sdk-3.3.0 → smartsheet_python_sdk-3.5.1}/tests/mock_api/test_mock_serialization.py +0 -0
@@ -48,7 +48,7 @@ jobs:
48
48
  - name: Install Python dependencies
49
49
  run: |
50
50
  python -m pip install --upgrade pip
51
- pip install certifi enum34 requests six python-dateutil coverage coveralls[yaml] pytest pytest-instafail requests-toolbelt
51
+ pip install certifi enum34 requests six python-dateutil coverage coveralls[yaml] pytest pytest-instafail requests-toolbelt setuptools-scm
52
52
  if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
53
53
  - name: Clone smartsheet/smartsheet-sdk-tests PUBLIC repository
54
54
  uses: GuillaumeFalourd/clone-github-repo-action@v2
@@ -61,14 +61,14 @@ jobs:
61
61
  smartsheet-sdk-tests/ci_scripts/start_wiremock.sh
62
62
  - name: Run mock API tests
63
63
  run: |
64
- coverage run --source=smartsheet setup.py test -a tests/mock_api/
64
+ coverage run --source=smartsheet -m pytest tests/mock_api/
65
65
  coverage lcov
66
66
  - name: Coveralls Parallel
67
67
  uses: coverallsapp/github-action@master
68
68
  with:
69
69
  github-token: ${{ secrets.GITHUB_TOKEN }}
70
70
  flag-name: run-${{ matrix.python-version }}
71
- path-to-lcov: "coverage.lcov"
71
+ path-to-lcov: "coverage.lcov"
72
72
  parallel: true
73
73
 
74
74
  build-packages-test:
@@ -80,7 +80,7 @@ jobs:
80
80
  uses: actions/setup-python@v4
81
81
  - name: Install build packages
82
82
  run: |
83
- pip install enum34 requests six python-dateutil setuptools-scm==7.1.0 gitchangelog mako wheel twine
83
+ pip install enum34 requests six python-dateutil setuptools-scm==7.1.0 gitchangelog mako wheel twine
84
84
  - name: Build distribution
85
85
  run: |
86
86
  python setup.py sdist bdist_wheel
@@ -99,8 +99,8 @@ jobs:
99
99
  - name: Install documentation tools
100
100
  run: |
101
101
  pip install sphinx sphinx_rtd_theme setuptools-scm
102
- - name: Generate API documentation
103
- run: sphinx-apidoc -o docs-source smartsheet
102
+ - name: Generate API documentation
103
+ run: sphinx-apidoc -o docs-source smartsheet
104
104
  - name: Generate HTML
105
105
  run: sphinx-build -b html -d docs-source/_build/doctrees docs-source/. docs-source/_build/html
106
106
  - name: Upload artifacts
@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.5.1] - 2025-10-28
9
+
10
+ ### Fixed
11
+
12
+ - Rename asset_shares.py to sharing.py so that Smartsheet.__getattr__ can pick it up.
13
+
14
+ ## [3.5.0] - 2025-10-24
15
+
16
+ ### Added
17
+
18
+ - Add robust error handling. The SDK won't throw an exception if the error response body is not JSON or properties are missing.
19
+ - Add provisionalExpirationDate field to the user_model and user_plan models
20
+
21
+ ## [3.4.0] - 2025-10-20
22
+
23
+ ### Fixed
24
+
25
+ - Fix minor lint issue
26
+ - Use pytest directly to run tests
27
+ - Fix @deprecated decorator use.
28
+
8
29
  ## [3.3.0] - 2025-10-07
9
30
 
10
31
  ### Added
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
2
- Name: smartsheet-python-sdk
3
- Version: 3.3.0
1
+ Metadata-Version: 2.1
2
+ Name: smartsheet_python_sdk
3
+ Version: 3.5.1
4
4
  Summary: Library that uses Python to connect to Smartsheet services (using API 2.0).
5
5
  Home-page: http://smartsheet-platform.github.io/api-docs/
6
6
  Author: Smartsheet
@@ -20,34 +20,10 @@ Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
21
  Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
22
22
  Description-Content-Type: text/markdown
23
- License-File: LICENSE.md
24
- License-File: NOTICE
25
- Requires-Dist: requests
26
- Requires-Dist: requests-toolbelt
27
- Requires-Dist: six>=1.9
28
- Requires-Dist: certifi
29
- Requires-Dist: python-dateutil
30
23
  Provides-Extra: test
31
- Requires-Dist: coverage; extra == "test"
32
- Requires-Dist: coveralls; extra == "test"
33
- Requires-Dist: pytest; extra == "test"
34
24
  Provides-Extra: develop
35
- Requires-Dist: coverage; extra == "develop"
36
- Requires-Dist: coveralls[yaml]; extra == "develop"
37
- Requires-Dist: pytest; extra == "develop"
38
- Requires-Dist: pytest-instafail; extra == "develop"
39
- Dynamic: author
40
- Dynamic: author-email
41
- Dynamic: classifier
42
- Dynamic: description
43
- Dynamic: description-content-type
44
- Dynamic: home-page
45
- Dynamic: keywords
46
- Dynamic: license
47
- Dynamic: license-file
48
- Dynamic: provides-extra
49
- Dynamic: requires-dist
50
- Dynamic: summary
25
+ License-File: LICENSE.md
26
+ License-File: NOTICE
51
27
 
52
28
  # Smartsheet Python SDK
53
29
 
@@ -2,7 +2,7 @@
2
2
  universal = 1
3
3
 
4
4
  [tool:pytest]
5
- addopts = -ra --color=yes --showlocals --verbose --ignore=docs --ignore=examples --tb=native --reruns 2 --reruns-delay 3
5
+ addopts = -ra --color=yes --showlocals --verbose --ignore=docs --ignore=examples --tb=native
6
6
  log_cli = true
7
7
  log_level = ERROR
8
8
 
@@ -3,7 +3,7 @@ from setuptools.command.test import test as TestCommand
3
3
  import sys
4
4
  import six
5
5
 
6
- NAME = 'smartsheet-python-sdk'
6
+ NAME = 'smartsheet_python_sdk'
7
7
 
8
8
  REQUIRES = [
9
9
  'requests',
@@ -49,7 +49,7 @@ OBJECT_VALUE = {
49
49
  ]
50
50
  }
51
51
 
52
- _typeToName = {
52
+ _TYPE_TO_NAME = {
53
53
  DATE: "DATE",
54
54
  DATETIME: "DATETIME",
55
55
  ABSTRACT_DATETIME: "ABSTRACT_DATETIME",
@@ -60,7 +60,7 @@ _typeToName = {
60
60
  MULTI_PICKLIST: "MULTI_PICKLIST",
61
61
  }
62
62
 
63
- _nameToType = {
63
+ _NAME_TO_TYPE = {
64
64
  "DATE": DATE,
65
65
  "DATETIME": DATETIME,
66
66
  "ABSTRACT_DATETIME": ABSTRACT_DATETIME,
@@ -73,7 +73,7 @@ _nameToType = {
73
73
 
74
74
 
75
75
  def enum_object_value_type(object_type=None):
76
- return _nameToType.get(object_type)
76
+ return _NAME_TO_TYPE.get(object_type)
77
77
 
78
78
 
79
79
  class ObjectValue:
@@ -96,7 +96,7 @@ class ObjectValue:
96
96
  @object_type.setter
97
97
  def object_type(self, value):
98
98
  if isinstance(value, six.string_types):
99
- self._object_type = _nameToType.get(value)
99
+ self._object_type = _NAME_TO_TYPE.get(value)
100
100
  else:
101
101
  self._object_type = value
102
102
 
@@ -117,7 +117,7 @@ class ObjectValue:
117
117
  elif serialized is not None:
118
118
  retval[camel_case] = serialized
119
119
 
120
- retval["objectType"] = _typeToName.get(self._object_type)
120
+ retval["objectType"] = _TYPE_TO_NAME.get(self._object_type)
121
121
  return retval
122
122
 
123
123
  def to_dict(self):
@@ -51,6 +51,7 @@ class UserModel:
51
51
  self._licensed_sheet_creator = Boolean()
52
52
  self._mobile_phone = String()
53
53
  self._profile_image = TypedObject(ProfileImage)
54
+ self._provisional_expiration_date = Timestamp()
54
55
  self._resource_viewer = Boolean()
55
56
  self._role = String()
56
57
  self._seat_type = EnumeratedValue(SeatType)
@@ -197,6 +198,14 @@ class UserModel:
197
198
  def profile_image(self, value):
198
199
  self._profile_image.value = value
199
200
 
201
+ @property
202
+ def provisional_expiration_date(self):
203
+ return self._provisional_expiration_date.value
204
+
205
+ @provisional_expiration_date.setter
206
+ def provisional_expiration_date(self, value):
207
+ self._provisional_expiration_date.value = value
208
+
200
209
  @property
201
210
  def resource_viewer(self):
202
211
  return self._resource_viewer.value
@@ -20,6 +20,7 @@ class UserPlan:
20
20
  self._seat_type = EnumeratedValue(SeatType)
21
21
  self._seat_type_last_changed_at = Timestamp()
22
22
  self._is_internal = Boolean()
23
+ self._provisional_expiration_date = Timestamp()
23
24
 
24
25
  if props:
25
26
  deserialize(self, props)
@@ -58,6 +59,14 @@ class UserPlan:
58
59
  def is_internal(self, value):
59
60
  self._is_internal.value = value
60
61
 
62
+ @property
63
+ def provisional_expiration_date(self):
64
+ return self._provisional_expiration_date.value
65
+
66
+ @provisional_expiration_date.setter
67
+ def provisional_expiration_date(self, value):
68
+ self._provisional_expiration_date.value = value
69
+
61
70
  def to_dict(self):
62
71
  return serialize(self)
63
72
 
@@ -309,7 +309,7 @@ class Sheets:
309
309
 
310
310
  return response
311
311
 
312
- @deprecated("Use sharing.delete_share instead")
312
+ @deprecated
313
313
  def delete_share(self, sheet_id, share_id):
314
314
  """Delete the specified Share.
315
315
 
@@ -319,7 +319,7 @@ class Sheets:
319
319
 
320
320
  Returns:
321
321
  Result
322
-
322
+
323
323
  Deprecated:
324
324
  Use sharing.delete_share instead with assetType=AssetType.SHEET
325
325
  """
@@ -473,7 +473,7 @@ class Sheets:
473
473
 
474
474
  return response
475
475
 
476
- @deprecated("Use sharing.get_asset_share instead")
476
+ @deprecated
477
477
  def get_share(self, sheet_id, share_id):
478
478
  """Get the specified Share.
479
479
 
@@ -483,7 +483,7 @@ class Sheets:
483
483
 
484
484
  Returns:
485
485
  Share
486
-
486
+
487
487
  Deprecated:
488
488
  Use sharing.get_asset_share instead with assetType=AssetType.SHEET
489
489
  """
@@ -998,7 +998,7 @@ class Sheets:
998
998
 
999
999
  return response
1000
1000
 
1001
- @deprecated("Use sharing.share_asset instead")
1001
+ @deprecated
1002
1002
  def share_sheet(self, sheet_id, share_obj, send_email=None):
1003
1003
  """Share the specified Sheet.
1004
1004
 
@@ -1014,7 +1014,7 @@ class Sheets:
1014
1014
 
1015
1015
  Returns:
1016
1016
  Result
1017
-
1017
+
1018
1018
  Deprecated:
1019
1019
  Use sharing.share_asset instead with assetType=AssetType.SHEET
1020
1020
  """
@@ -1131,7 +1131,7 @@ class Sheets:
1131
1131
 
1132
1132
  return response
1133
1133
 
1134
- @deprecated("Use sharing.update_share instead")
1134
+ @deprecated
1135
1135
  def update_share(self, sheet_id, share_id, share_obj):
1136
1136
  """Update the access level of a User or Group for the specified Sheet.
1137
1137
 
@@ -1142,7 +1142,7 @@ class Sheets:
1142
1142
 
1143
1143
  Returns:
1144
1144
  Result
1145
-
1145
+
1146
1146
  Deprecated:
1147
1147
  Use sharing.update_share instead with assetType=AssetType.SHEET
1148
1148
  """
@@ -629,8 +629,13 @@ class OperationErrorResult:
629
629
  expected (list): Dashed expectations
630
630
  """
631
631
  # look up name of the error
632
- error_payload = self.resp.json()
633
- error_code = error_payload["errorCode"]
632
+ error_payload = {}
633
+ try:
634
+ error_payload = self.resp.json()
635
+ except json.JSONDecodeError:
636
+ # Do not fail if the response is not JSON
637
+ pass
638
+ error_code = error_payload.get("errorCode", 0)
634
639
  try:
635
640
  error_name = OperationErrorResult.error_lookup[error_code]["name"]
636
641
  recommendation = OperationErrorResult.error_lookup[error_code][
@@ -638,6 +643,7 @@ class OperationErrorResult:
638
643
  ]
639
644
  should_retry = OperationErrorResult.error_lookup[error_code]["should_retry"]
640
645
  except:
646
+ # If error_code is present in the response but not in the lookup, default to ApiError
641
647
  error_name = OperationErrorResult.error_lookup[0]["name"]
642
648
  recommendation = OperationErrorResult.error_lookup[0]["recommendation"]
643
649
  should_retry = OperationErrorResult.error_lookup[0]["should_retry"]
@@ -649,8 +655,8 @@ class OperationErrorResult:
649
655
  "name": error_name,
650
656
  "status_code": self.resp.status_code,
651
657
  "code": error_code,
652
- "message": error_payload["message"],
653
- "ref_id": error_payload["refId"],
658
+ "message": error_payload.get("message"),
659
+ "ref_id": error_payload.get("refId"),
654
660
  "recommendation": recommendation,
655
661
  "should_retry": should_retry,
656
662
  }
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '3.3.0'
4
- __version_tuple__ = version_tuple = (3, 3, 0)
3
+ __version__ = version = '3.5.1'
4
+ __version_tuple__ = version_tuple = (3, 5, 1)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: smartsheet-python-sdk
3
- Version: 3.3.0
3
+ Version: 3.5.1
4
4
  Summary: Library that uses Python to connect to Smartsheet services (using API 2.0).
5
5
  Home-page: http://smartsheet-platform.github.io/api-docs/
6
6
  Author: Smartsheet
@@ -20,34 +20,10 @@ Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
21
  Classifier: Topic :: Office/Business :: Financial :: Spreadsheet
22
22
  Description-Content-Type: text/markdown
23
- License-File: LICENSE.md
24
- License-File: NOTICE
25
- Requires-Dist: requests
26
- Requires-Dist: requests-toolbelt
27
- Requires-Dist: six>=1.9
28
- Requires-Dist: certifi
29
- Requires-Dist: python-dateutil
30
23
  Provides-Extra: test
31
- Requires-Dist: coverage; extra == "test"
32
- Requires-Dist: coveralls; extra == "test"
33
- Requires-Dist: pytest; extra == "test"
34
24
  Provides-Extra: develop
35
- Requires-Dist: coverage; extra == "develop"
36
- Requires-Dist: coveralls[yaml]; extra == "develop"
37
- Requires-Dist: pytest; extra == "develop"
38
- Requires-Dist: pytest-instafail; extra == "develop"
39
- Dynamic: author
40
- Dynamic: author-email
41
- Dynamic: classifier
42
- Dynamic: description
43
- Dynamic: description-content-type
44
- Dynamic: home-page
45
- Dynamic: keywords
46
- Dynamic: license
47
- Dynamic: license-file
48
- Dynamic: provides-extra
49
- Dynamic: requires-dist
50
- Dynamic: summary
25
+ License-File: LICENSE.md
26
+ License-File: NOTICE
51
27
 
52
28
  # Smartsheet Python SDK
53
29
 
@@ -22,7 +22,6 @@ docs-source/Makefile
22
22
  docs-source/conf.py
23
23
  docs-source/index.rst
24
24
  smartsheet/__init__.py
25
- smartsheet/asset_shares.py
26
25
  smartsheet/attachments.py
27
26
  smartsheet/cells.py
28
27
  smartsheet/contacts.py
@@ -40,6 +39,7 @@ smartsheet/reports.py
40
39
  smartsheet/search.py
41
40
  smartsheet/server.py
42
41
  smartsheet/session.py
42
+ smartsheet/sharing.py
43
43
  smartsheet/sheets.py
44
44
  smartsheet/sights.py
45
45
  smartsheet/smartsheet.py