dart-tools 0.6.16__tar.gz → 0.7.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.
Potentially problematic release.
This version of dart-tools might be problematic. Click here for more details.
- {dart_tools-0.6.16/dart_tools.egg-info → dart_tools-0.7.1}/PKG-INFO +33 -62
- {dart_tools-0.6.16 → dart_tools-0.7.1}/README.md +27 -56
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/__init__.py +8 -6
- dart_tools-0.7.1/dart/dart.py +865 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/__init__.py +1 -1
- dart_tools-0.7.1/dart/generated/api/__init__.py +9 -0
- dart_tools-0.7.1/dart/generated/api/comment/__init__.py +1 -0
- dart_tools-0.6.16/dart/generated/api/transactions/transactions_create.py → dart_tools-0.7.1/dart/generated/api/comment/create_comment.py +57 -58
- dart_tools-0.7.1/dart/generated/api/config/__init__.py +1 -0
- dart_tools-0.7.1/dart/generated/api/config/get_config.py +141 -0
- dart_tools-0.7.1/dart/generated/api/dartboard/__init__.py +1 -0
- dart_tools-0.6.16/dart/generated/api/attachments/attachments_list.py → dart_tools-0.7.1/dart/generated/api/dartboard/retrieve_dartboard.py +58 -62
- dart_tools-0.7.1/dart/generated/api/doc/__init__.py +1 -0
- dart_tools-0.7.1/dart/generated/api/doc/create_doc.py +179 -0
- dart_tools-0.7.1/dart/generated/api/doc/delete_doc.py +165 -0
- dart_tools-0.6.16/dart/generated/api/comments/comments_list.py → dart_tools-0.7.1/dart/generated/api/doc/list_docs.py +115 -111
- dart_tools-0.6.16/dart/generated/api/forms/forms_list.py → dart_tools-0.7.1/dart/generated/api/doc/retrieve_doc.py +58 -62
- dart_tools-0.7.1/dart/generated/api/doc/update_doc.py +188 -0
- dart_tools-0.7.1/dart/generated/api/folder/__init__.py +1 -0
- dart_tools-0.6.16/dart/generated/api/webhooks/webhooks_list.py → dart_tools-0.7.1/dart/generated/api/folder/retrieve_folder.py +58 -62
- dart_tools-0.7.1/dart/generated/api/task/__init__.py +1 -0
- dart_tools-0.7.1/dart/generated/api/task/create_task.py +172 -0
- dart_tools-0.7.1/dart/generated/api/task/delete_task.py +165 -0
- dart_tools-0.7.1/dart/generated/api/task/list_tasks.py +497 -0
- dart_tools-0.6.16/dart/generated/api/tenants/tenants_list.py → dart_tools-0.7.1/dart/generated/api/task/retrieve_task.py +58 -62
- dart_tools-0.7.1/dart/generated/api/task/update_task.py +188 -0
- dart_tools-0.7.1/dart/generated/api/view/__init__.py +1 -0
- dart_tools-0.6.16/dart/generated/api/layouts/layouts_list.py → dart_tools-0.7.1/dart/generated/api/view/retrieve_view.py +58 -62
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/client.py +13 -13
- dart_tools-0.7.1/dart/generated/models/__init__.py +65 -0
- dart_tools-0.7.1/dart/generated/models/comment.py +91 -0
- dart_tools-0.7.1/dart/generated/models/comment_create.py +67 -0
- dart_tools-0.7.1/dart/generated/models/concise_doc.py +84 -0
- dart_tools-0.7.1/dart/generated/models/concise_task.py +267 -0
- dart_tools-0.7.1/dart/generated/models/dartboard.py +105 -0
- dart_tools-0.7.1/dart/generated/models/doc.py +91 -0
- dart_tools-0.7.1/dart/generated/models/doc_create.py +79 -0
- dart_tools-0.7.1/dart/generated/models/doc_update.py +88 -0
- dart_tools-0.7.1/dart/generated/models/folder.py +105 -0
- dart_tools-0.7.1/dart/generated/models/list_docs_o_item.py +15 -0
- dart_tools-0.6.16/dart/generated/models/paginated_attachment_list.py → dart_tools-0.7.1/dart/generated/models/paginated_concise_doc_list.py +18 -17
- dart_tools-0.6.16/dart/generated/models/paginated_comment_list.py → dart_tools-0.7.1/dart/generated/models/paginated_concise_task_list.py +18 -17
- dart_tools-0.7.1/dart/generated/models/task.py +274 -0
- dart_tools-0.7.1/dart/generated/models/task_create.py +268 -0
- dart_tools-0.7.1/dart/generated/models/task_update.py +277 -0
- dart_tools-0.6.16/dart/generated/models/event_subscription.py → dart_tools-0.7.1/dart/generated/models/user.py +21 -28
- dart_tools-0.7.1/dart/generated/models/user_space_configuration.py +147 -0
- dart_tools-0.7.1/dart/generated/models/view.py +105 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_comment.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_comment_create.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_dartboard.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_doc.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_doc_create.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_doc_update.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_folder.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_task.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_task_create.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_task_update.py +65 -0
- dart_tools-0.7.1/dart/generated/models/wrapped_view.py +65 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/types.py +4 -3
- dart_tools-0.7.1/dart/old.py +216 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/order_manager.py +4 -15
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/webhook.py +2 -7
- {dart_tools-0.6.16 → dart_tools-0.7.1/dart_tools.egg-info}/PKG-INFO +33 -62
- dart_tools-0.7.1/dart_tools.egg-info/SOURCES.txt +74 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart_tools.egg-info/requires.txt +0 -1
- {dart_tools-0.6.16 → dart_tools-0.7.1}/pyproject.toml +19 -6
- dart_tools-0.6.16/dart/dart.py +0 -1144
- dart_tools-0.6.16/dart/generated/api/__init__.py +0 -1
- dart_tools-0.6.16/dart/generated/api/attachments/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/comments/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/dartboards/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/dartboards/dartboards_list.py +0 -286
- dart_tools-0.6.16/dart/generated/api/dashboards/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/dashboards/dashboards_list.py +0 -199
- dart_tools-0.6.16/dart/generated/api/docs/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/docs/docs_list.py +0 -387
- dart_tools-0.6.16/dart/generated/api/folders/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/folders/folders_list.py +0 -249
- dart_tools-0.6.16/dart/generated/api/form_fields/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/form_fields/form_fields_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/forms/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/layouts/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/links/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/links/links_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/options/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/options/options_list.py +0 -244
- dart_tools-0.6.16/dart/generated/api/properties/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/properties/properties_list.py +0 -219
- dart_tools-0.6.16/dart/generated/api/reactions/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/reactions/reactions_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/relationship_kinds/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/relationship_kinds/relationship_kinds_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/relationships/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/relationships/relationships_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/spaces/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/spaces/spaces_list.py +0 -229
- dart_tools-0.6.16/dart/generated/api/statuses/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/statuses/statuses_list.py +0 -264
- dart_tools-0.6.16/dart/generated/api/task_doc_relationships/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/task_doc_relationships/task_doc_relationships_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/task_kinds/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/task_kinds/task_kinds_list.py +0 -219
- dart_tools-0.6.16/dart/generated/api/tasks/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/tasks/tasks_list.py +0 -461
- dart_tools-0.6.16/dart/generated/api/tenants/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/transactions/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/user_dartboard_layouts/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/user_dartboard_layouts/user_dartboard_layouts_list.py +0 -169
- dart_tools-0.6.16/dart/generated/api/user_data/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/user_data/user_data_entity_retrieve.py +0 -580
- dart_tools-0.6.16/dart/generated/api/users/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/users/users_list.py +0 -229
- dart_tools-0.6.16/dart/generated/api/views/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/api/views/views_list.py +0 -199
- dart_tools-0.6.16/dart/generated/api/webhooks/__init__.py +0 -0
- dart_tools-0.6.16/dart/generated/models/__init__.py +0 -373
- dart_tools-0.6.16/dart/generated/models/attachment.py +0 -112
- dart_tools-0.6.16/dart/generated/models/attachment_create.py +0 -121
- dart_tools-0.6.16/dart/generated/models/attachment_update.py +0 -125
- dart_tools-0.6.16/dart/generated/models/bar_chart_adtl.py +0 -98
- dart_tools-0.6.16/dart/generated/models/brainstorm.py +0 -149
- dart_tools-0.6.16/dart/generated/models/brainstorm_create.py +0 -134
- dart_tools-0.6.16/dart/generated/models/brainstorm_state.py +0 -10
- dart_tools-0.6.16/dart/generated/models/brainstorm_update.py +0 -153
- dart_tools-0.6.16/dart/generated/models/burn_up_chart_adtl.py +0 -103
- dart_tools-0.6.16/dart/generated/models/chart.py +0 -208
- dart_tools-0.6.16/dart/generated/models/chart_aggregation.py +0 -10
- dart_tools-0.6.16/dart/generated/models/chart_type.py +0 -14
- dart_tools-0.6.16/dart/generated/models/comment.py +0 -207
- dart_tools-0.6.16/dart/generated/models/comment_create.py +0 -146
- dart_tools-0.6.16/dart/generated/models/comment_reaction.py +0 -84
- dart_tools-0.6.16/dart/generated/models/comment_reaction_create.py +0 -82
- dart_tools-0.6.16/dart/generated/models/comment_reaction_update.py +0 -87
- dart_tools-0.6.16/dart/generated/models/comment_update.py +0 -148
- dart_tools-0.6.16/dart/generated/models/dartboard.py +0 -305
- dart_tools-0.6.16/dart/generated/models/dartboard_create.py +0 -315
- dart_tools-0.6.16/dart/generated/models/dartboard_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/dartboard_update.py +0 -317
- dart_tools-0.6.16/dart/generated/models/dartboards_list_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/dashboard.py +0 -185
- dart_tools-0.6.16/dart/generated/models/dashboard_create.py +0 -171
- dart_tools-0.6.16/dart/generated/models/dashboard_update.py +0 -173
- dart_tools-0.6.16/dart/generated/models/discord_integration.py +0 -72
- dart_tools-0.6.16/dart/generated/models/doc.py +0 -243
- dart_tools-0.6.16/dart/generated/models/doc_create.py +0 -295
- dart_tools-0.6.16/dart/generated/models/doc_source_type.py +0 -13
- dart_tools-0.6.16/dart/generated/models/doc_update.py +0 -295
- dart_tools-0.6.16/dart/generated/models/docs_list_o_item.py +0 -15
- dart_tools-0.6.16/dart/generated/models/entity_name.py +0 -22
- dart_tools-0.6.16/dart/generated/models/event.py +0 -420
- dart_tools-0.6.16/dart/generated/models/event_actor.py +0 -19
- dart_tools-0.6.16/dart/generated/models/event_create.py +0 -158
- dart_tools-0.6.16/dart/generated/models/event_kind.py +0 -88
- dart_tools-0.6.16/dart/generated/models/event_subscription_update.py +0 -173
- dart_tools-0.6.16/dart/generated/models/filter_applicability.py +0 -22
- dart_tools-0.6.16/dart/generated/models/filter_assignee.py +0 -116
- dart_tools-0.6.16/dart/generated/models/filter_connector.py +0 -9
- dart_tools-0.6.16/dart/generated/models/filter_group.py +0 -112
- dart_tools-0.6.16/dart/generated/models/filter_search.py +0 -82
- dart_tools-0.6.16/dart/generated/models/filter_set.py +0 -116
- dart_tools-0.6.16/dart/generated/models/folder.py +0 -150
- dart_tools-0.6.16/dart/generated/models/folder_create.py +0 -150
- dart_tools-0.6.16/dart/generated/models/folder_kind.py +0 -10
- dart_tools-0.6.16/dart/generated/models/folder_update.py +0 -152
- dart_tools-0.6.16/dart/generated/models/folders_list_kind.py +0 -10
- dart_tools-0.6.16/dart/generated/models/form.py +0 -147
- dart_tools-0.6.16/dart/generated/models/form_create.py +0 -141
- dart_tools-0.6.16/dart/generated/models/form_field.py +0 -144
- dart_tools-0.6.16/dart/generated/models/form_field_create.py +0 -129
- dart_tools-0.6.16/dart/generated/models/form_field_update.py +0 -132
- dart_tools-0.6.16/dart/generated/models/form_update.py +0 -142
- dart_tools-0.6.16/dart/generated/models/github_integration.py +0 -163
- dart_tools-0.6.16/dart/generated/models/github_integration_tenant_extension_status.py +0 -11
- dart_tools-0.6.16/dart/generated/models/google_data.py +0 -94
- dart_tools-0.6.16/dart/generated/models/icon_kind.py +0 -10
- dart_tools-0.6.16/dart/generated/models/layout.py +0 -167
- dart_tools-0.6.16/dart/generated/models/layout_config.py +0 -70
- dart_tools-0.6.16/dart/generated/models/layout_create.py +0 -130
- dart_tools-0.6.16/dart/generated/models/layout_kind.py +0 -11
- dart_tools-0.6.16/dart/generated/models/layout_kind_config_map.py +0 -56
- dart_tools-0.6.16/dart/generated/models/layout_update.py +0 -130
- dart_tools-0.6.16/dart/generated/models/line_chart_adtl.py +0 -72
- dart_tools-0.6.16/dart/generated/models/models_response.py +0 -671
- dart_tools-0.6.16/dart/generated/models/notification.py +0 -120
- dart_tools-0.6.16/dart/generated/models/notification_update.py +0 -100
- dart_tools-0.6.16/dart/generated/models/notion_integration.py +0 -90
- dart_tools-0.6.16/dart/generated/models/notion_integration_tenant_extension_status.py +0 -10
- dart_tools-0.6.16/dart/generated/models/number_chart_adtl.py +0 -77
- dart_tools-0.6.16/dart/generated/models/operation.py +0 -874
- dart_tools-0.6.16/dart/generated/models/operation_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/operation_model_kind.py +0 -36
- dart_tools-0.6.16/dart/generated/models/option.py +0 -118
- dart_tools-0.6.16/dart/generated/models/option_create.py +0 -105
- dart_tools-0.6.16/dart/generated/models/option_update.py +0 -107
- dart_tools-0.6.16/dart/generated/models/paginated_comment_reaction_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_dartboard_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_dashboard_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_doc_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_folder_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_form_field_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_form_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_layout_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_option_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_property_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_relationship_kind_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_relationship_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_space_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_status_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_task_doc_relationship_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_task_kind_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_task_link_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_task_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_tenant_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_user_dartboard_layout_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_user_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_view_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/paginated_webhook_list.py +0 -122
- dart_tools-0.6.16/dart/generated/models/pie_chart_adtl.py +0 -69
- dart_tools-0.6.16/dart/generated/models/pie_chart_display_metric.py +0 -9
- dart_tools-0.6.16/dart/generated/models/properties_list_kind.py +0 -32
- dart_tools-0.6.16/dart/generated/models/property_.py +0 -153
- dart_tools-0.6.16/dart/generated/models/property_create.py +0 -137
- dart_tools-0.6.16/dart/generated/models/property_kind.py +0 -32
- dart_tools-0.6.16/dart/generated/models/property_update.py +0 -146
- dart_tools-0.6.16/dart/generated/models/relationship.py +0 -74
- dart_tools-0.6.16/dart/generated/models/relationship_create.py +0 -93
- dart_tools-0.6.16/dart/generated/models/relationship_kind.py +0 -123
- dart_tools-0.6.16/dart/generated/models/relationship_kind_create.py +0 -117
- dart_tools-0.6.16/dart/generated/models/relationship_kind_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/relationship_kind_update.py +0 -119
- dart_tools-0.6.16/dart/generated/models/report_kind.py +0 -9
- dart_tools-0.6.16/dart/generated/models/request_body.py +0 -83
- dart_tools-0.6.16/dart/generated/models/response_body.py +0 -72
- dart_tools-0.6.16/dart/generated/models/saml_config.py +0 -77
- dart_tools-0.6.16/dart/generated/models/saml_config_tenant_extension_status.py +0 -9
- dart_tools-0.6.16/dart/generated/models/slack_integration.py +0 -90
- dart_tools-0.6.16/dart/generated/models/slack_integration_tenant_extension_status.py +0 -10
- dart_tools-0.6.16/dart/generated/models/sort.py +0 -66
- dart_tools-0.6.16/dart/generated/models/space.py +0 -311
- dart_tools-0.6.16/dart/generated/models/space_create.py +0 -340
- dart_tools-0.6.16/dart/generated/models/space_kind.py +0 -10
- dart_tools-0.6.16/dart/generated/models/space_update.py +0 -341
- dart_tools-0.6.16/dart/generated/models/sprint_mode.py +0 -9
- dart_tools-0.6.16/dart/generated/models/status.py +0 -141
- dart_tools-0.6.16/dart/generated/models/status_create.py +0 -125
- dart_tools-0.6.16/dart/generated/models/status_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/status_update.py +0 -135
- dart_tools-0.6.16/dart/generated/models/statuses_list_kind.py +0 -12
- dart_tools-0.6.16/dart/generated/models/subscription.py +0 -9
- dart_tools-0.6.16/dart/generated/models/subtask_display_mode.py +0 -10
- dart_tools-0.6.16/dart/generated/models/summary_statistic_kind.py +0 -14
- dart_tools-0.6.16/dart/generated/models/table_chart_adtl.py +0 -98
- dart_tools-0.6.16/dart/generated/models/task.py +0 -531
- dart_tools-0.6.16/dart/generated/models/task_create.py +0 -583
- dart_tools-0.6.16/dart/generated/models/task_detail_mode.py +0 -10
- dart_tools-0.6.16/dart/generated/models/task_doc_relationship.py +0 -96
- dart_tools-0.6.16/dart/generated/models/task_doc_relationship_create.py +0 -74
- dart_tools-0.6.16/dart/generated/models/task_kind.py +0 -149
- dart_tools-0.6.16/dart/generated/models/task_kind_create.py +0 -144
- dart_tools-0.6.16/dart/generated/models/task_kind_kind.py +0 -9
- dart_tools-0.6.16/dart/generated/models/task_kind_update.py +0 -153
- dart_tools-0.6.16/dart/generated/models/task_kinds_list_kind.py +0 -9
- dart_tools-0.6.16/dart/generated/models/task_link.py +0 -131
- dart_tools-0.6.16/dart/generated/models/task_link_create.py +0 -152
- dart_tools-0.6.16/dart/generated/models/task_link_kind.py +0 -19
- dart_tools-0.6.16/dart/generated/models/task_link_update.py +0 -155
- dart_tools-0.6.16/dart/generated/models/task_notion_document.py +0 -196
- dart_tools-0.6.16/dart/generated/models/task_notion_document_block_children_map_type_0.py +0 -43
- dart_tools-0.6.16/dart/generated/models/task_notion_document_block_map_type_0.py +0 -43
- dart_tools-0.6.16/dart/generated/models/task_notion_document_page_map_type_0.py +0 -43
- dart_tools-0.6.16/dart/generated/models/task_properties.py +0 -43
- dart_tools-0.6.16/dart/generated/models/task_source_type.py +0 -31
- dart_tools-0.6.16/dart/generated/models/task_update.py +0 -585
- dart_tools-0.6.16/dart/generated/models/tenant.py +0 -386
- dart_tools-0.6.16/dart/generated/models/tenant_update.py +0 -166
- dart_tools-0.6.16/dart/generated/models/theme.py +0 -10
- dart_tools-0.6.16/dart/generated/models/transaction.py +0 -158
- dart_tools-0.6.16/dart/generated/models/transaction_kind.py +0 -74
- dart_tools-0.6.16/dart/generated/models/transaction_response.py +0 -96
- dart_tools-0.6.16/dart/generated/models/user.py +0 -245
- dart_tools-0.6.16/dart/generated/models/user_dartboard_layout.py +0 -66
- dart_tools-0.6.16/dart/generated/models/user_dartboard_layout_create.py +0 -74
- dart_tools-0.6.16/dart/generated/models/user_data_entity_retrieve_entity_kind.py +0 -32
- dart_tools-0.6.16/dart/generated/models/user_role.py +0 -12
- dart_tools-0.6.16/dart/generated/models/user_status.py +0 -12
- dart_tools-0.6.16/dart/generated/models/user_update.py +0 -210
- dart_tools-0.6.16/dart/generated/models/validation_error_response.py +0 -64
- dart_tools-0.6.16/dart/generated/models/validation_error_response_items.py +0 -43
- dart_tools-0.6.16/dart/generated/models/view.py +0 -215
- dart_tools-0.6.16/dart/generated/models/view_create.py +0 -213
- dart_tools-0.6.16/dart/generated/models/view_kind.py +0 -11
- dart_tools-0.6.16/dart/generated/models/view_update.py +0 -215
- dart_tools-0.6.16/dart/generated/models/webhook.py +0 -96
- dart_tools-0.6.16/dart/generated/models/webhook_create.py +0 -77
- dart_tools-0.6.16/dart/generated/models/webhook_update.py +0 -78
- dart_tools-0.6.16/dart/generated/models/zapier_integration.py +0 -66
- dart_tools-0.6.16/dart_tools.egg-info/SOURCES.txt +0 -260
- dart_tools-0.6.16/dart_tools.egg-info/dist/dart-tools-0.3.3.tar.gz +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/LICENSE +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/exception.py +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/errors.py +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/models/priority.py +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart/generated/py.typed +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart_tools.egg-info/dependency_links.txt +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart_tools.egg-info/entry_points.txt +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/dart_tools.egg-info/top_level.txt +0 -0
- {dart_tools-0.6.16 → dart_tools-0.7.1}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dart-tools
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: The Dart CLI and Python Library
|
|
5
|
-
Author-email: Dart
|
|
5
|
+
Author-email: Dart <software@itsdart.com>
|
|
6
6
|
License: MIT License
|
|
7
7
|
|
|
8
8
|
Copyright (c) 2023 Dart
|
|
@@ -28,8 +28,8 @@ License: MIT License
|
|
|
28
28
|
Project-URL: Homepage, https://www.itsdart.com/?nr=1
|
|
29
29
|
Project-URL: Web App, https://app.itsdart.com/
|
|
30
30
|
Project-URL: Help Center, https://help.itsdart.com/
|
|
31
|
-
Project-URL: Bugs and Features, https://github.com/its-dart/dart-tools/issues
|
|
32
|
-
Project-URL: Library Source, https://github.com/its-dart/dart-tools/
|
|
31
|
+
Project-URL: Bugs and Features, https://github.com/its-dart/dart-tools-py/issues
|
|
32
|
+
Project-URL: Library Source, https://github.com/its-dart/dart-tools-py/
|
|
33
33
|
Keywords: dart,cli,projectmanagement,taskmanagement
|
|
34
34
|
Classifier: Development Status :: 4 - Beta
|
|
35
35
|
Classifier: Environment :: Console
|
|
@@ -59,14 +59,14 @@ Requires-Dist: dateparser
|
|
|
59
59
|
Requires-Dist: httpx
|
|
60
60
|
Requires-Dist: pick
|
|
61
61
|
Requires-Dist: platformdirs
|
|
62
|
-
|
|
62
|
+
Dynamic: license-file
|
|
63
63
|
|
|
64
64
|
<div align="center">
|
|
65
65
|
<h1>Dart Tools</h1>
|
|
66
66
|
<p>
|
|
67
67
|
<a href="https://pypi.org/project/dart-tools"><img src="https://img.shields.io/pypi/v/dart-tools" alt="PyPI"></a>
|
|
68
68
|
<a href="pyproject.toml"><img src="https://img.shields.io/pypi/pyversions/dart-tools" alt="Supported Python Versions"></a>
|
|
69
|
-
<a href="LICENSE"><img src="https://img.shields.io/github/license/its-dart/dart-tools" alt="License"></a>
|
|
69
|
+
<a href="LICENSE"><img src="https://img.shields.io/github/license/its-dart/dart-tools-py" alt="License"></a>
|
|
70
70
|
</p>
|
|
71
71
|
</div>
|
|
72
72
|
|
|
@@ -74,52 +74,63 @@ Requires-Dist: requests
|
|
|
74
74
|
|
|
75
75
|
`dart-tools` is the Dart CLI and Python Library. It enables direct integration with Dart through a terminal CLI or through Python.
|
|
76
76
|
|
|
77
|
-
|
|
78
77
|
- [Installation](#installation)
|
|
78
|
+
- [Naming conflicts](#naming-conflicts)
|
|
79
79
|
- [Using the CLI](#using-the-cli)
|
|
80
80
|
- [Using the Python Library](#using-the-python-library)
|
|
81
81
|
- [Using the Python Library in AWS Lambda Functions](#using-the-python-library-in-aws-lambda-functions)
|
|
82
|
-
- [
|
|
82
|
+
- [Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.](#navigate-to-the-directory-containing-your-lambda_functionpy-source-file-in-this-example-the-directory-is-named-my_function)
|
|
83
|
+
- [Create a Deployment Package](#create-a-deployment-package)
|
|
84
|
+
- [Zip the contents of the `package` directory along with your `lambda_function.py`](#zip-the-contents-of-the-package-directory-along-with-your-lambda_functionpy)
|
|
85
|
+
- [Deploy the Lambda function](#deploy-the-lambda-function)
|
|
83
86
|
- [Help and Resources](#help-and-resources)
|
|
84
87
|
- [Contributing](#contributing)
|
|
85
88
|
- [License](#license)
|
|
86
89
|
|
|
87
|
-
|
|
88
90
|
## Installation
|
|
89
91
|
|
|
90
92
|
In the terminal, install by running
|
|
93
|
+
|
|
91
94
|
```sh
|
|
92
95
|
pip install dart-tools
|
|
93
96
|
```
|
|
94
97
|
|
|
98
|
+
### Naming conflicts
|
|
99
|
+
|
|
100
|
+
If you have a preexisting shell command named `dart`, a quick fix is to run `which -a dart` and fine the path for this `dart` application. Then you can create an alias and add it to your shell profile file (`.zshrc`, `.bashrc`, etc.). For example, open `~/.zshrc` and add a line like `alias dartai="/path/to/dart"`, save it, and restart your terminal.
|
|
95
101
|
|
|
96
102
|
## Using the CLI
|
|
97
103
|
|
|
98
104
|
Start off by setting up authentication with
|
|
105
|
+
|
|
99
106
|
```sh
|
|
100
107
|
dart login
|
|
101
108
|
```
|
|
102
109
|
|
|
103
110
|
Then, you can create a new task with a command along the lines of
|
|
111
|
+
|
|
104
112
|
```sh
|
|
105
|
-
dart
|
|
113
|
+
dart task-create "Update the landing page" -p0 --tag marketing
|
|
106
114
|
```
|
|
115
|
+
|
|
107
116
|
which will make a new task called 'Update the landing page' with priority 'Critical' (i.e. P0) and with the 'marketing' tag.
|
|
108
117
|
|
|
109
|
-
You can explore all of these options and many more with `dart --help` or the more specific help for subcommands, in this case `dart
|
|
118
|
+
You can explore all of these options and many more with `dart --help` or the more specific help for subcommands, in this case `dart task-create --help`.
|
|
110
119
|
|
|
111
120
|
Another common workflow is to updating a preexisting task. To do this, run something like
|
|
121
|
+
|
|
112
122
|
```sh
|
|
113
|
-
dart
|
|
123
|
+
dart task-update [ID] -s Done
|
|
114
124
|
```
|
|
115
|
-
This command will mark the referenced task 'Done'. Here `[DUID]` is meant to be replaced (including the brackets) with the 'Dart ID' of an existing task. You can get a DUID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
|
|
116
125
|
|
|
126
|
+
This command will mark the referenced task 'Done'. Here `[ID]` is meant to be replaced (including the brackets) with the ID of an existing task. You can get a ID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
|
|
117
127
|
|
|
118
128
|
## Using the Python Library
|
|
119
129
|
|
|
120
|
-
First, set up authentication. Run `dart login` in the terminal for an interactive process,
|
|
130
|
+
First, set up authentication. Run `dart login` in the terminal for an interactive process. Alternatively, copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account) and save that as the `DART_TOKEN` environment variable.
|
|
121
131
|
|
|
122
132
|
Then, you can run something like
|
|
133
|
+
|
|
123
134
|
```python
|
|
124
135
|
import os
|
|
125
136
|
from dart import create_task, is_logged_in, update_task
|
|
@@ -133,21 +144,20 @@ new_task = create_task(
|
|
|
133
144
|
)
|
|
134
145
|
|
|
135
146
|
# Update the task to be 'Done'
|
|
136
|
-
update_task(new_task.
|
|
147
|
+
update_task(new_task.id, status_title="Done")
|
|
137
148
|
```
|
|
138
149
|
|
|
139
|
-
|
|
140
150
|
## Using the Python Library in AWS Lambda Functions
|
|
141
151
|
|
|
142
152
|
To use the `dart-tools` Python library in an AWS Lambda function, you need to package the library with your Lambda deployment package (see more details at [Working with .zip file archives for Python Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/python-package.html)). Follow these steps:
|
|
143
153
|
|
|
144
|
-
|
|
154
|
+
### Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.
|
|
145
155
|
|
|
146
156
|
```sh
|
|
147
157
|
cd my_function
|
|
148
158
|
```
|
|
149
159
|
|
|
150
|
-
|
|
160
|
+
### Create a Deployment Package
|
|
151
161
|
|
|
152
162
|
Use Docker to create a deployment package that includes the `dart-tools` library. Run the following commands in your terminal, ensuring that the `RUNTIME_PYTHON_VERSION` and `RUNTIME_ARCHITECTURE` environment variables match the runtime settings of your Lambda function:
|
|
153
163
|
|
|
@@ -159,7 +169,7 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
|
|
|
159
169
|
|
|
160
170
|
This command installs the `dart-tools` library into a directory named `package` in your current working directory.
|
|
161
171
|
|
|
162
|
-
|
|
172
|
+
### Zip the contents of the `package` directory along with your `lambda_function.py`
|
|
163
173
|
|
|
164
174
|
```sh
|
|
165
175
|
cd package
|
|
@@ -168,58 +178,19 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
|
|
|
168
178
|
zip -r my_deployment_package.zip lambda_function.py
|
|
169
179
|
```
|
|
170
180
|
|
|
171
|
-
|
|
181
|
+
### Deploy the Lambda function
|
|
172
182
|
|
|
173
183
|
Upload the `my_deployment_package.zip` file to AWS Lambda using the AWS Management Console or the AWS CLI.
|
|
174
184
|
|
|
175
185
|
By following these steps, you can use the `dart-tools` Python library within your AWS Lambda functions.
|
|
176
186
|
|
|
177
|
-
|
|
178
|
-
## Advanced Usage
|
|
179
|
-
|
|
180
|
-
Almost anything that can be done in Dart can be done with the Python library, but there are not convenient wrapper functions for everything.
|
|
181
|
-
For most advanced usage, the best thing to do is to [get in touch with us](mailto:support@itsdart.com) and we can help.
|
|
182
|
-
|
|
183
|
-
However, if you want to explore on your own, the client is well-typed, so you can simply explore the code to see what is possible.
|
|
184
|
-
All updates will go through the the `dart.transact` function.
|
|
185
|
-
|
|
186
|
-
As an example, you could run something akin to `update_task` with
|
|
187
|
-
```python
|
|
188
|
-
from dart import (
|
|
189
|
-
Dart,
|
|
190
|
-
Operation,
|
|
191
|
-
OperationKind,
|
|
192
|
-
OperationModelKind,
|
|
193
|
-
TaskUpdate,
|
|
194
|
-
TransactionKind,
|
|
195
|
-
)
|
|
196
|
-
|
|
197
|
-
# Initialize the inner client
|
|
198
|
-
dart = Dart()
|
|
199
|
-
|
|
200
|
-
# Prepare the update operation
|
|
201
|
-
task_update = TaskUpdate(
|
|
202
|
-
duid="[DUID]",
|
|
203
|
-
size=5,
|
|
204
|
-
)
|
|
205
|
-
task_update_op = Operation(
|
|
206
|
-
model=OperationModelKind.TASK,
|
|
207
|
-
kind=OperationKind.UPDATE,
|
|
208
|
-
data=task_update,
|
|
209
|
-
)
|
|
210
|
-
|
|
211
|
-
# Call the operation transactionally to perform the update
|
|
212
|
-
response = dart.transact([task_update_op], TransactionKind.TASK_UPDATE)
|
|
213
|
-
```
|
|
214
|
-
|
|
215
|
-
|
|
216
187
|
## Help and Resources
|
|
217
188
|
|
|
218
|
-
- [Homepage](https://
|
|
189
|
+
- [Homepage](https://itsdart.com/?nr=1)
|
|
219
190
|
- [Web App](https://app.itsdart.com/)
|
|
220
191
|
- [Help Center](https://help.itsdart.com/)
|
|
221
192
|
- [Bugs and Features](https://app.itsdart.com/p/r/JFyPnhL9En61)
|
|
222
|
-
- [Library Source](https://github.com/its-dart/dart-tools/)
|
|
193
|
+
- [Library Source](https://github.com/its-dart/dart-tools-py/)
|
|
223
194
|
- [Chat on Discord](https://discord.gg/RExv8jEkSh)
|
|
224
195
|
- Email us at [support@itsdart.com](mailto:support@itsdart.com)
|
|
225
196
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<p>
|
|
4
4
|
<a href="https://pypi.org/project/dart-tools"><img src="https://img.shields.io/pypi/v/dart-tools" alt="PyPI"></a>
|
|
5
5
|
<a href="pyproject.toml"><img src="https://img.shields.io/pypi/pyversions/dart-tools" alt="Supported Python Versions"></a>
|
|
6
|
-
<a href="LICENSE"><img src="https://img.shields.io/github/license/its-dart/dart-tools" alt="License"></a>
|
|
6
|
+
<a href="LICENSE"><img src="https://img.shields.io/github/license/its-dart/dart-tools-py" alt="License"></a>
|
|
7
7
|
</p>
|
|
8
8
|
</div>
|
|
9
9
|
|
|
@@ -11,52 +11,63 @@
|
|
|
11
11
|
|
|
12
12
|
`dart-tools` is the Dart CLI and Python Library. It enables direct integration with Dart through a terminal CLI or through Python.
|
|
13
13
|
|
|
14
|
-
|
|
15
14
|
- [Installation](#installation)
|
|
15
|
+
- [Naming conflicts](#naming-conflicts)
|
|
16
16
|
- [Using the CLI](#using-the-cli)
|
|
17
17
|
- [Using the Python Library](#using-the-python-library)
|
|
18
18
|
- [Using the Python Library in AWS Lambda Functions](#using-the-python-library-in-aws-lambda-functions)
|
|
19
|
-
- [
|
|
19
|
+
- [Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.](#navigate-to-the-directory-containing-your-lambda_functionpy-source-file-in-this-example-the-directory-is-named-my_function)
|
|
20
|
+
- [Create a Deployment Package](#create-a-deployment-package)
|
|
21
|
+
- [Zip the contents of the `package` directory along with your `lambda_function.py`](#zip-the-contents-of-the-package-directory-along-with-your-lambda_functionpy)
|
|
22
|
+
- [Deploy the Lambda function](#deploy-the-lambda-function)
|
|
20
23
|
- [Help and Resources](#help-and-resources)
|
|
21
24
|
- [Contributing](#contributing)
|
|
22
25
|
- [License](#license)
|
|
23
26
|
|
|
24
|
-
|
|
25
27
|
## Installation
|
|
26
28
|
|
|
27
29
|
In the terminal, install by running
|
|
30
|
+
|
|
28
31
|
```sh
|
|
29
32
|
pip install dart-tools
|
|
30
33
|
```
|
|
31
34
|
|
|
35
|
+
### Naming conflicts
|
|
36
|
+
|
|
37
|
+
If you have a preexisting shell command named `dart`, a quick fix is to run `which -a dart` and fine the path for this `dart` application. Then you can create an alias and add it to your shell profile file (`.zshrc`, `.bashrc`, etc.). For example, open `~/.zshrc` and add a line like `alias dartai="/path/to/dart"`, save it, and restart your terminal.
|
|
32
38
|
|
|
33
39
|
## Using the CLI
|
|
34
40
|
|
|
35
41
|
Start off by setting up authentication with
|
|
42
|
+
|
|
36
43
|
```sh
|
|
37
44
|
dart login
|
|
38
45
|
```
|
|
39
46
|
|
|
40
47
|
Then, you can create a new task with a command along the lines of
|
|
48
|
+
|
|
41
49
|
```sh
|
|
42
|
-
dart
|
|
50
|
+
dart task-create "Update the landing page" -p0 --tag marketing
|
|
43
51
|
```
|
|
52
|
+
|
|
44
53
|
which will make a new task called 'Update the landing page' with priority 'Critical' (i.e. P0) and with the 'marketing' tag.
|
|
45
54
|
|
|
46
|
-
You can explore all of these options and many more with `dart --help` or the more specific help for subcommands, in this case `dart
|
|
55
|
+
You can explore all of these options and many more with `dart --help` or the more specific help for subcommands, in this case `dart task-create --help`.
|
|
47
56
|
|
|
48
57
|
Another common workflow is to updating a preexisting task. To do this, run something like
|
|
58
|
+
|
|
49
59
|
```sh
|
|
50
|
-
dart
|
|
60
|
+
dart task-update [ID] -s Done
|
|
51
61
|
```
|
|
52
|
-
This command will mark the referenced task 'Done'. Here `[DUID]` is meant to be replaced (including the brackets) with the 'Dart ID' of an existing task. You can get a DUID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
|
|
53
62
|
|
|
63
|
+
This command will mark the referenced task 'Done'. Here `[ID]` is meant to be replaced (including the brackets) with the ID of an existing task. You can get a ID from any existing task in a number of ways, such as by copying it from the end of a task's URL or by clicking the '...' button in a task page in Dart and then choosing 'Copy ID'.
|
|
54
64
|
|
|
55
65
|
## Using the Python Library
|
|
56
66
|
|
|
57
|
-
First, set up authentication. Run `dart login` in the terminal for an interactive process,
|
|
67
|
+
First, set up authentication. Run `dart login` in the terminal for an interactive process. Alternatively, copy your authentication token from [your Dart profile](https://app.itsdart.com/?settings=account) and save that as the `DART_TOKEN` environment variable.
|
|
58
68
|
|
|
59
69
|
Then, you can run something like
|
|
70
|
+
|
|
60
71
|
```python
|
|
61
72
|
import os
|
|
62
73
|
from dart import create_task, is_logged_in, update_task
|
|
@@ -70,21 +81,20 @@ new_task = create_task(
|
|
|
70
81
|
)
|
|
71
82
|
|
|
72
83
|
# Update the task to be 'Done'
|
|
73
|
-
update_task(new_task.
|
|
84
|
+
update_task(new_task.id, status_title="Done")
|
|
74
85
|
```
|
|
75
86
|
|
|
76
|
-
|
|
77
87
|
## Using the Python Library in AWS Lambda Functions
|
|
78
88
|
|
|
79
89
|
To use the `dart-tools` Python library in an AWS Lambda function, you need to package the library with your Lambda deployment package (see more details at [Working with .zip file archives for Python Lambda functions](https://docs.aws.amazon.com/lambda/latest/dg/python-package.html)). Follow these steps:
|
|
80
90
|
|
|
81
|
-
|
|
91
|
+
### Navigate to the directory containing your `lambda_function.py` source file. In this example, the directory is named `my_function`.
|
|
82
92
|
|
|
83
93
|
```sh
|
|
84
94
|
cd my_function
|
|
85
95
|
```
|
|
86
96
|
|
|
87
|
-
|
|
97
|
+
### Create a Deployment Package
|
|
88
98
|
|
|
89
99
|
Use Docker to create a deployment package that includes the `dart-tools` library. Run the following commands in your terminal, ensuring that the `RUNTIME_PYTHON_VERSION` and `RUNTIME_ARCHITECTURE` environment variables match the runtime settings of your Lambda function:
|
|
90
100
|
|
|
@@ -96,7 +106,7 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
|
|
|
96
106
|
|
|
97
107
|
This command installs the `dart-tools` library into a directory named `package` in your current working directory.
|
|
98
108
|
|
|
99
|
-
|
|
109
|
+
### Zip the contents of the `package` directory along with your `lambda_function.py`
|
|
100
110
|
|
|
101
111
|
```sh
|
|
102
112
|
cd package
|
|
@@ -105,58 +115,19 @@ To use the `dart-tools` Python library in an AWS Lambda function, you need to pa
|
|
|
105
115
|
zip -r my_deployment_package.zip lambda_function.py
|
|
106
116
|
```
|
|
107
117
|
|
|
108
|
-
|
|
118
|
+
### Deploy the Lambda function
|
|
109
119
|
|
|
110
120
|
Upload the `my_deployment_package.zip` file to AWS Lambda using the AWS Management Console or the AWS CLI.
|
|
111
121
|
|
|
112
122
|
By following these steps, you can use the `dart-tools` Python library within your AWS Lambda functions.
|
|
113
123
|
|
|
114
|
-
|
|
115
|
-
## Advanced Usage
|
|
116
|
-
|
|
117
|
-
Almost anything that can be done in Dart can be done with the Python library, but there are not convenient wrapper functions for everything.
|
|
118
|
-
For most advanced usage, the best thing to do is to [get in touch with us](mailto:support@itsdart.com) and we can help.
|
|
119
|
-
|
|
120
|
-
However, if you want to explore on your own, the client is well-typed, so you can simply explore the code to see what is possible.
|
|
121
|
-
All updates will go through the the `dart.transact` function.
|
|
122
|
-
|
|
123
|
-
As an example, you could run something akin to `update_task` with
|
|
124
|
-
```python
|
|
125
|
-
from dart import (
|
|
126
|
-
Dart,
|
|
127
|
-
Operation,
|
|
128
|
-
OperationKind,
|
|
129
|
-
OperationModelKind,
|
|
130
|
-
TaskUpdate,
|
|
131
|
-
TransactionKind,
|
|
132
|
-
)
|
|
133
|
-
|
|
134
|
-
# Initialize the inner client
|
|
135
|
-
dart = Dart()
|
|
136
|
-
|
|
137
|
-
# Prepare the update operation
|
|
138
|
-
task_update = TaskUpdate(
|
|
139
|
-
duid="[DUID]",
|
|
140
|
-
size=5,
|
|
141
|
-
)
|
|
142
|
-
task_update_op = Operation(
|
|
143
|
-
model=OperationModelKind.TASK,
|
|
144
|
-
kind=OperationKind.UPDATE,
|
|
145
|
-
data=task_update,
|
|
146
|
-
)
|
|
147
|
-
|
|
148
|
-
# Call the operation transactionally to perform the update
|
|
149
|
-
response = dart.transact([task_update_op], TransactionKind.TASK_UPDATE)
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
|
|
153
124
|
## Help and Resources
|
|
154
125
|
|
|
155
|
-
- [Homepage](https://
|
|
126
|
+
- [Homepage](https://itsdart.com/?nr=1)
|
|
156
127
|
- [Web App](https://app.itsdart.com/)
|
|
157
128
|
- [Help Center](https://help.itsdart.com/)
|
|
158
129
|
- [Bugs and Features](https://app.itsdart.com/p/r/JFyPnhL9En61)
|
|
159
|
-
- [Library Source](https://github.com/its-dart/dart-tools/)
|
|
130
|
+
- [Library Source](https://github.com/its-dart/dart-tools-py/)
|
|
160
131
|
- [Chat on Discord](https://discord.gg/RExv8jEkSh)
|
|
161
132
|
- Email us at [support@itsdart.com](mailto:support@itsdart.com)
|
|
162
133
|
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
# Required for type hinting compatibility when using Python 3.9
|
|
2
2
|
from __future__ import annotations
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
from .dart import (
|
|
5
5
|
Dart,
|
|
6
6
|
begin_task,
|
|
7
7
|
cli,
|
|
8
|
+
create_comment,
|
|
9
|
+
create_doc,
|
|
8
10
|
create_task,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
delete_doc,
|
|
12
|
+
delete_task,
|
|
11
13
|
get_host,
|
|
12
14
|
is_logged_in,
|
|
13
15
|
login,
|
|
14
|
-
replicate_space,
|
|
15
16
|
set_host,
|
|
16
|
-
|
|
17
|
-
update_folder,
|
|
17
|
+
update_doc,
|
|
18
18
|
update_task,
|
|
19
19
|
)
|
|
20
|
+
from .generated.models import *
|
|
21
|
+
from .old import get_dartboards, get_folders, replicate_dartboard, replicate_space, update_dartboard, update_folder
|
|
20
22
|
from .webhook import is_signature_correct
|