Skip to content

Commit

Permalink
style: reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
Vixtir committed Oct 31, 2022
1 parent d54cc37 commit f8de5e3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
5 changes: 3 additions & 2 deletions odd_collector_profiler/profiler_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
from odd_collector_sdk.api.http_client import HttpClient
from odd_models.models import DatasetStatisticsList

from odd_collector_profiler.domain.collector_profiler_config import \
CollectorProfilerConfig
from odd_collector_profiler.domain.collector_profiler_config import (
CollectorProfilerConfig,
)
from odd_collector_profiler.domain.profiler import Profiler
from odd_collector_profiler.errors import MissedRegisterFunction
from odd_collector_profiler.helpers.task_runner import TaskRunner
Expand Down
9 changes: 3 additions & 6 deletions odd_collector_profiler/profilers/postgres/profiler.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
from typing import Any, Dict, List, Tuple

from funcy import lmap
from odd_models.models import (DataSetFieldStat, DataSetStatistics,
DatasetStatisticsList)
from odd_models.models import DataSetFieldStat, DataSetStatistics, DatasetStatisticsList
from oddrn_generator import PostgresqlGenerator
from sqlalchemy.engine import Connection

from odd_collector_profiler.domain.config import PostgresConfig
from odd_collector_profiler.domain.profiler import Profiler
from odd_collector_profiler.domain.statistics.column_statistic import \
ColumnStatistic
from odd_collector_profiler.domain.statistics.column_statistic import ColumnStatistic
from odd_collector_profiler.helpers.sql_dialect import SQLDialect
from odd_collector_profiler.profilers import DATA_PROFILER
from odd_collector_profiler.services.data_frame_reader import \
TableDataframeReader
from odd_collector_profiler.services.data_frame_reader import TableDataframeReader
from odd_collector_profiler.services.data_profiler import DataProfiler


Expand Down
12 changes: 7 additions & 5 deletions odd_collector_profiler/services/data_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
from funcy import first, lkeep
from pandas import DataFrame

from odd_collector_profiler.domain.statistics import (ColumnStatistic,
DatetimeColumnStatistic,
IntColumnStatistic,
NumberColumnStatistic,
StringColumnStatistic)
from odd_collector_profiler.domain.statistics import (
ColumnStatistic,
DatetimeColumnStatistic,
IntColumnStatistic,
NumberColumnStatistic,
StringColumnStatistic,
)
from odd_collector_profiler.utils.datetime import parse_datetime

dp_logging.set_verbosity(logging.ERROR)
Expand Down

0 comments on commit f8de5e3

Please sign in to comment.