Fixes https://github.com/airbytehq/oncall/issues/9565 ## What When migrating tolow-code + manifest-only format, we didn't migrate the dimensionFilter feature, this change adds this back so requests to Google's API include the dimension filter in the body of the request. ## How There are two things that are done now: 1. We take the incoming config and transform it into the format expected by Google's API. This is a direct port of what we used to do as a pre-sync transformation: https://github.com/airbytehq/airbyte/pull/60342/files#diff-c598765182c592504650290115e49900ef4b473307ddd69ea1662e6a6865cddfL206-L223 . This would also avoid a breaking change 2. Define in the stream template, the interpolation to inject the dimensionFilter (if it exists) into the request body which will be applied for each dynamic stream created by a custom_report ## Review guide 1. `components.py` 3. `manifest.yaml` ## User Impact Should only be additive and fix customers with the issue ## Can this PR be safely reverted and rolled back? - [x] YES 💚 - [ ] NO ❌
22 lines
494 B
TOML
22 lines
494 B
TOML
[build-system]
|
|
requires = ["poetry-core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry]
|
|
name = "source-google-analytics-data-api"
|
|
version = "0.0.0"
|
|
description = "Unit tests for source-google-analytics-data-api"
|
|
authors = ["Airbyte <contact@airbyte.io>"]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.10,<3.13"
|
|
airbyte-cdk = "^7"
|
|
pytest = "^8"
|
|
responses = "^0.25.7"
|
|
requests-mock = "^1.11.0"
|
|
|
|
[tool.pytest.ini_options]
|
|
filterwarnings = [
|
|
"ignore:This class is experimental*"
|
|
]
|