# Keep source data intact when loading team sessions

> We fixed TeamSession.from_dict() so it no longer mutates the input mapping it receives. Previously, loading a team session from a dictionary could silently modify the original data structure, causing…

- Published: 2026-04-10
- Author: Agno Team
- Category: Changelog
- Canonical: https://agno-com-nine.vercel.app/articles/keep-source-data-intact-when-loading-team-sessions
- Markdown: https://agno-com-nine.vercel.app/articles/keep-source-data-intact-when-loading-team-sessions.md

We fixed `TeamSession.from_dict()` so it no longer mutates the input mapping it receives. Previously, loading a team session from a dictionary could silently modify the original data structure, causing hard-to-trace state issues in workflows that reused or inspected the source mapping after loading.
