Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python-langgraph/README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions python-langgraph/chains/notice_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python-langgraph/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down