Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Mar 18, 2023
1 parent 8cf4a84 commit c714e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions securedrop/actions/sources_actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from abc import abstractmethod
from abc import abstractmethod, ABC
from dataclasses import dataclass
from datetime import datetime
from enum import Enum
Expand All @@ -9,14 +9,14 @@
import models


@dataclass
@dataclass(frozen=True)
class PaginationConfig:
# TODO: Validate and reject negative numbers
page_size: int
page_number: int


class SupportsPagination:
class SupportsPagination(ABC):

@abstractmethod
def create_query(self):
Expand Down

0 comments on commit c714e25

Please sign in to comment.