From ff603b54900aeef8a16556c24ed551511df635ab Mon Sep 17 00:00:00 2001 From: Daniel Chalef <131175+danielchalef@users.noreply.github.com> Date: Tue, 30 Sep 2025 12:07:48 -0700 Subject: [PATCH] Fix type inconsistency in extract_nodes_reflexion parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change group_id parameter from str = '' to str | None = None to match the pattern used throughout the codebase and align with the optional nature of group_id in generate_response(). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- graphiti_core/utils/maintenance/node_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphiti_core/utils/maintenance/node_operations.py b/graphiti_core/utils/maintenance/node_operations.py index 509ed012..16622a6a 100644 --- a/graphiti_core/utils/maintenance/node_operations.py +++ b/graphiti_core/utils/maintenance/node_operations.py @@ -65,7 +65,7 @@ async def extract_nodes_reflexion( previous_episodes: list[EpisodicNode], node_names: list[str], ensure_ascii: bool = False, - group_id: str = '', + group_id: str | None = None, ) -> list[str]: # Prepare context for LLM context = {