Skip to content

Remove mongoengine context managers #287

Open

Description

@MrCreosote

They're unnecessary. For example:

        with self.sdkmr.get_mongo_util().mongo_engine_connection():
            self.logger.debug(job.to_mongo().to_dict())
            job.save()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions