mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-23 19:44:05 +00:00
chore(cli): fix some DOC rules (preview) (#32839)
Co-authored-by: Mason Daugherty <mason@langchain.dev>
This commit is contained in:
committed by
GitHub
parent
e0aaaccb61
commit
20401df25d
@@ -6,7 +6,14 @@ from typing import Optional
|
||||
|
||||
|
||||
def list_packages(*, contains: Optional[str] = None) -> list[str]:
|
||||
"""List all packages in the langchain repository templates directory."""
|
||||
"""List all packages in the langchain repository templates directory.
|
||||
|
||||
Args:
|
||||
contains: Optional substring that the package name must contain.
|
||||
|
||||
Returns:
|
||||
A list of package names.
|
||||
"""
|
||||
conn = http.client.HTTPSConnection("api.github.com")
|
||||
try:
|
||||
headers = {
|
||||
|
Reference in New Issue
Block a user