@dynamicforms/fastapi-viewsets 0.1.0 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,8 +8,9 @@ Celery-backed async execution and a matching Vue/TypeScript client counterpart.
|
|
|
8
8
|
Handles type resolution, lifecycle management and OpenAPI schema automatically.
|
|
9
9
|
- **`CollectionViewSet`** — zero-boilerplate in-memory viewset backed by any Python list, set or dict.
|
|
10
10
|
Great for prototyping and testing.
|
|
11
|
-
- **`
|
|
12
|
-
processing scenarios (requires the `celery`
|
|
11
|
+
- **`celery_viewset` decorator** — move a viewset's execution to a Celery worker with no code changes
|
|
12
|
+
to the viewset itself, for long-running or background processing scenarios (requires the `celery`
|
|
13
|
+
extra).
|
|
13
14
|
- **Bulk operations** — first-class support for bulk create, update, partial update and destroy.
|
|
14
15
|
- **Vue / TypeScript counterpart** — mirror mixin classes and a `route_rest` factory give you a fully
|
|
15
16
|
typed HTTP client that matches your backend viewset exactly (published separately as
|
|
@@ -58,7 +59,7 @@ app.include_router(router)
|
|
|
58
59
|
```
|
|
59
60
|
|
|
60
61
|
See the [full documentation](https://docs.velis.si/dynamicforms/fastapi-viewsets/) for guides on
|
|
61
|
-
the mixin system, `route_viewset`, `CollectionViewSet`, `
|
|
62
|
+
the mixin system, `route_viewset`, `CollectionViewSet`, `celery_viewset`, and the Vue client.
|
|
62
63
|
|
|
63
64
|
## License
|
|
64
65
|
|