def _get_file_contents(self, file_path, is_text_file):
        with contextlib.closing(self._conn.get_file(file_path)) as file:
            contents = file.read()
            if is_text_file:
                contents = contents.decode()
            return contents
Constructor.
dataset/ETHPy150Open s3rvac/retdec-python/retdec/resource.py/Resource._get_file_contents--crossover with--dataset/ETHPy150Open mrjoes/flask-admin/flask_admin/form/rules.py/FieldSet.__init__