art049 / art049/odmantic

How can I manually close an `AIOEngine` or `SyncEngine` safely?

Open
#515 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

It seems that there are not method to close an Engine, the only possible way is `engine.client.close()` to close the client...But I am not sure

Contributor guide

Open the contributing guide

Research direction

Begin with the AIOEngine and SyncEngine APIs referenced in the issue and inspect how their client is exposed. Confirm the supported safe shutdown behavior for each engine, then determine whether the public API or documentation needs updating. Done means both sync and async engines have an explicit, verified way to close resources, with usage guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, python
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.