smartsheet-python-sdk 3.0.2__tar.gz → 3.0.4__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 (252) hide show
  1. smartsheet-python-sdk-3.0.4/.markdownlint.json +6 -0
  2. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/ADVANCED.md +7 -0
  3. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/CHANGELOG.md +18 -0
  4. {smartsheet-python-sdk-3.0.2/smartsheet_python_sdk.egg-info → smartsheet-python-sdk-3.0.4}/PKG-INFO +1 -1
  5. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/pylintrc +3 -0
  6. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/__init__.py +2 -0
  7. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/events.py +13 -2
  8. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/smartsheet.py +4 -4
  9. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/util.py +8 -0
  10. smartsheet-python-sdk-3.0.4/smartsheet/version.py +16 -0
  11. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4/smartsheet_python_sdk.egg-info}/PKG-INFO +1 -1
  12. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet_python_sdk.egg-info/SOURCES.txt +1 -1
  13. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_events.py +7 -2
  14. smartsheet-python-sdk-3.0.2/.markdownlint.yaml +0 -4
  15. smartsheet-python-sdk-3.0.2/smartsheet/version.py +0 -4
  16. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.gitchangelog.rc +0 -0
  17. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.gitchangelog.tpl +0 -0
  18. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  19. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  20. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.github/workflows/publish-distribution.yaml +0 -0
  21. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.github/workflows/publish-documentation.yaml +0 -0
  22. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.github/workflows/test-build.yaml +0 -0
  23. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/.gitignore +0 -0
  24. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/LICENSE.md +0 -0
  25. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/Makefile +0 -0
  26. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/NOTICE +0 -0
  27. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/README.md +0 -0
  28. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/docs-source/Makefile +0 -0
  29. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/docs-source/conf.py +0 -0
  30. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/docs-source/index.rst +0 -0
  31. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/setup.cfg +0 -0
  32. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/setup.py +0 -0
  33. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/attachments.py +0 -0
  34. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/cells.py +0 -0
  35. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/contacts.py +0 -0
  36. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/discussions.py +0 -0
  37. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/exceptions.py +0 -0
  38. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/favorites.py +0 -0
  39. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/folders.py +0 -0
  40. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/groups.py +0 -0
  41. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/home.py +0 -0
  42. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/images.py +0 -0
  43. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/__init__.py +0 -0
  44. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/access_token.py +0 -0
  45. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/account.py +0 -0
  46. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/alternate_email.py +0 -0
  47. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/attachment.py +0 -0
  48. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/auto_number_format.py +0 -0
  49. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/automation_action.py +0 -0
  50. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/automation_rule.py +0 -0
  51. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/boolean_object_value.py +0 -0
  52. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/bulk_item_failure.py +0 -0
  53. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/bulk_item_result.py +0 -0
  54. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cell.py +0 -0
  55. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cell_data_item.py +0 -0
  56. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cell_history.py +0 -0
  57. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cell_link.py +0 -0
  58. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cell_link_widget_content.py +0 -0
  59. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/chart_widget_content.py +0 -0
  60. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/column.py +0 -0
  61. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/comment.py +0 -0
  62. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/contact.py +0 -0
  63. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/contact_object_value.py +0 -0
  64. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/container_destination.py +0 -0
  65. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/copy_or_move_row_destination.py +0 -0
  66. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/copy_or_move_row_directive.py +0 -0
  67. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/copy_or_move_row_result.py +0 -0
  68. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/criteria.py +0 -0
  69. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/cross_sheet_reference.py +0 -0
  70. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/currency.py +0 -0
  71. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/date_object_value.py +0 -0
  72. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/datetime_object_value.py +0 -0
  73. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/discussion.py +0 -0
  74. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/downloaded_file.py +0 -0
  75. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/duration.py +0 -0
  76. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/email.py +0 -0
  77. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/__init__.py +0 -0
  78. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/access_level.py +0 -0
  79. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/attachment_parent_type.py +0 -0
  80. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/attachment_sub_type.py +0 -0
  81. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/attachment_type.py +0 -0
  82. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/automation_action_frequency.py +0 -0
  83. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/automation_action_type.py +0 -0
  84. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/automation_rule_disabled_reason.py +0 -0
  85. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/cell_link_status.py +0 -0
  86. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/column_type.py +0 -0
  87. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/criteria_target.py +0 -0
  88. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/cross_sheet_reference_status.py +0 -0
  89. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/currency_code.py +0 -0
  90. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/day_descriptors.py +0 -0
  91. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/day_ordinal.py +0 -0
  92. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/event_action.py +0 -0
  93. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/event_obejct_type.py +0 -0
  94. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/event_source.py +0 -0
  95. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/global_template.py +0 -0
  96. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/operator.py +0 -0
  97. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/paper_type.py +0 -0
  98. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/predecessor_type.py +0 -0
  99. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/publish_accessible_by.py +0 -0
  100. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/schedule_type.py +0 -0
  101. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/share_scope.py +0 -0
  102. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/share_type.py +0 -0
  103. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/sheet_email_format.py +0 -0
  104. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/sheet_filter_operator.py +0 -0
  105. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/sheet_filter_type.py +0 -0
  106. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/sort_direction.py +0 -0
  107. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/symbol.py +0 -0
  108. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/system_column_type.py +0 -0
  109. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/update_request_status.py +0 -0
  110. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/user_status.py +0 -0
  111. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/enums/widget_type.py +0 -0
  112. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/error.py +0 -0
  113. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/error_result.py +0 -0
  114. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/event.py +0 -0
  115. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/event_result.py +0 -0
  116. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/explicit_null.py +0 -0
  117. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/favorite.py +0 -0
  118. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/folder.py +0 -0
  119. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/font_family.py +0 -0
  120. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/format_details.py +0 -0
  121. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/format_tables.py +0 -0
  122. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/group.py +0 -0
  123. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/group_member.py +0 -0
  124. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/home.py +0 -0
  125. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/hyperlink.py +0 -0
  126. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/image.py +0 -0
  127. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/image_url.py +0 -0
  128. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/image_url_map.py +0 -0
  129. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/image_widget_content.py +0 -0
  130. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/index_result.py +0 -0
  131. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/json_object.py +0 -0
  132. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/multi_contact_object_value.py +0 -0
  133. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/multi_picklist_object_value.py +0 -0
  134. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/multi_row_email.py +0 -0
  135. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/number_object_value.py +0 -0
  136. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/o_auth_error.py +0 -0
  137. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/object_value.py +0 -0
  138. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/predecessor.py +0 -0
  139. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/predecessor_list.py +0 -0
  140. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/primitive_object_value.py +0 -0
  141. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/profile_image.py +0 -0
  142. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/project_settings.py +0 -0
  143. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/recipient.py +0 -0
  144. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report.py +0 -0
  145. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report_cell.py +0 -0
  146. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report_column.py +0 -0
  147. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report_publish.py +0 -0
  148. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report_row.py +0 -0
  149. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/report_widget_content.py +0 -0
  150. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/result.py +0 -0
  151. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/row.py +0 -0
  152. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/row_email.py +0 -0
  153. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/row_mapping.py +0 -0
  154. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/schedule.py +0 -0
  155. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/scope.py +0 -0
  156. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/search_result.py +0 -0
  157. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/search_result_item.py +0 -0
  158. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/selection_range.py +0 -0
  159. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sent_update_request.py +0 -0
  160. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/server_info.py +0 -0
  161. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/share.py +0 -0
  162. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet.py +0 -0
  163. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_email.py +0 -0
  164. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_filter.py +0 -0
  165. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_filter_details.py +0 -0
  166. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_publish.py +0 -0
  167. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_summary.py +0 -0
  168. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_user_permissions.py +0 -0
  169. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sheet_user_settings.py +0 -0
  170. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/shortcut_data_item.py +0 -0
  171. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/shortcut_widget_content.py +0 -0
  172. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sight.py +0 -0
  173. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sight_publish.py +0 -0
  174. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sort_criterion.py +0 -0
  175. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/sort_specifier.py +0 -0
  176. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/source.py +0 -0
  177. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/string_object_value.py +0 -0
  178. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/summary_field.py +0 -0
  179. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/template.py +0 -0
  180. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/title_rich_text_widget_content.py +0 -0
  181. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/update_request.py +0 -0
  182. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/user.py +0 -0
  183. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/user_model.py +0 -0
  184. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/user_profile.py +0 -0
  185. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/version.py +0 -0
  186. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/web_content_widget_content.py +0 -0
  187. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/webhook.py +0 -0
  188. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/webhook_secret.py +0 -0
  189. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/webhook_stats.py +0 -0
  190. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/webhook_subscope.py +0 -0
  191. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/widget.py +0 -0
  192. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/widget_content.py +0 -0
  193. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/widget_hyperlink.py +0 -0
  194. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/models/workspace.py +0 -0
  195. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/object_value.py +0 -0
  196. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/passthrough.py +0 -0
  197. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/reports.py +0 -0
  198. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/search.py +0 -0
  199. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/server.py +0 -0
  200. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/session.py +0 -0
  201. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/sheets.py +0 -0
  202. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/sights.py +0 -0
  203. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/templates.py +0 -0
  204. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/token.py +0 -0
  205. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/types.py +0 -0
  206. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/users.py +0 -0
  207. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/webhooks.py +0 -0
  208. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet/workspaces.py +0 -0
  209. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet_python_sdk.egg-info/dependency_links.txt +0 -0
  210. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet_python_sdk.egg-info/requires.txt +0 -0
  211. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/smartsheet_python_sdk.egg-info/top_level.txt +0 -0
  212. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/README.md +0 -0
  213. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/conftest.py +0 -0
  214. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/calling_all_curs.txt +0 -0
  215. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/curly.jpg +0 -0
  216. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/moe-curly.jpg +0 -0
  217. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/quote.txt +0 -0
  218. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/stooges_v1.jpg +0 -0
  219. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/fixtures/stooges_v2.jpg +0 -0
  220. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_attachments.py +0 -0
  221. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_columns.py +0 -0
  222. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_contacts.py +0 -0
  223. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_cross_sheet_references.py +0 -0
  224. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_discussions.py +0 -0
  225. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_favorites.py +0 -0
  226. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_folders.py +0 -0
  227. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_groups.py +0 -0
  228. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_home.py +0 -0
  229. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_model_attributes.py +0 -0
  230. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_multi_picklist.py +0 -0
  231. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_object_value.py +0 -0
  232. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_passthrough.py +0 -0
  233. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_regression.py +0 -0
  234. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_reports.py +0 -0
  235. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_rows.py +0 -0
  236. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_server_info.py +0 -0
  237. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_sheet_summary.py +0 -0
  238. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_sheets.py +0 -0
  239. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_templates.py +0 -0
  240. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_update_requests.py +0 -0
  241. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_users.py +0 -0
  242. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_webhooks.py +0 -0
  243. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_workspaces.py +0 -0
  244. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/integration/test_zsearch.py +0 -0
  245. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/mock_api_test_helper.py +0 -0
  246. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_api_automation_rules.py +0 -0
  247. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_api_columns.py +0 -0
  248. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_api_rows.py +0 -0
  249. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_api_sheets.py +0 -0
  250. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_api_sights.py +0 -0
  251. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_change_agent.py +0 -0
  252. {smartsheet-python-sdk-3.0.2 → smartsheet-python-sdk-3.0.4}/tests/mock_api/test_mock_serialization.py +0 -0
