From 2daa8e5a22b4a34c443e5e8e2d9bbc2ec231e5e7 Mon Sep 17 00:00:00 2001 From: Conrad Date: Mon, 1 Apr 2024 20:11:51 +0200 Subject: [PATCH] feat: add todo --- .github/workflows/lint.yml | 7 +++---- creyPY/fastapi/pagination.py | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1ffd8e4..6ced459 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -29,6 +29,7 @@ jobs: test: runs-on: ubuntu-latest + needs: lint steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -60,7 +61,5 @@ jobs: - name: Create Tag run: git tag -a ${{ steps.git_version.outputs.version }} -m "${{ steps.git_version.outputs.version }}" - - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: Adjusted files for isort & autopep - push_options: --tags + - name: Push Tag + run: git push origin ${{ steps.git_version.outputs.version }} diff --git a/creyPY/fastapi/pagination.py b/creyPY/fastapi/pagination.py index 48103ea..00820b7 100644 --- a/creyPY/fastapi/pagination.py +++ b/creyPY/fastapi/pagination.py @@ -10,6 +10,7 @@ T = TypeVar("T") # TODO: Add complete fastapi-pagination proxy here +# TODO: Add pagination off functionality # SkipJsonSchema is used to avoid generating invalid JSON schema in FastAPI class Page(AbstractPage[T], Generic[T]): results: Sequence[T]