(self, path)
| 144 | return self |
| 145 | |
| 146 | def putFile(self, path): |
| 147 | # Post file to data api |
| 148 | with open(path, 'rb') as f: |
| 149 | result = self.client.putHelper(self.url, f) |
| 150 | if 'error' in result: |
| 151 | raise raiseDataApiError(result) |
| 152 | else: |
| 153 | return self |
| 154 | |
| 155 | def putNumpy(self, array): |
| 156 | # Post numpy array as json payload |
no test coverage detected