Skip to content

Commit 548ef3c

Browse files
committed
chore: clean up unncessary comments.
1 parent aa39dcc commit 548ef3c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/functions_framework/_http/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def __init__(self, app, debug, **options):
2323
self.debug = debug
2424
self.options = options
2525

26-
# Check if app is Flask (WSGI) or not (ASGI)
2726
if isinstance(app, Flask):
28-
# WSGI app
2927
if self.debug:
3028
self.server_class = FlaskApplication
3129
else:
@@ -36,7 +34,6 @@ def __init__(self, app, debug, **options):
3634
except ImportError as e:
3735
self.server_class = FlaskApplication
3836
else: # pragma: no cover
39-
# ASGI app (Starlette or other)
4037
if self.debug:
4138
from functions_framework._http.asgi import StarletteApplication
4239

tests/test_http.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ def test_create_server(monkeypatch, debug):
4646
],
4747
)
4848
def test_httpserver(monkeypatch, debug, gunicorn_missing, expected):
49-
# Create a mock Flask app
5049
app = flask.Flask("test")
5150
http_server = pretend.stub(run=pretend.call_recorder(lambda: None))
5251
server_classes = {

0 commit comments

Comments
 (0)