async def dump_container(obj, container, container_type, params=None, field_archiver=None):
field_archiver = field_archiver if field_archiver else dump_field<EOL>elem_type = params[<NUM_LIT:0>] if params else None<EOL>if elem_type is None:<EOL><INDENT>elem_type = container_type.ELEM_TYPE<EOL><DEDENT>obj = [] if obj is None else get_elem(obj)<EOL>if container is None:<EOL><INDENT>return None<EOL><DEDENT>for elem in container:<EOL><INDENT>fvalue = await field_archiver(None, elem, elem_type, params[<NUM_LIT:1>:] if params else None)<EOL>obj.append(fvalue)<EOL><DEDENT>return obj<EOL>
Serializes container as popo

:param obj:
:param container:
:param container_type:
:param params:
:param field_archiver:
:return: