lablup / lablup/backend.ai

Refactoring `BaseContainerRegistry._scan_tag()`

Open
#3,405 0 comments 0 reactions 1 assignee Claimed by @jopemachine View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

Follow-up to #2620.

## Motivation

- The logic for handling `media_type` in `_scan_tag()` is currently defined in both `harbor.py` and `base.py`. Let's redesign the abstraction layer for this and untangle the twisted inheritance structure..

## Objective  

- Clearly distinguish between abstract methods that must be overridden and methods that do not need to be overridden. Methods that must be overridden should be marked as `@abstractmethod` in the base class.

## Details  

TODO: Write this.

1.
1.
1.

## Impact  

- Since this is a refactoring task, there should be no changes to functionality.

JIRA Issue: BA-474

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.