Skip to content

Commit

Permalink
Fixed CI error.
Browse files Browse the repository at this point in the history
  • Loading branch information
deepgabani8 committed Sep 27, 2024
1 parent 85dd522 commit 9611442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weather_mv/loader_pipeline/ee.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ def start_ingestion(self, asset_data: AssetData) -> t.Optional[str]:
response_json = json.loads(response.content)
return response_json.get('name')
else: # as a COG based image.
result = ee.data.createAsset({
ee.data.createAsset({
'name': asset_name,
'type': self.ee_asset_type,
'gcs_location': {
Expand All @@ -768,7 +768,7 @@ def start_ingestion(self, asset_data: AssetData) -> t.Optional[str]:
elif self.ee_asset_type == 'TABLE': # ingest a feature collection.
self.wait_for_task_queue()
task_id = ee.data.newTaskId(1)[0]
response = ee.data.startTableIngestion(task_id, {
ee.data.startTableIngestion(task_id, {
'name': asset_name,
'sources': [{
'uris': [asset_data.target_path]
Expand Down

0 comments on commit 9611442

Please sign in to comment.