Skip to content

Commit

Permalink
revert to using tqdm-loggable
Browse files Browse the repository at this point in the history
  • Loading branch information
elephantum committed Jul 19, 2023
1 parent 6d3f7c3 commit 3c115c6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Add `step fill-metadata` CLI command that populates transform meta-table with
all indices to process
* Add helm chart for running regular loops in k8s as `CronJob`
* Switch from vanilla `tqdm` to `tqdm_loggable` for better display in logs
* Add `step run-idx` CLI command

* Executors: `datapipe.executor.SingleThreadExecutor`,
Expand Down
2 changes: 1 addition & 1 deletion datapipe/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import Dict, Iterable, List, Optional, Tuple

from opentelemetry import trace
from tqdm import tqdm
from tqdm_loggable.auto import tqdm

from datapipe.datatable import DataStore, DataTable
from datapipe.executor import Executor, ExecutorConfig, SingleThreadExecutor
Expand Down
2 changes: 1 addition & 1 deletion datapipe/core_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import pandas as pd
from opentelemetry import trace
from sqlalchemy import alias, and_, column, func, literal, or_, select, tuple_
from tqdm import tqdm
from tqdm_loggable.auto import tqdm

from datapipe.compute import Catalog, ComputeStep, PipelineStep
from datapipe.datatable import DataStore, DataTable
Expand Down
2 changes: 1 addition & 1 deletion datapipe/executor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from dataclasses import dataclass
from typing import Iterable, Optional, Protocol

from tqdm import tqdm
from tqdm_loggable.auto import tqdm

from datapipe.datatable import DataStore
from datapipe.run_config import RunConfig
Expand Down
2 changes: 1 addition & 1 deletion datapipe/executor/ray.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import Any, Dict, Iterable, Optional

import ray
from tqdm import tqdm
from tqdm_loggable.auto import tqdm

from datapipe.datatable import DataStore
from datapipe.executor import Executor, ExecutorConfig, ProcessFn
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "datapipe-core"
version = "0.13.0-alpha.2"
version = "0.13.0-alpha.3"
description = "`datapipe` is a realtime incremental ETL library for Python application"
readme = "README.md"
repository = "https://github.com/epoch8/datapipe"
Expand All @@ -26,6 +26,7 @@ Pillow = "^9.0.0"
iteration-utilities = ">=0.11.0"
cityhash = "^0.4.2"

epoch8-tqdm-loggable = "^0.1.4"
traceback-with-variables = "^2.0.4"

pymilvus = {version="^2.0.2", optional=true}
Expand Down

0 comments on commit 3c115c6

Please sign in to comment.