Skip to content

Commit 3b0320d

Browse files
Merge pull request #236230 from vicancy/patch-6
Update signalr-quickstart-azure-functions-python.md
2 parents 9782833 + 117f306 commit 3b0320d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-signalr/signalr-quickstart-azure-functions-python.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,23 @@ You can use this sample function as a template for your own functions.
8484
{
8585
"type": "http",
8686
"direction": "out",
87-
"name": "$result"
87+
"name": "$return"
8888
}
8989
]
9090
}
9191
```
9292

9393
1. Edit *index/\__init\__.py* and replace the contents with the following code:
9494

95-
```javascript
95+
```python
9696
import os
9797

9898
import azure.functions as func
9999

100100
def main(req: func.HttpRequest) -> func.HttpResponse:
101101
f = open(os.path.dirname(os.path.realpath(__file__)) + '/../content/index.html')
102102
return func.HttpResponse(f.read(), mimetype='text/html')
103-
```
103+
```
104104

105105
### Create the negotiate function
106106

0 commit comments

Comments
 (0)