lablup / lablup/backend.ai

Refactoring `content_type` matching statements from the image rescan logics

Open
#6,519 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  

- The `match` statement is being overused.
Let's use inheritance instead.

## Required Tasks

- Let's define an abstract type and use inheritance for refactoring.

## Impact  

- None

## Testing Scenarios  

- None

JIRA Issue: BA-896

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.