Append a new container.
772990
def start_container(self, cls, **kwargs):
        """"""
        # Convert stylename strings to actual style elements.
        kwargs = self._replace_stylename(kwargs)
        # Create the container.
        container = cls(**kwargs)
        self._containers.append(container)
481229
def append(self, data):
    """"""
    data_length = len(data)
    if self._size + data_length > self._flush_size:
      self.flush()

    if not self._exclusive and data_length > _FILE_POOL_MAX_SIZE:
      raise errors.Error(
          "Too big input %s (%s)."  % (data_length, _FILE_POOL_MAX_SIZE))
    else:
      self._buffer.append(data)
      self._size += data_length

    if self._size > self._flush_size:
      self.flush()
899219
def append(self, content, binary=False, encoding=None):
        """"""
        mode = "ab" if binary else "a"
        return self._write(content, mode, encoding=encoding, linesep=False)
1358795
def append(self, filename, content, binary=False):
        """"""

        self._raise_if_none()
        fn = path_join(self.path, filename)

        if binary:
            flags = 'ab'
        else:
            flags = 'a'

        with open(fn, 'a') as f:
            f.write(content)
            return True
514397
synchronized void add(final Container container) {
    final String containerId = container.getId().toString();
    if (this.hasContainer(containerId)) {
      throw new RuntimeException("Trying to add a Container that is already known: " + containerId);
    }
    this.containers.put(containerId, container);
  }
1031693
def append(self, traverse):
        """"""
        self.data.extend(traverse.data)
        self.atoms.extend(traverse.atoms)
        self.bonds.extend(traverse.bonds)
902187
def do_container(self, element, decl, pseudo):
        """"""
        value = serialize(decl.value).strip()

        if '|' in value:
            namespace, tag = value.split('|', 1)

            try:
                namespace = self.css_namespaces[namespace]
            except KeyError:
                log(WARN, u'undefined namespace prefix: {}'.format(
                    namespace).encode('utf-8'))
                value = tag
            else:
                value = etree.QName(namespace, tag)

        step = self.state[self.state['current_step']]
        actions = step['actions']
        actions.append(('tag', value))
345534
def append(self, event):
        """"""
        self._events.append(event)
        self._events_by_baseclass[event.baseclass].append(event)
220367
def add(self, header, data) :
		""""""
		if header[0] != '>' :
			self.data.append(('>'+header, data))
		else :
			self.data.append((header, data))
378981
def run_container(self, conf, images, **kwargs):
        """"""
        with self._run_container(conf, images, **kwargs):
            pass
1049284
def append(self, item):
        """"""
        self.beginInsertRows(QtCore.QModelIndex(),
                             self.rowCount(),
                             self.rowCount())

        self.items.append(item)
        self.endInsertRows()
1163966
public void add(Container container, boolean addRelationships) {
        if (container != null && !container.equals(getContainer())) {
            addElement(container, addRelationships);
        }
    }
695804
def put_container(self, url, container, container_headers=None):
        

        headers, container_uri = self._return_base_data(
            url=url,
            container=container,
            container_headers=container_headers
        )

        resp = self._header_getter(
            uri=container_uri,
            headers=headers
        )
        if resp.status_code == 404:
            return self._putter(uri=container_uri, headers=headers)
        else:
            return resp
98641
def append(self, data):
        """"""
        # CSV file exists, append rows
        if os.path.exists(self.file_path):
            return self.write(data, method='a')
        # CSV file does NOT exist, create new file and write rows
        else:
            return self.write(data, method='w')
1249169
def _init_append(self):
        
        if self._content_length:
            # Adjust size if content length specified
            with _handle_azure_exception():
                self._resize(
                    content_length=self._content_length, **self._client_kwargs)
                self._reset_head()

        # Make initial seek position to current end of file
        self._seek = self._size
843515
def append(self, value):
        """"""
        len_self = self.redis.rpush(self.key, self._pickle(value))

        if self.writeback:
            self.cache[len_self - 1] = value
717338
def container(self, cls, **kwargs):
        """"""
        self.start_container(cls, **kwargs)
        yield
        self.end_container()