Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored and skrawcz committed Oct 28, 2022
1 parent 02509d4 commit 37317b1
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 16 deletions.
2 changes: 0 additions & 2 deletions examples/ray/hello_world/run_rayworkflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import importlib

import ray
from ray import workflow

Expand Down
2 changes: 0 additions & 2 deletions graph_adapter_tests/h_async/test_h_async.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import asyncio
import pdb
from typing import Any

import pytest

Expand Down
2 changes: 0 additions & 2 deletions graph_adapter_tests/h_ray/test_h_ray_workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import tempfile

import pandas as pd
import pytest
import ray
Expand Down
2 changes: 1 addition & 1 deletion hamilton/data_quality/pandera_validators.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Type
from typing import Type

import pandas as pd
import pandera as pa
Expand Down
2 changes: 1 addition & 1 deletion hamilton/experimental/h_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
import types
import typing
from typing import Any, Dict, Optional, Type
from typing import Any, Dict, Optional

from hamilton import base, driver, node

Expand Down
1 change: 0 additions & 1 deletion hamilton/experimental/h_ray.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import functools
import inspect
import logging
import typing

Expand Down
3 changes: 1 addition & 2 deletions hamilton/function_modifiers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import abc
import collections
import dataclasses
import enum
import functools
Expand All @@ -11,7 +10,7 @@
import pandas as pd
import typing_inspect

from hamilton import function_modifiers_base, models, node, type_utils
from hamilton import function_modifiers_base, models, node
from hamilton.data_quality import base as dq_base
from hamilton.data_quality import default_validators
from hamilton.dev_utils import deprecation
Expand Down
2 changes: 1 addition & 1 deletion hamilton/node.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import inspect
from enum import Enum
from typing import Any, Callable, Collection, Dict, List, Tuple, Type, Union
from typing import Any, Callable, Dict, List, Tuple, Type, Union

"""
Module that contains the primitive components of the graph.
Expand Down
1 change: 0 additions & 1 deletion tests/resources/data_quality.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import numpy as np
import pandas as pd

from hamilton.function_modifiers import check_output
Expand Down
1 change: 0 additions & 1 deletion tests/test_end_to_end.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import pandas as pd
import pytest

import hamilton.driver
Expand Down
2 changes: 0 additions & 2 deletions tests/test_graph.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import inspect
import tempfile
import typing
import uuid
from itertools import permutations

import pandas as pd
import pytest

import hamilton.type_utils
import tests.resources.bad_functions
import tests.resources.config_modifier
import tests.resources.cyclic_functions
Expand Down

0 comments on commit 37317b1

Please sign in to comment.