Adham Suliman
03/14/2023, 5:13 PMAlex Marquardt (Airbyte)
03/14/2023, 5:17 PMpage_size_option:
inject_into: body_json
type: RequestOption
field_name: pageSizeAlex Marquardt (Airbyte)
03/14/2023, 5:20 PMAdham Suliman
03/14/2023, 5:44 PMfield_name . When I get to the _create_prepared_request function, I see the following for my data dict:
{'query': 'query {orders(updatedAtStart:"2023-02-03T00:00:00",updatedAtEnd:"2023-02-03T23:59:59", offset:"", limit:"") {appliedCoupons{id},...,updatedAt}}', 'page_size': 50}
This shows that the page_size is getting added into the data dict as a separate key instead of being injected into the query key within the data dict.
Here is how my stream is defined. Do you know what function executes the jinja syntax? Maybe I could set a breakpoint at that function and see if there is a way there to extract that information.Alex Marquardt (Airbyte)
03/14/2023, 5:46 PMAlex Marquardt (Airbyte)
03/14/2023, 5:50 PMinject_into parameter - https://docs.airbyte.com/connector-development/config-based/understanding-the-yaml-file/request-options/#request-options-1Adham Suliman
03/14/2023, 5:59 PMbody_json. The question is how to go about calling those variables within the request. Do you know of someone on the team that could maybe provide some further guidance on this?
I see there is an open task for this on github, but maybe there’s an alternative interim solution to this issue? ?