From fee73414eb63604c8a6744bfadebc29d1cc5e95e Mon Sep 17 00:00:00 2001 From: pnadolny13 Date: Wed, 2 Feb 2022 13:20:38 -0500 Subject: [PATCH] remove state capability --- README.md | 3 ++- tap_csv/tap.py | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 232ad90..fb760fa 100644 --- a/README.md +++ b/README.md @@ -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 | diff --git a/tap_csv/tap.py b/tap_csv/tap.py index 96170a6..2d534f9 100644 --- a/tap_csv/tap.py +++ b/tap_csv/tap.py @@ -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 @@ -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.