Skip to content

Commit 92d8fbb

Browse files
authored
Merge branch 'dev' into feature/client-operation-logging-correlation
2 parents 71cfd9f + be59fb7 commit 92d8fbb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

azure/durable_functions/models/DurableOrchestrationContext.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,10 @@ def call_http(self, method: str, uri: str, content: Optional[str] = None,
246246
The HTTP request method.
247247
uri: str
248248
The HTTP request uri.
249-
content: Optional[str]
250-
The HTTP request content.
249+
content: str or dict, optional
250+
The HTTP request content. Can be a string or a JSON-serializable dictionary.
251+
Note: Although the type hint says 'str', a dictionary is accepted
252+
and will be serialized to JSON.
251253
headers: Optional[Dict[str, str]]
252254
The HTTP request headers.
253255
token_source: TokenSource

0 commit comments

Comments
 (0)