Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove state capability #12

Merged
merged 1 commit into from
Feb 2, 2022
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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ Built with the [Meltano SDK](https://sdk.meltano.com) for Singer Taps and Target

* `sync`
* `catalog`
* `state`
* `discover`

Note: This tap currently does not support incremental state.

## Settings

| Setting | Required | Default | Description |
Expand Down
6 changes: 6 additions & 0 deletions tap_csv/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from singer_sdk import Stream, Tap
from singer_sdk import typing as th # JSON schema typing helpers
from singer_sdk.helpers._classproperty import classproperty

from tap_csv.client import CSVStream

Expand Down Expand Up @@ -34,6 +35,11 @@ class TapCSV(Tap):
),
).to_dict()

@classproperty
def capabilities(self) -> List[str]:
"""Get tap capabilites."""
return ["sync", "catalog", "discover"]

def get_file_configs(self) -> List[dict]:
"""Return a list of file configs.

Expand Down