Returns the current process's default cache location folder. The folder is determined lazily on first call.
()
| 299 | |
| 300 | @staticmethod |
| 301 | def __get_default_location(): |
| 302 | """ |
| 303 | Returns the current process's default cache location folder. |
| 304 | |
| 305 | The folder is determined lazily on first call. |
| 306 | |
| 307 | """ |
| 308 | if not FileCache.__default_location: |
| 309 | tmp = tempfile.mkdtemp("suds-default-cache") |
| 310 | FileCache.__default_location = tmp |
| 311 | import atexit |
| 312 | atexit.register(FileCache.__remove_default_location) |
| 313 | return FileCache.__default_location |
| 314 | |
| 315 | @staticmethod |
| 316 | def __remove_default_location(): |