Skip to content

Commit 26b25c0

Browse files
committed
update dependencies and fix builds
1 parent 9fd3dbf commit 26b25c0

File tree

5 files changed

+695
-562
lines changed

5 files changed

+695
-562
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /app
88
COPY pyproject.toml .
99
COPY poetry.lock .
1010
RUN pip3 install --no-cache-dir poetry
11-
RUN poetry install --no-dev --no-interaction --no-ansi
11+
RUN poetry install --no-interaction --no-ansi --no-root
1212

1313
# Copy the rest of the code
1414
COPY plugin plugin

TestConfig.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ spec:
33
name: "comics"
44
registry: "grpc"
55
path: "localhost:7777"
6-
tables: ['*']
6+
tables: ["*"]
77
destinations: ["sqlite"]
88
spec:
9+
access_token: "example"
910
base_url: https://xkcd.com
1011
---
1112
kind: destination
@@ -14,4 +15,4 @@ spec:
1415
path: cloudquery/sqlite
1516
version: "v2.4.11"
1617
spec:
17-
connection_string: ./db.sqlite
18+
connection_string: ./db.sqlite

plugin/example/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ def __init__(self, access_token, base_url="https://api.example.com"):
77
self._base_url = base_url
88

99
def item_iterator(self, page: int = 1) -> Generator[Dict[str, Any], None, None]:
10-
...
10+
yield {"num": 1, "string": "example", "date": "2021-01-01"}

0 commit comments

Comments
 (0)