def set_public(self, region, container, public=True):
        """Set a container publicly available.

        :param region: Region where the container is
        :param container: Container to make public
        :param public: Set container private if False
        """
        try:
            container_name = container.name
        except __HOLE__:
            container_name = container
        if public:
            headers = {'X-Container-Read': '.r:*,.rlistings'}
        else:
            headers = {'X-Container-Read': ''}
        self._swift_call(region, 'post_container',
                         container_name, headers=headers)
dataset/ETHPy150Open runabove/python-runabove/runabove/storage.py/ContainerManager.set_public