We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c97798a commit 8fcaba4Copy full SHA for 8fcaba4
docs/connector-development/tutorials/cdk-speedrun.md
@@ -90,8 +90,13 @@ class SourcePythonHttpExample(AbstractSource):
90
return True, None
91
92
def streams(self, config: Mapping[str, Any]) -> List[Stream]:
93
- # Parse the date from a string into a datetime object
+ # Parse the date from a string into a datetime object.
94
start_date = datetime.strptime(config["start_date"], "%Y-%m-%d")
95
+
96
+ # NoAuth just means there is no authentication required for this API and is included for completeness.
97
+ # Skip passing an authenticator if no authentication is required.
98
+ # Other authenticators are available for API token-based auth and Oauth2.
99
+ auth = NoAuth()
100
return [ExchangeRates(authenticator=auth, base=config["base"], start_date=start_date)]
101
```
102
0 commit comments