File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Python/taskqueues-backup-images/functions Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # [START v2imports]
16
+ # Dependencies for task queue functions
17
+ from google .cloud import tasks_v2
18
+ import requests
19
+ from firebase_functions .options import RetryConfig , RateLimits , SupportedRegion
20
+
21
+ // Dependencies for image backup sample
15
22
from datetime import datetime , timedelta
16
23
import json
17
24
import pathlib
18
25
from urllib .parse import urlparse
19
-
20
26
from firebase_admin import initialize_app , storage
21
27
from firebase_functions import https_fn , tasks_fn , params
22
- from firebase_functions .options import RetryConfig , RateLimits , SupportedRegion
23
-
24
28
import google .auth
25
29
from google .auth .transport .requests import AuthorizedSession
26
- from google . cloud import tasks_v2
27
- import requests
30
+ // [ END v2imports ]
31
+
28
32
29
33
app = initialize_app ()
30
34
You can’t perform that action at this time.
0 commit comments