diff --git a/python-langgraph/README.md b/python-langgraph/README.md index fe47171827..3c3867eab0 100644 --- a/python-langgraph/README.md +++ b/python-langgraph/README.md @@ -1,6 +1,6 @@ # LangGraph: Build Stateful AI Agents in Python -This folder contains the source code for [LangGraph: Build Stateful AI Agents in Python](https://realpython.com/langgraph-build-stateful-ai-agents-in-python/) +This folder contains the source code for [LangGraph: Build Stateful AI Agents in Python](https://realpython.com/langgraph-python/) ## Setup diff --git a/python-langgraph/chains/notice_extraction.py b/python-langgraph/chains/notice_extraction.py index 1b4ba558f1..8479b6f94d 100644 --- a/python-langgraph/chains/notice_extraction.py +++ b/python-langgraph/chains/notice_extraction.py @@ -62,9 +62,9 @@ class NoticeEmailExtract(BaseModel): ) @staticmethod - def _convert_string_to_date(date: str | None) -> date | None: + def _convert_string_to_date(date_str: str | None) -> date | None: try: - return datetime.strptime(date, "%Y-%m-%d").date() + return datetime.strptime(date_str, "%Y-%m-%d").date() except Exception as e: print(e) return None diff --git a/python-langgraph/pyproject.toml b/python-langgraph/pyproject.toml index ef0231a5a0..e7f8d5cfe5 100644 --- a/python-langgraph/pyproject.toml +++ b/python-langgraph/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "python-langgraph" version = "0.1.0" -description = "Add your description here" +description = "Companion code to Real Python tutorial" readme = "README.md" requires-python = ">=3.12" dependencies = [