Feature/add workflow definitions delete#1456
Closed
gkazimiarovich wants to merge 2 commits into
Closed
Conversation
Add support for DELETE /workflows/entities/definitions/v1 which accepts a list of workflow definition IDs and deletes those definitions along with all their associated versions. - Added endpoint definition to _endpoint/_workflows.py - Added delete_definitions() method to Workflows service class - Added WorkflowDefinitionsDelete operation ID alias for backwards compatibility
Member
|
Hi @gkazimiarovich! Could you point this PR at the Thank you for your contribution! 🙇 |
Author
|
Retargeting to dev branch |
Author
|
@jshcodes New PR 1467 targeting dev is open Thank you |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add WorkflowDefinitionsDelete endpoint
Add support for
DELETE /workflows/entities/definitions/v1which accepts a list of workflow definition IDs and deletes those definitions along with all their associated versions.Added endpoint definition to
_endpoint/_workflows.pyAdded
delete_definitions()method to Workflows service classAdded
WorkflowDefinitionsDeleteoperation ID alias for backwards compatibilityAdded unit test to
tests/test_workflows.pyEnhancement
Documentation
Unit test coverage
Bandit analysis
[main] INFO running on Python 3.13.11 Run started:2026-04-29 19:03:25.722347+00:00 Test results: No issues identified. Code scanned: Total lines of code: 1609 Total lines skipped (#nosec): 0 Run metrics: Total issues (by severity): Undefined: 0 Low: 0 Medium: 0 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 Medium: 0 High: 0 Files skipped (0):Added features and functionality
Workflows.delete_definitions()method — enables programmatic deletion of workflow definitions viaDELETE /workflows/entities/definitions/v1WorkflowDefinitionsDeleteoperation ID alias for Service Class and Uber Class usageIssues resolved
Other
DELETE /workflows/entities/definitions/v1, acceptsidsquery parameter (array, max 5000)handle_single_argument,force_default, PascalCase alias