code: def save(self):
          
          super(Samples, self).save()
          if self.metadata is not None:
              self.metadata.save()
docs: Persist changes on this Samples object back to the One Codex server along with any changes
          on its metadata (if it has any).