feat: implement quota#126
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces quota management for devices by defining a DeviceQuota class and integrating it into the DeviceViewSet using QuotaMixin. It also renames the multi-device creation endpoint to bulk_create. Feedback suggests ensuring that the bulk_create action correctly reserves multiple quota units (matching the number of devices being created) rather than a single unit, which may require overriding a method in DeviceQuota to dynamically calculate the quantity from the request data.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
What?
Implement the quota
Why?
How?
Testing?
Anything Else?