Issue
Currently, the File model always falls back to the default ["DATA"] tag—even when you explicitly pass categories=None.
We need to distinguish between “no value provided” (use default) and “explicitly set to None” (send no categories).
Fix
- Change the field annotation to
Optional of categories to allow None in the File Class in file.py.