docs: def write(self):
          """
          Create or update a Wiki Page on Assembla
          """
          if not hasattr(self, 'space'):
              raise AttributeError("A WikiPage must have a 'space' attribute before you can write it to Assembla.")
  
          self.api = self.space.api
  
          if self.get('id'):  # We are modifying an existing wiki page
              return self.api._put_json(
                  self,
                  space=self.space,
                  rel_path=self.space._build_rel_path('wiki_pages'),
                  id_field='id'
              )
          else:  # Creating a new wiki page
              return self.api._post_json(
                  self,
                  space=self.space,
                  rel_path=self.space._build_rel_path('wiki_pages'),
              )