Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: doc quotes #778

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions firebase_admin/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class TaskOptions:
Task IDs should be strings that contain only letters ([A-Za-z]), numbers ([0-9]),
hyphens (-), and underscores (_) with a maximum length of 500 characters. If a task's
ID is identical to that of an existing task or a task that was deleted or executed
recently then the call will throw an error with code "functions/task-already-exists".
recently then the call will throw an error with code `functions/task-already-exists`.
Another task with the same ID can't be created for ~1hour after the original task was
deleted or executed.

Expand All @@ -376,7 +376,7 @@ class TaskOptions:
are sequential or have sequential prefixes, for example using a timestamp, causes an
increase in latency and error rates in all task commands.

"Push IDs" from the Firebase Realtime Database make poor IDs because they are based on
Push IDs from the Firebase Realtime Database make poor IDs because they are based on
timestamps and will cause contention (slowdowns) in your task queue. Reversed push IDs
however form a perfect distribution and are an ideal key. To reverse a string in Python
use ``reversedString = someString[::-1]``
Expand Down