Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Mar 5, 2023
1 parent 276806a commit 752f589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions securedrop/actions/sources_actions.py
@@ -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 752f589

Please sign in to comment.