We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d920f85 commit 5e00f0dCopy full SHA for 5e00f0d
.github/workflows/build.yml
.github/workflows/test.yml
tap_restcountries/client.py
@@ -55,4 +55,6 @@ def get_url_params(
55
selected_fields = [k[1] for k,v in self.metadata.items() if v.selected and len(k) == 2]
56
if len(selected_fields) > 10:
57
raise ValueError("The API has a maximum of 10 fields per request.")
58
+ elif len(selected_fields) == 0:
59
+ selected_fields = ["cca3"]
60
return {"fields": ",".join(selected_fields)}
tests/test_core.py
@@ -10,5 +10,4 @@
10
# Run standard built-in tap tests from the SDK:
11
TestTapRestCountries = get_tap_test_class(
12
tap_class=TapRestCountries,
13
- config=SAMPLE_CONFIG,
14
)
0 commit comments