code: def from_list(cls, database, key, data, clear=False):
          
          arr = cls(database, key)
          if clear:
              arr.clear()
          arr.extend(data)
          return arr
docs: Create and populate an Array object from a data dictionary.