def item_remove(self, item):
        if item in self.inventory:
            if not self.is_npc():
                # items don't get saved when they're added to npc inventories
                # Don't bother removing the owner if we're taking it out of
                # an npc's inventory
                item.owner = None
                item.save()
            self.inventory.remove(item)
Submit a query job to BigQuery.
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/character.py/Character.item_remove--crossover with--dataset/ETHPy150Open tylertreat/BigQuery-Python/bigquery/client.py/BigQueryClient._submit_query_job