Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 16, 2024
1 parent 5f5ab27 commit dfebf09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions pipelines/precipitation_model/rionowcast/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from pipelines.precipitation_model.rionowcast.schedules import ( # pylint: disable=E0611, E0401
prediction_schedule,
)
from pipelines.precipitation_model.rionowcast.tasks import ( # pylint: disable=E0611, E0401; task_wait_run,
from pipelines.precipitation_model.rionowcast.tasks import ( # pylint: disable=E0611, E0401; task_wait_run,; get_prediction_on_gypscie,
access_api,
calculate_start_and_end_date,
create_image,
Expand All @@ -38,7 +38,6 @@
get_dataset_info,
get_dataset_processor_info,
get_output_dataset_ids_on_gypscie,
# get_prediction_on_gypscie,
query_data_from_gcp,
register_dataset_on_gypscie,
)
Expand Down
4 changes: 1 addition & 3 deletions pipelines/precipitation_model/rionowcast/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ def register_dataset_on_gypscie(api, filepath: Path, domain_id: int = 1) -> Dict
# pylint: disable=use-maxsplit-arg
data = {
"domain_id": domain_id,
"name": str(filepath)
.split("/")[-1]
.split(".csv")[0], # TODO: nome tem que ser único
"name": str(filepath).split("/")[-1].split(".csv")[0], # TODO: nome tem que ser único
}
log(type(data), data)
files = {
Expand Down

0 comments on commit dfebf09

Please sign in to comment.