Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Provide option to skip validation on archive model registration #4

@luislew

Description

@luislew

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 a validate kwarg to the register method would allow end users to skip this validation (and thus avoid needing an active DB connection).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions