Skip to content

Package is missing library stubs or py.typed marker #187

Description

@amotl

Problem

When deriving a CrateDB adapter for LangChain from langchain-postgres, we are observing this error when invoking make lint.

langchain_cratedb/cratedb/model.py:16: error: Skipping analyzing "sqlalchemy_cratedb": module is installed, but missing library stubs or py.typed marker  [import-untyped]

Workaround

For your pyproject.toml.

[tool.mypy]
ignore_missing_imports = "True"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions