3 ms·
One solution would be to have a separate default (static value) and default_factory (callable that returns a value) keyword argument, and make a static default
by dragonwriter 2y ago
One solution would be to have a separate default (static value) and default_factory (callable that returns a value) keyword argument, and make a static default on a PK (or other unique) column, by default, be an error.