Skip to content

Change ensure_connection to decorator #10

@txomon

Description

@txomon

Right now ensure_connection is a context manager. It's a pain in the ass to put it every single time and indent the code on it. This ticket is to transform the function into a decorator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerskind/I&CCode, Infrastructure, Tests, everything that is not feature related, but more code relatedsize/MT-shit size for tasks that take less than a weektype/enhancementNew feature or improvement that doesn't add value to final user

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions