code: def save(self, collection):
          
          assert isinstance(collection, predix.data.asset.AssetCollection), "Expected AssetCollection"
          collection.validate()
          self.put_collection(collection.uri, collection.__dict__)
docs: Save an asset collection to the service.