Skip to content

Commit 244f32b

Browse files
authoredMar 6, 2024
fix: doc quotes (#778)
1 parent f25394e commit 244f32b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎firebase_admin/functions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class TaskOptions:
363363
Task IDs should be strings that contain only letters ([A-Za-z]), numbers ([0-9]),
364364
hyphens (-), and underscores (_) with a maximum length of 500 characters. If a task's
365365
ID is identical to that of an existing task or a task that was deleted or executed
366-
recently then the call will throw an error with code "functions/task-already-exists".
366+
recently then the call will throw an error with code `functions/task-already-exists`.
367367
Another task with the same ID can't be created for ~1hour after the original task was
368368
deleted or executed.
369369
@@ -376,7 +376,7 @@ class TaskOptions:
376376
are sequential or have sequential prefixes, for example using a timestamp, causes an
377377
increase in latency and error rates in all task commands.
378378
379-
"Push IDs" from the Firebase Realtime Database make poor IDs because they are based on
379+
Push IDs from the Firebase Realtime Database make poor IDs because they are based on
380380
timestamps and will cause contention (slowdowns) in your task queue. Reversed push IDs
381381
however form a perfect distribution and are an ideal key. To reverse a string in Python
382382
use ``reversedString = someString[::-1]``

0 commit comments

Comments
 (0)