@@ -0,0 +1,6 @@
1
+ {
2
+ "line-length": false,
3
+ "no-duplicate-heading": {
4
+ "siblings_only": true
5
+ }
6
+ }
@@ -115,6 +115,13 @@ start consuming events. The `since` parameter can be set with a datetime value t
115
115
  (e.g. 2010-01-01T00:00:00Z) or as UNIX epoch (in which case the `numeric_dates` parameter must also be set to `True`.
116
116
  By default the `numeric_dates` parameter is set to `False`).
117
117
 
118
+ The sample utilizes the `smartsheet_client.Events.list_events` method to request a list of events up to a certain
119
+ point in the stream. The `to` parameter specifies the endpoint in time (i.e., event occurrence datetime) in the stream
120
+ up to which events should be retrieved. This `to` parameter can be assigned a datetime value formatted either as
121
+ ISO 8601 (e.g., 2020-12-31T23:59:59Z) or as UNIX epoch time, in which case the numeric_dates parameter must be set to True.
122
+ If not specified, the `numeric_dates` parameter defaults to `False`, assuming the datetime is in ISO 8601 format.
123
+ This allows for precise control over the range of events to be fetched, facilitating efficient data retrieval and processing.
124
+
118
125
  To consume the next list of events after the initial list of events is returned, set the `stream_position` parameter
