Toggle Menu
Prev Up Next

# `langchain_core.utils.utils`.check_package_version

langchain_core.utils.utils.check_package_version(package: str, lt_version: Optional[str] = None, lte_version: Optional[str] = None, gt_version: Optional[str] = None, gte_version: Optional[str] = None) → None

  Check the version of a package.

  Parameters

    - package (str) –

    - lt_version (Optional[str]) –

    - lte_version (Optional[str]) –

    - gt_version (Optional[str]) –

    - gte_version (Optional[str]) –

  Return type

    None