def get_backend_tmpdir():
global _backend_tmpdir<EOL>if _backend_tmpdir is None:<EOL><INDENT>_backend_tmpdir = mkdtemp()<EOL><DEDENT>return _backend_tmpdir<EOL>
provide tmpdir which is scoped for the whole backend

:return: str, path to the temporary directory