🎉 Support incremental sync in Sendgrid (#3512)
* Add incremental streams support. Updated config catalogs. * Format streams.py * Add incremental test config. Update README.md. Remove unused code. * Add SendgridStreamIncrementalMixin init type definitions * Acceptance tests config full_refresh configured_catalog_path fixed. * Add super() request_params call to SendgridStreamOffsetPagination request_params method * Fix start time overwrite in incremental streams. Update config files for abnormal state and catalogs. * Bump source-sendgrid docker version
This commit is contained in:
@@ -37,7 +37,7 @@ From the Airbyte repository root, run:
|
||||
**If you are a community contributor**, follow the instructions in the [documentation](https://docs.airbyte.io/integrations/sources/sendgrid)
|
||||
to generate the necessary credentials. Then create a file `secrets/config.json` conforming to the `source_sendgrid/spec.json` file.
|
||||
Note that the `secrets` directory is gitignored by default, so there is no danger of accidentally checking in sensitive information.
|
||||
See `sample_files/sample_config.json` for a sample config file.
|
||||
See `integration_tests/sample_config.json` for a sample config file.
|
||||
|
||||
**If you are an Airbyte core member**, copy the credentials in Lastpass under the secret name `source sendgrid test creds`
|
||||
and place them into `secrets/config.json`.
|
||||
@@ -48,7 +48,7 @@ and place them into `secrets/config.json`.
|
||||
python main.py spec
|
||||
python main.py check --config secrets/config.json
|
||||
python main.py discover --config secrets/config.json
|
||||
python main.py read --config secrets/config.json --catalog sample_files/configured_catalog.json
|
||||
python main.py read --config secrets/config.json --catalog integration_tests/configured_catalog.json
|
||||
```
|
||||
|
||||
### Unit Tests
|
||||
@@ -78,7 +78,7 @@ Then run any of the connector commands as follows:
|
||||
docker run --rm airbyte/source-sendgrid:dev spec
|
||||
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-sendgrid:dev check --config /secrets/config.json
|
||||
docker run --rm -v $(pwd)/secrets:/secrets airbyte/source-sendgrid:dev discover --config /secrets/config.json
|
||||
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/sample_files:/sample_files airbyte/source-sendgrid:dev read --config /secrets/config.json --catalog /sample_files/configured_catalog.json
|
||||
docker run --rm -v $(pwd)/secrets:/secrets -v $(pwd)/integration_tests:/integration_tests airbyte/source-sendgrid:dev read --config /secrets/config.json --catalog /integration_tests/configured_catalog.json
|
||||
```
|
||||
|
||||
### Integration Tests
|
||||
|
||||
Reference in New Issue
Block a user