Create a py.typed file for pymongo-search-utils

XMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Describe the background behind the problem.

      typing is failing on packages that depend on pymongo-search-utils. It looks like this.

      ~/src/langchain-mongodb/libs/langgraph-store-mongodb (INTPYTHON-808-LangGraph-AutoEmbedding)
      $ just typing
      uv run mypy .
      langgraph/store/mongodb/base.py:37: error: Skipping analyzing "pymongo_search_utils": module is installed, but missing library stubs or py.typed marker  [import-untyped]
      langgraph/store/mongodb/base.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
      Found 1 error in 1 file (checked 8 source files)
      error: Recipe `typing` failed on line 36 with exit code 1
      

      Definition of done

      What must be done to consider the task complete?

      Pitfalls

      What should the implementer watch out for? What are the risks?

            Assignee:
            Steve Silvester
            Reporter:
            Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: