Change: Rename container_task to import_task and deprecate old API#1280
Change: Rename container_task to import_task and deprecate old API#1280greenbonebot merged 1 commit intomainfrom
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
Scanning the following files:
Scan: 'gvm/protocols/gmp/_gmpnext.py'Nothing detected in gvm/protocols/gmp/_gmpnext.py Scan: 'gvm/protocols/gmp/requests/next/_tasks.py'Nothing detected in gvm/protocols/gmp/requests/next/_tasks.py Scan: 'tests/protocols/gmpnext/entities/tasks/init.py'Nothing detected in tests/protocols/gmpnext/entities/tasks/init.py Scan: 'tests/protocols/gmpnext/entities/tasks/test_create_container_task.py'Nothing detected in tests/protocols/gmpnext/entities/tasks/test_create_container_task.py Scan: 'tests/protocols/gmpnext/entities/tasks/test_create_import_task.py'Nothing detected in tests/protocols/gmpnext/entities/tasks/test_create_import_task.py Scan: 'tests/protocols/gmpnext/entities/test_tasks.py'Nothing detected in tests/protocols/gmpnext/entities/test_tasks.py |
Conventional Commits Report
🚀 Conventional commits found. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1280 +/- ##
==========================================
+ Coverage 98.27% 98.33% +0.06%
==========================================
Files 89 89
Lines 6189 6195 +6
Branches 1111 1111
==========================================
+ Hits 6082 6092 +10
+ Misses 76 74 -2
+ Partials 31 29 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
046fffd to
cb23e54
Compare
cb23e54 to
db5401c
Compare
What
This PR renames the legacy create_container_task API to the new
create_import_task API in the Python GMP bindings.
Why
To align the API with the updated terminology and provide a clearer, more accurate name without breaking existing users.
References
GEA-1406
Checklist