Skip to content

yapcli.cli import efficiency of yapcli.server #46

@thisIsMikeKane

Description

@thisIsMikeKane

yapcli.cli.link now imports MIN_LINK_DAYS_REQUESTED/MAX_LINK_DAYS_REQUESTED from yapcli.server, which pulls in Flask + Plaid at CLI import time (even for yapcli --help/unrelated commands). Consider moving these bounds (and ideally the default) into a lightweight shared module (e.g. yapcli/plaid_limits.py) to avoid the heavyweight dependency chain from the CLI layer.

Originally posted by @Copilot in #38 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions