File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "pipedream"
33
44[tool .poetry ]
55name = " pipedream"
6- version = " 1.0.0 "
6+ version = " 1.0.1 "
77description = " "
88readme = " README.md"
99authors = []
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ def __init__(
2727
2828 def get_headers (self ) -> typing .Dict [str , str ]:
2929 headers : typing .Dict [str , str ] = {
30- "User-Agent" : "pipedream/1.0.0 " ,
30+ "User-Agent" : "pipedream/1.0.1 " ,
3131 "X-Fern-Language" : "Python" ,
3232 "X-Fern-SDK-Name" : "pipedream" ,
33- "X-Fern-SDK-Version" : "1.0.0 " ,
33+ "X-Fern-SDK-Version" : "1.0.1 " ,
3434 ** (self .get_custom_headers () or {}),
3535 }
3636 if self ._project_environment is not None :
Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ def __init__(
4949 workflow_domain = workflow_domain ,
5050 )
5151
52+ @property
53+ def raw_access_token (self ) -> Optional [str ]:
54+ """
55+ Returns an access token that can be used to authenticate API requests
56+ """
57+ return self ._client_wrapper ._get_token ()
58+
5259
5360class AsyncPipedream (AsyncClient ):
5461
@@ -87,6 +94,13 @@ def __init__(
8794 workflow_domain = workflow_domain ,
8895 )
8996
97+ @property
98+ def raw_access_token (self ) -> Optional [str ]:
99+ """
100+ Returns an access token that can be used to authenticate API requests
101+ """
102+ return self ._client_wrapper ._get_token ()
103+
90104
91105def _get_base_url (environment : PipedreamEnvironment ) -> str :
92106 """
You can’t perform that action at this time.
0 commit comments