Skip to content

Commit

Permalink
add abstract method decorator and removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
diitaz93 committed Jul 29, 2024
1 parent 9e7c594 commit 94efad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cg/services/post_processing/abstract_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
from abc import ABC, abstractmethod
from pathlib import Path

from cg.apps.housekeeper.hk import HousekeeperAPI
from cg.services.post_processing.abstract_models import PostProcessingDTOs, RunData, RunMetrics
from cg.store.store import Store


class RunDataGenerator(ABC):
Expand Down Expand Up @@ -49,13 +47,15 @@ def get_post_processing_dtos(self, run_data: RunData) -> PostProcessingDTOs:
class PostProcessingStoreService(ABC):
"""Abstract class that manages storing data transfer objects in the database."""

@abstractmethod
def store_post_processing_data(self, run_data: RunData):
pass


class PostProcessingHKService(ABC):
"""Abstract class that manages storing of files for an instrument run."""

@abstractmethod
def store_files_in_housekeeper(self, run_data: RunData):
pass

Expand Down

0 comments on commit 94efad2

Please sign in to comment.