Skip to content

Commit 731d7eb

Browse files
committed
fix: nits
1 parent 7f8f41f commit 731d7eb

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/firebase_functions/core.py

-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ def init(callback: _typing.Callable[[], _typing.Any]) -> None:
9898
global _did_init
9999
global _init_callback
100100

101-
_init_callback = callback
102-
103101
if _did_init:
104102
_logger.warn(
105103
"Setting init callback more than once. Only the most recent callback will be called"

tests/test_identity_fn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ def init():
5959
).get_environ()
6060
request = Request(environ)
6161
decorated_func = identity_fn.before_user_signed_in()(func)
62-
print(decorated_func(request))
62+
decorated_func(request)
6363

6464
self.assertEqual("world", hello)

0 commit comments

Comments
 (0)