Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-516

[LangChain] Handle Cleanup of Clients

    • Python Drivers

      Context

      All of our classes that use a collection object should either expose the collection object or have a close method that closes the collection object. There is no standard way of handling the cleanup of resources in LangChain, because not every backend requires a cleanup. For example, the SqlStore creates on-demand sessions for each operation.

      Definition of done

      Expose and document a consistent API for cleaning up resources.

      Pitfalls

      None

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: