Skip to content

Refactor ORM classes to allow postgres and snowflake to be optional dependencies #372

@ehclark

Description

@ehclark

Feature description

Currently the classes in orm.py directly reference classes from both the postgres and snowflake sqlalchemy libraries. This is not ideal since it requires both those libraries to be installed and present at runtime even though only one is required.

Use case

Allows the installation of only the libraries that are actually needed at runtime.

Acceptance Criteria

AnyVar can run and unit tests can pass with only the postgres or snowflake dependencies installed.

Proposed solution

No response

Alternatives considered

No response

Implementation details

No response

Potential Impact

No response

Additional context

No response

Contribution

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions