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"
3
3
4
4
[tool .poetry ]
5
5
name = " pipedream"
6
- version = " 1.0.0 "
6
+ version = " 1.0.1 "
7
7
description = " "
8
8
readme = " README.md"
9
9
authors = []
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ def __init__(
27
27
28
28
def get_headers (self ) -> typing .Dict [str , str ]:
29
29
headers : typing .Dict [str , str ] = {
30
- "User-Agent" : "pipedream/1.0.0 " ,
30
+ "User-Agent" : "pipedream/1.0.1 " ,
31
31
"X-Fern-Language" : "Python" ,
32
32
"X-Fern-SDK-Name" : "pipedream" ,
33
- "X-Fern-SDK-Version" : "1.0.0 " ,
33
+ "X-Fern-SDK-Version" : "1.0.1 " ,
34
34
** (self .get_custom_headers () or {}),
35
35
}
36
36
if self ._project_environment is not None :
Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ def __init__(
49
49
workflow_domain = workflow_domain ,
50
50
)
51
51
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
+
52
59
53
60
class AsyncPipedream (AsyncClient ):
54
61
@@ -87,6 +94,13 @@ def __init__(
87
94
workflow_domain = workflow_domain ,
88
95
)
89
96
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
+
90
104
91
105
def _get_base_url (environment : PipedreamEnvironment ) -> str :
92
106
"""
You can’t perform that action at this time.
0 commit comments