Skip to content
This repository was archived by the owner on Jun 26, 2025. It is now read-only.

Commit d9e807c

Browse files
authored
Merge pull request #138 from krish-ag/master
Updated manager.py and readme.md
2 parents 6dbff70 + 2195d0b commit d9e807c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ from flask import Flask
3636
from flask_assistant import Assistant, ask
3737

3838
app = Flask(__name__)
39-
assist = Assistant(app, project_id='GOOGLE_CLOUD_PROJECT_ID')
39+
assist = Assistant(app, project_id="GOOGLE_CLOUD_PROJECT_ID")
4040

41-
@assist.action('Demo')
41+
@assist.action("Demo")
4242
def hello_world():
43-
speech = 'Microphone check 1, 2 what is this?'
43+
speech = "Microphone check 1, 2 what is this?"
4444
return ask(speech)
4545

46-
if __name__ == '__main__':
46+
if __name__ == "__main__":
4747
app.run(debug=True)
4848
```
4949

flask_assistant/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def parse_context_name(context_obj):
77

88

99
class Context(dict):
10-
"""docstring for _Context"""
10+
"""This is a docstring for _Context"""
1111

1212
def __init__(self, name, parameters={}, lifespan=5):
1313

0 commit comments

Comments
 (0)