We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49edd5a commit 2e81098Copy full SHA for 2e81098
examples/run_sync_to_destination_wo_cache.py
@@ -18,8 +18,10 @@
18
19
20
def get_my_source() -> ab.Source:
21
+ # Create a token here: https://github.com/settings/tokens
22
+ # Then export as env var `GITHUB_PERSONAL_ACCESS_TOKEN`
23
github_pat = ab.get_secret("GITHUB_PERSONAL_ACCESS_TOKEN")
- assert str(github_pat)
24
+ assert str(github_pat), "Could not locate Github PAT"
25
source = ab.get_source(
26
"source-github",
27
config={
@@ -28,7 +30,6 @@ def get_my_source() -> ab.Source:
28
30
"personal_access_token": github_pat,
29
31
},
32
- # streams=["issues"],
33
)
34
source.check()
35
source.select_streams(["issues"])
0 commit comments