Dmitry
07/13/2021, 2:13 PMfrom prefect.storage.github import GitHub
my_string = GitHub(access_token_secret="github", repo="my_repo", path="etl/query.sql")
but I get only <class 'prefect.storage.github.GitHub'>
I need to get this file like a string.
How I can do it?Kevin Kho
nicholas
<http://requests.post|requests.post>( "<https://api.github.com/graphql>", json=request_body, headers=headers)
where request_body
is a graphql string and headers
contains your GitHub authentication headersDmitry
07/13/2021, 2:26 PMKevin Kho
Dmitry
07/13/2021, 2:31 PM