Skip to content

Updating Python Client

Vivian Nguyen edited this page Mar 25, 2022 · 4 revisions

The python client is mostly code generated using the openapi code generator. There are currently a single code generated clients:

  • REST server API (array registration, udfs, serverless sql, etc). Link to spec

There is a bash script to regenerate the client code from the linked specs above.

Procedure

# Clone (or pull) the repos where
$ cd /tmp/
$ git clone [email protected]:TileDB-Inc/TileDB-Cloud-API-Spec.git

# Regenerate
$ cd /path/to/TileDB-Cloud-Py
$ rm -rf tiledb/cloud/rest_api && ./update_generated.sh rest /tmp/TileDB-Cloud-API-Spec/ tiledb/cloud
Clone this wiki locally