Skip to content

Commit

Permalink
formatting only
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 committed Oct 30, 2023
1 parent 66fbfd0 commit 667c379
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion carbonplan_offsets_db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ class ProjectBinnedCreditsTotals(pydantic.BaseModel):
class PaginatedBinnedCreditTotals(pydantic.BaseModel):
pagination: Pagination
data: list[ProjectBinnedCreditsTotals]



class ClipWithPagination(pydantic.BaseModel):
pagination: Pagination
data: list[Clip]
3 changes: 1 addition & 2 deletions carbonplan_offsets_db/routers/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@

from ..database import get_session
from ..logging import get_logger
from ..models import PaginatedProjects, Project
from ..models import Clip, Project, ProjectWithClips, ProjectWithPagination
from ..models import Clip, PaginatedProjects, Project, ProjectWithClips
from ..query_helpers import apply_filters, apply_sorting, handle_pagination
from ..schemas import Pagination, Registries

Expand Down

0 comments on commit 667c379

Please sign in to comment.