(self, path, client, force=False)
| 144 | |
| 145 | # algo rmdir <path> |
| 146 | def rmdir(self, path, client, force=False): |
| 147 | # remove a dir in data collection |
| 148 | |
| 149 | Dir = client.dir(path) |
| 150 | |
| 151 | try: |
| 152 | if Dir.exists(): |
| 153 | Dir.delete(force) |
| 154 | except Algorithmia.errors.DataApiError as e: |
| 155 | print(e) |
| 156 | |
| 157 | def rm(self, path, client): |
| 158 |