class_docstr: Events related to inventory management.
class_docstr_tok: ["Events","related","to","inventory","management","."]
docstr: Reports the count of pieces currently in the inventory.
docstr_tok: ["Reports","the","count","of","pieces","currently","in","the","inventory","."]
code: def pieces_in_inventory(self, value: int):
      """Reports the count of pieces currently in the inventory."""
  
file_path: maze/tutorials/tutorial_maze_env/part05_reward/env/events.py
imports: from abc import ABC
  import numpy
  from maze.core.log_stats.event_decorators import define_step_stats, define_episode_stats, define_epoch_stats
label_desc: Use image node_id 2 for calling the InventoryEvents obj's underlying member method code with example usage: obj.pieces_in_inventory(value) without return types