* instantiate a declarative connector and allow for reads to be invoked from the connector builder server * various pr feedback and cleaning up the code a bit * refactor grouping logic into a separate function to illustrate how groups are being emitted * fix the webapp to also pass config to the stream list endpoint * fix dereference field * replace error message handling with default FastAPI HTTPException * pr feedback: more error messaging and some code reuse * formatting * regenerate open api spec
Connector builder
Getting started
Set up the virtual environment and install dependencies
python -m venv .venv
source .venv/bin/activate
pip install .
Then run the server
uvicorn connector_builder.entrypoint:app --host 0.0.0.0 --port 8080
The server is now reachable on localhost:8080
OpenAPI generation
openapi-generator generate -i ../connector-builder-server/src/main/openapi/openapi.yaml -g python-fastapi -c openapi/generator_config.yaml -o build/server -t openapi/templates
Or you can run it via Gradle by running this from the Airbyte project root:
./gradlew :airbyte-connector-builder-server:generateOpenApiPythonServer