You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, SavageModelMixin.register(archive_table, engine) calls the _validate methods of both the model and archive model. These model class validations rely on an existing DB engine, which may not be desirable if registration is done during application startup. Adding a validate kwarg to the register method would allow end users to skip this validation (and thus avoid needing an active DB connection).
The text was updated successfully, but these errors were encountered:
Issue by luislew
Wednesday Feb 21, 2018 at 21:37 GMT
Originally opened as https://github.com/NerdWallet/nwpy-savage/issues/7
Currently,
SavageModelMixin.register(archive_table, engine)
calls the_validate
methods of both the model and archive model. These model class validations rely on an existing DB engine, which may not be desirable if registration is done during application startup. Adding avalidate
kwarg to theregister
method would allow end users to skip this validation (and thus avoid needing an active DB connection).The text was updated successfully, but these errors were encountered: