.. deprecated:: 4.0.0
(*args, **kwargs)
| 212 | |
| 213 | |
| 214 | def empty(*args, **kwargs): |
| 215 | """ |
| 216 | .. deprecated:: 4.0.0 |
| 217 | """ |
| 218 | raise Exception( |
| 219 | """ |
| 220 | The API for Deep Lake 4.0 has changed significantly, including the `empty` method being replaced by `create`. |
| 221 | To continue using Deep Lake 3.x, use `pip install "deeplake<4"`. |
| 222 | For information on migrating your code, see https://docs.deeplake.ai/latest/details/v3_conversion/ |
| 223 | """.replace( |
| 224 | "\n", " " |
| 225 | ).strip() |
| 226 | ) |
| 227 | |
| 228 | |
| 229 | def convert( |