119
126
  with the `next_stream_position` property obtained from the previous request and don't set the `since` parameter with
120
127
  any values. This is because when using the `list_events` method, either the `since` parameter or the `stream_position`
@@ -5,6 +5,24 @@ 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.0.4] - 2024-07-29
9
+
10
+ ### Changed
11
+
12
+ - Changed `serialize` function to also handle dicts - this allows the Event Reporting API to
13
+ return the `additionalDetails` object correctly
14
+
15
+ ### Added
16
+
17
+ - `to` parameter added for Event Reporting - allows setting an end timestamp for filtering for
18
+ events
19
+
20
+ ## [3.0.3] - 2024-07-17
21
+
22
+ ### Fixed
23
+
24
+ - fix for [issue 43](https://github.com/smartsheet/smartsheet-python-sdk/issues/43) KeyError: 'content-type'
25
+
8
26
  ## [3.0.2] - 2023-05-15
9
27
 
10
28
  ### Updated
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smartsheet-python-sdk
3
- Version: 3.0.2
3
+ Version: 3.0.4
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
@@ -9,3 +9,6 @@ output-format=colorized
9
9
 
10
10
  [BASIC]
11
11
  include-naming-hint=yes
12
+
13
+ [FORMAT]
14
+ max-line-length=160
@@ -33,3 +33,5 @@ except ImportError:
33
33
 
34
34
  from .smartsheet import (AbstractUserCalcBackoff, Smartsheet, # NOQA
35
35
  fresh_operation)
36
+
37
+ from . import models
@@ -30,13 +30,19 @@ class Events:
30
30
  self._log = logging.getLogger(__name__)
31
31
 
32
32
  def list_events(
33
- self, since=None, stream_position=None, max_count=None, numeric_dates=None
33
+ self, since=None, to=None, stream_position=None, max_count=None, numeric_dates=None # pylint: disable=invalid-name
34
34
  ):
35
35
  """Get the list of all Events.
36
36
 
37
37
  Args:
38
38
  since (str or long): Starting time for events to return.
39
39
  You must pass in a value for either since or streamPosition and never both.
40
+ to (str or long): Ending time for events to return.
41
+ This parameter specifies the endpoint in time for the events to be fetched.
42
+ Similar to the `since` parameter, `to` can be passed in either as a datetime string in
43
+ ISO 8601 format or as a UNIX epoch time in milliseconds. This allows for defining a
44
+ precise time range for the events query. Note that `to` is optional and can be used in
45
+ conjunction with `since` to specify both the start and end times for the event retrieval window.
40
46
  stream_position (str): Indicates next set of events to return.
41
47
  Use value of nextStreamPosition returned from the previous call.
42
48
  You must pass in a value for either since or streamPosition and never both.
@@ -53,9 +59,14 @@ class Events:
53
59
  _op["method"] = "GET"
54
60
  _op["path"] = "/events"
55
61
  if isinstance(since, datetime):
56
- _op["query_params"]["since"] = since # .isoformat()
62
+ _op["query_params"]["since"] = since.isoformat()
57
63
  else:
58
64
  _op["query_params"]["since"] = since
65
+
66
+ if isinstance(to, datetime):
67
+ _op["query_params"]["to"] = to.isoformat()
68
+ else:
69
+ _op["query_params"]["to"] = to
59
70
  _op["query_params"]["streamPosition"] = stream_position
60
71
  _op["query_params"]["maxCount"] = max_count
61
72
  _op["query_params"]["numericDates"] = numeric_dates
@@ -279,16 +279,16 @@ class Smartsheet:
279
279
  response.request.url,
280
280
  )
281
281
  if response.request.body is not None:
282
- body_dumps = f'"<< {response.request.headers["Content-Type"]} content type suppressed >>"'
282
+ body_dumps = f'"<< {response.request.headers.get("Content-Type")} content type suppressed >>"'
283
283
  if is_multipart(response.request):
284
284
  body_dumps = '"<< multipart body suppressed >>"'
285
- elif "application/json" in response.request.headers["Content-Type"]:
285
+ elif response.request.headers.get("Content-Type") is not None and "application/json" in response.request.headers.get("Content-Type"):
286
286
  body = response.request.body.decode("utf8")
287
287
  body_dumps = json.dumps(json.loads(body), sort_keys=True)
288
288
  self._log.debug('{"requestBody": %s}', body_dumps)
289
289
  # response
290
- content_dumps = f'"<< {response.headers["Content-Type"]} content type suppressed >>"'
291
- if "application/json" in response.headers["Content-Type"]:
290
+ content_dumps = f'"<< {response.headers.get("Content-Type")} content type suppressed >>"'
291
+ if response.request.headers.get("Content-Type") is not None and "application/json" in response.headers.get("Content-Type"):
292
292
  content = response.content.decode("utf8")
293
293
  content_dumps = json.dumps(json.loads(content), sort_keys=True)
294
294
  if 200 <= response.status_code <= 299:
@@ -112,6 +112,14 @@ def serialize(obj):
112
112
  serialized = serialize(item)
113
113
  if not hasattr(serialized, "is_explicit_null"):
114
114
  retval.append(serialized)
115
+
116
+ elif isinstance(obj, dict):
117
+ retval = {}
118
+ for key, value in obj.items():
119
+ serialized_value = serialize(value)
120
+ if not hasattr(serialized_value, "is_explicit_null"):
121
+ retval[key] = serialized_value
122
+
115
123
  else:
116
124
  retval = {}
117
125
  prop_list = get_child_properties(obj)
@@ -0,0 +1,16 @@
1
+ # file generated by setuptools_scm
2
+ # don't change, don't track in version control
3
+ TYPE_CHECKING = False
4
+ if TYPE_CHECKING:
5
+ from typing import Tuple, Union
6
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
7
+ else:
8
+ VERSION_TUPLE = object
9
+
10
+ version: str
11
+ __version__: str
12
+ __version_tuple__: VERSION_TUPLE
13
+ version_tuple: VERSION_TUPLE
14
+
15
+ __version__ = version = '3.0.4'
16
+ __version_tuple__ = version_tuple = (3, 0, 4)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smartsheet-python-sdk
3
- Version: 3.0.2
3
+ Version: 3.0.4
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
@@ -1,7 +1,7 @@
1
1
  .gitchangelog.rc
2
2
  .gitchangelog.tpl
3
3
  .gitignore
4
- .markdownlint.yaml
4
+ .markdownlint.json
5
5
  ADVANCED.md
6
6
  CHANGELOG.md
7
7
  LICENSE.md
@@ -3,7 +3,6 @@ import six
3
3
  from datetime import datetime, timedelta
4
4
  import smartsheet
5
5
 
6
-
7
6
  @pytest.mark.usefixtures("smart_setup")
8
7
  class TestEvents:
9
8
 
@@ -11,7 +10,9 @@ class TestEvents:
11
10
  smart = smart_setup['smart']
12
11
 
13
12
  last_hour = datetime.now() - timedelta(hours=1)
14
- events_list = smart.Events.list_events(since=last_hour.isoformat(), max_count=10)
13
+ current_time = datetime.now()
14
+
15
+ events_list = smart.Events.list_events(since=last_hour.isoformat(), to=current_time.isoformat(), max_count=10)
15
16
  assert isinstance(events_list, smart.models.EventResult)
16
17
  assert len(events_list.data) <= 10
17
18
  for event in events_list.data:
@@ -24,6 +25,8 @@ class TestEvents:
24
25
  assert event.request_user_id is not None
25
26
  # assert event.access_token_name is not None
26
27
  assert event.source.value is not None
28
+ if event.additional_details is not None:
29
+ assert isinstance(event.additional_details, dict)
27
30
 
28
31
  while events_list.more_available:
29
32
  events_list = smart.Events.list_events(stream_position=events_list.next_stream_position, max_count=10,
@@ -40,6 +43,8 @@ class TestEvents:
40
43
  assert event.request_user_id is not None
41
44
  # assert event.access_token_name is not None
42
45
  assert event.source.value is not None
46
+ if event.additional_details is not None:
47
+ assert isinstance(event.additional_details, dict)
43
48
 
44
49
  def test_invalid_params(self, smart_setup):
45
50
  smart = smart_setup['smart']
@@ -1,4 +0,0 @@
1
- {
2
- "line-length": false,
3
- "no-duplicate-header": false
4
- }
@@ -1,4 +0,0 @@
1
- # file generated by setuptools_scm
2
- # don't change, don't track in version control
3
- __version__ = version = '3.0.2'
4
- __version_tuple__ = version_tuple = (3, 0, 2)