Skip to content

Commit 853a9cd

Browse files
committed
run format
1 parent 137b251 commit 853a9cd

File tree

2 files changed

+11
-15
lines changed

2 files changed

+11
-15
lines changed

airbyte-integrations/connectors/source-senseforce/integration_tests/configured_catalog.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@
44
"stream": {
55
"name": "dataset",
66
"json_schema": {},
7-
"supported_sync_modes": [
8-
"full_refresh",
9-
"incremental"
10-
]
7+
"supported_sync_modes": ["full_refresh", "incremental"]
118
},
129
"sync_mode": "incremental",
1310
"destination_sync_mode": "overwrite"
1411
}
1512
]
1613
}
17-

airbyte-integrations/connectors/source-senseforce/source_senseforce/senseforce.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ definitions:
1111
http_method: "POST"
1212
request_options_provider:
1313
request_body_data: |
14-
[{"clause": {"type": "timestamp", "operator": 10, "parameters":
15-
[{"value": {{ stream_slice['start_time'] | int * 1000 }} },
16-
{"value": {{ stream_slice['end_time'] | int * 1000 + (86400000 - 1) }} }
17-
]
18-
19-
}, "orderBy": 1, "columnName": "Timestamp"}]/
14+
[{"clause": {"type": "timestamp", "operator": 10, "parameters":
15+
[{"value": {{ stream_slice['start_time'] | int * 1000 }} },
16+
{"value": {{ stream_slice['end_time'] | int * 1000 + (86400000 - 1) }} }
17+
]
18+
19+
}, "orderBy": 1, "columnName": "Timestamp"}]/
2020
request_headers:
2121
Content-Type: application/json
2222
authenticator:
@@ -69,10 +69,10 @@ definitions:
6969
path: "/api/dataset/execute/{{ config['dataset_id']}}"
7070
stream_cursor_field: "airbyte_cursor"
7171
transformations:
72-
- type: AddFields
73-
fields:
74-
- path: [ "airbyte_cursor" ]
75-
value: "{{ record['timestamp'] | int / 1000 }}"
72+
- type: AddFields
73+
fields:
74+
- path: ["airbyte_cursor"]
75+
value: "{{ record['timestamp'] | int / 1000 }}"
7676

7777
streams:
7878
- "*ref(definitions.dataset_stream)"

0 commit comments

Comments
 (0)