fastapi-class icon indicating copy to clipboard operation
fastapi-class copied to clipboard

provides a class-based View decorator to help reduce the amount of boilerplate necessary when developing related routes. βœ¨πŸš€

Results 8 fastapi-class issues
Sort by recently updated
recently updated
newest added

Hi πŸ‘‹πŸ» README mentions avoid repeating same deps for each route but you haven't added example (Same as fastapi-utils) for it. E.g. using db dep in all route.

Hi Yezz, I've been using version 2 for a long time. And one of the reasons is that, as the name package suggests, I can use it as a class...

Please add the feature or support of dependencies in endpoint decorator. ```python @View(router, path='/vehicles') class VehicleMasterAPI: @staticmethod async def get(get_vehicle_crud: VehicleMasterCRUD = Depends( get_repository(VehicleMasterCRUD) )) -> list[dict] | list: return...

updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.2 β†’ v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.2...v0.4.3)

updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 β†’ v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.7 β†’ v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.9)

Bumps the python-packages group with 10 updates in the / directory: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/fastapi/fastapi) | `0.111.1` |...

dependencies
python

Bumps the python-packages group with 13 updates in the / directory: | Package | From | To | | --- | --- | --- | | [fastapi](https://github.com/fastapi/fastapi) | `0.111.1` |...

dependencies
python

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.1 to 1.10.3. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.10.3 πŸ’… Cosmetic Output Improvements In #270, @​facutuescaπŸ’° made a follow-up to their previous PR #250, making the...

dependencies
github_actions