Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app
COPY pyproject.toml .
COPY poetry.lock .
RUN pip3 install --no-cache-dir poetry
RUN poetry install --no-dev --no-interaction --no-ansi
RUN poetry install --no-interaction --no-ansi --no-root

# Copy the rest of the code
COPY plugin plugin
Expand Down
5 changes: 3 additions & 2 deletions TestConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ spec:
name: "comics"
registry: "grpc"
path: "localhost:7777"
tables: ['*']
tables: ["*"]
destinations: ["sqlite"]
spec:
access_token: "example"
base_url: https://xkcd.com
---
kind: destination
Expand All @@ -14,4 +15,4 @@ spec:
path: cloudquery/sqlite
version: "v2.4.11"
spec:
connection_string: ./db.sqlite
connection_string: ./db.sqlite
2 changes: 1 addition & 1 deletion plugin/example/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ def __init__(self, access_token, base_url="https://api.example.com"):
self._base_url = base_url

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