lablup / lablup/backend.ai

Refactor ImportPipeline logic in the storage-proxy

Open
#8,011 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Motivation

### ImportPipeline creation refactoring

- Let’s improve readability by clearly separating the arguments passed to `create_import_pipeline` into those provided at service initialization time and those provided at handler execution time.
- Overall, refactor the code in a way that avoids argument drilling as much as possible.

### Etcs

Let’s refactor the cleanup_stage-related logic by introducing a new class and passing its instance around, and remove that logic from the public methods of `ImportStep`.

JIRA Issue: BA-3884

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.