Skip to content

Commit

Permalink
Move cloud import
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed May 28, 2024
1 parent 8de9359 commit b7220a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/qa/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import ckan.lib.helpers as ckan_helpers
from ckanext.qa.sniff_format import sniff_file_format
from ckanext.archiver.model import Archival, Status
from google.cloud import storage

import logging

Expand Down Expand Up @@ -300,6 +299,8 @@ def score_by_sniffing_data(archival, resource, score_reasons):

if cloudstorage_enabled:

from google.cloud import storage

# check if blob exists in cloudstorage
path_to_json = config.get(
'ckanext.cloudstorage.google_service_account_json')
Expand Down

0 comments on commit b7220a3

Please sign in to comment.