class_docstr: Events related to inventory management.
class_docstr_tok: ["Events","related","to","inventory","management","."]
docstr: The inventory is full and a piece has been discarded.
docstr_tok: ["The","inventory","is","full","and","a","piece","has","been","discarded","."]
code: def piece_discarded(self, piece: (int, int)):
      """The inventory is full and a piece has been discarded."""
  
file_path: maze/tutorials/tutorial_maze_env/part04_events/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 1 for calling the InventoryEvents obj's underlying member method code with example usage: obj.piece_discarded(piece) without return types