Skip to content

Commit

Permalink
Fix pytype error
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675583609
Change-Id: I1d1d5b3633507493c6633e42f04b6e76a69caab0
  • Loading branch information
jzleibo authored and copybara-github committed Sep 17, 2024
1 parent b65862a commit 5d52787
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/tutorials/agent_development.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,9 @@
"\n",
"player_logs = []\n",
"player_log_names = []\n",
"for name, player_memmory in runnable_simulation.get_all_player_memories().items():\n",
" all_player_mem = player_memmory.retrieve_recent(k=1000, add_time=True)\n",
"for name, player_memory in (\n",
" runnable_simulation.get_all_player_memories().items()):\n",
" all_player_mem = list(player_memory.retrieve_recent(k=1000, add_time=True))\n",
" all_player_mem = ['Memories:'] + all_player_mem\n",
" player_html = html_lib.PythonObjectToHTMLConverter(all_player_mem).convert()\n",
" player_logs.append(player_html)\n",
Expand Down

0 comments on commit 5d52787

Please sign in to comment.