code: def Store(self, request, context):
      m = Monster.Monster().GetRootAsMonster(request, 0)
  
      assert m.Name().decode("utf-8") == test_monster_name1
  
      assert m.Pos().X() == test_X
      assert m.Pos().Y() == test_Y
      assert m.Pos().Z() == test_Z
      assert m.Pos().Test1() == test_test1
      assert m.Pos().Test2() == test_color
      test3 = Test.Test()
      assert m.Pos().Test3(test3).A() == test_a
      assert m.Pos().Test3(test3).B() == test_b
  
      assert m.Hp() == test_hp
  
      assert m.Color() == test_color
  
      assert m.InventoryLength() == len(test_inventory)
      for i in range(0, len(test_inventory)):
          assert (
              m.Inventory(i)
              == test_inventory[len(test_inventory) - i - 1]
          )
  
      assert m.TestType() == test_testtype
  
      assert m.Test() is not None
      table = m.Test()
  
      m2 = Monster.Monster()
      m2.Init(table.Bytes, table.Pos)
      assert m2.Name().decode("utf-8") == test_monster_name2
  
      m3 = m.Enemy()
      assert m3.Name().decode("utf-8") == test_monster_name2
  
      assert m.Testarrayofstring(0).decode("utf-8") == test_string
  
      b = flatbuffers.Builder(0)
      i = b.CreateString(test_stat_id)
      Stat.StatStart(b)
      Stat.StatAddId(b, i)
      Stat.StatAddVal(b, test_stat_val)
      Stat.StatAddCount(b, test_stat_count)
      b.Finish(Stat.StatEnd(b))
      return bytes(b.Output())
  
file_path: flatbuffers/grpc/tests/grpctest.py
imports: from __future__ import print_function
  import os
  import sys
  import grpc
  import flatbuffers
  from concurrent import futures
  import MyGame.Example.Monster
  import MyGame.Example.Stat
  import MyGame.Example.Vec3
  import MyGame.Example.Test
  import MyGame.Example.monster_test_grpc_fb
label_desc: Use image node_id 1 for calling the MonsterStorage obj's underlying member method code with example usage: obj.Store(request, context) and returns: bytes