Skip to content

Commit 46363d1

Browse files
committed
README update
1 parent 29513df commit 46363d1

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,6 @@ The function code for the `get_snippet` and `save_snippet` endpoints are defined
171171
Here's the actual code from the function_app.py file:
172172
173173
```python
174-
import azure.functions as func
175-
import logging
176-
import json
177-
178-
app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS)
179-
180-
# Constants for the Azure Blob Storage container, file, and blob path
181-
_SNIPPET_NAME_PROPERTY_NAME = "snippetname"
182-
_SNIPPET_PROPERTY_NAME = "snippet"
183-
_BLOB_PATH = "snippets/{mcptoolargs." + _SNIPPET_NAME_PROPERTY_NAME + "}.json"
184174
185175
@app.generic_trigger(arg_name="context", type="mcpToolTrigger", toolName="hello",
186176
description="Hello world.",

src/function_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import logging
33
import json
44

5-
app = func.FunctionApp(http_auth_level=func.AuthLevel.ANONYMOUS)
5+
app = func.FunctionApp(http_auth_level=func.AuthLevel.FUNCTION)
66

77
# Constants for the Azure Blob Storage container, file, and blob path
88
_SNIPPET_NAME_PROPERTY_NAME = "snippetname"

0 commit comments

Comments
 (0)