Skip to content

increment_auto_off.py is difficult to sustain #971

@SteveMicroNova

Description

@SteveMicroNova

if this is a copy of any section of the code, you should probably create a function out of it and call it from both places

Originally posted by @rtertiaer in #828 (comment)

Ryan is right here, pay down the tech debt of copying endpoints line for line; make them importable from /usr/local/bin/increment_auto_off.py

I attempted to do this using a symbolic link and relative import, ran into an issue where increment_auto_off.py isn't inside the venv and so doesn't have access to all required dependencies and wasn't able to make said dependencies install globally via configure.py either

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech-debtPays down tech debt

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions