|
13 | 13 | # limitations under the License.
|
14 | 14 | """Cloud functions to handle Eventarc events."""
|
15 | 15 |
|
16 |
| -# pylint: disable=protected-access |
| 16 | +# pylint: disable=protected-access,cyclic-import |
17 | 17 | import typing as _typing
|
18 | 18 | import functools as _functools
|
19 | 19 | import datetime as _dt
|
@@ -59,7 +59,7 @@ class AuthUserMetadata:
|
59 | 59 | creation_time: _dt.datetime
|
60 | 60 | """The date the user was created."""
|
61 | 61 |
|
62 |
| - last_sign_in_time: _dt.datetime |
| 62 | + last_sign_in_time: _typing.Optional[_dt.datetime] |
63 | 63 | """The date the user last signed in."""
|
64 | 64 |
|
65 | 65 |
|
@@ -345,7 +345,7 @@ def example(event: identity_fn.AuthBlockingEvent) -> identity_fn.BeforeSignInRes
|
345 | 345 | :param \\*\\*kwargs: Options.
|
346 | 346 | :type \\*\\*kwargs: as :exc:`firebase_functions.options.BlockingOptions`
|
347 | 347 | :rtype: :exc:`typing.Callable`
|
348 |
| - \\[ \\[ :exc:`firebase_functions.identity_fn.AuthBlockingEvent` \\], |
| 348 | + \\[ \\[ :exc:`firebase_functions.identity_fn.AuthBlockingEvent` \\], |
349 | 349 | :exc:`firebase_functions.identity_fn.BeforeSignInResponse` \\| `None` \\]
|
350 | 350 | A function that takes a AuthBlockingEvent and optionally returns BeforeSignInResponse.
|
351 | 351 | """
|
@@ -399,7 +399,7 @@ def example(event: identity_fn.AuthBlockingEvent) -> identity_fn.BeforeCreateRes
|
399 | 399 | :param \\*\\*kwargs: Options.
|
400 | 400 | :type \\*\\*kwargs: as :exc:`firebase_functions.options.BlockingOptions`
|
401 | 401 | :rtype: :exc:`typing.Callable`
|
402 |
| - \\[ \\[ :exc:`firebase_functions.identity_fn.AuthBlockingEvent` \\], |
| 402 | + \\[ \\[ :exc:`firebase_functions.identity_fn.AuthBlockingEvent` \\], |
403 | 403 | :exc:`firebase_functions.identity_fn.BeforeCreateResponse` \\| `None` \\]
|
404 | 404 | A function that takes a AuthBlockingEvent and optionally returns BeforeCreateResponse.
|
405 | 405 | """
|
|
0 commit comments