Skip to content

Commit 7efb3e7

Browse files
committed
isort
1 parent ab8221f commit 7efb3e7

1 file changed

Lines changed: 10 additions & 24 deletions

File tree

sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,16 @@
3030
import typing
3131
import unittest
3232
import uuid
33-
from typing import Any
34-
from typing import Dict
35-
from typing import Iterator
36-
from typing import List
37-
from typing import Tuple
38-
from typing import no_type_check
33+
from contextlib import contextmanager
34+
from typing import Any, Dict, Iterator, List, Tuple, no_type_check
3935

4036
import hamcrest # pylint: disable=ungrouped-imports
4137
import numpy as np
4238
import pytest
4339
from hamcrest.core.matcher import Matcher
4440
from hamcrest.core.string_description import StringDescription
45-
from tenacity import retry
46-
from tenacity import stop_after_attempt
47-
from contextlib import contextmanager
41+
from tenacity import retry, stop_after_attempt
42+
4843
import apache_beam as beam
4944
from apache_beam.coders import coders
5045
from apache_beam.coders.coders import StrUtf8Coder
@@ -53,31 +48,22 @@
5348
from apache_beam.metrics import monitoring_infos
5449
from apache_beam.metrics.execution import MetricKey
5550
from apache_beam.metrics.metricbase import MetricName
56-
from apache_beam.options.pipeline_options import DebugOptions
57-
from apache_beam.options.pipeline_options import DirectOptions
58-
from apache_beam.options.pipeline_options import PipelineOptions
59-
from apache_beam.options.pipeline_options import StandardOptions
51+
from apache_beam.options.pipeline_options import (
52+
DebugOptions, DirectOptions, PipelineOptions, StandardOptions)
6053
from apache_beam.options.value_provider import RuntimeValueProvider
6154
from apache_beam.portability import python_urns
6255
from apache_beam.runners.portability import fn_api_runner
6356
from apache_beam.runners.portability.fn_api_runner import fn_runner
6457
from apache_beam.runners.sdf_utils import RestrictionTrackerView
65-
from apache_beam.runners.worker import data_plane
66-
from apache_beam.runners.worker import statesampler
58+
from apache_beam.runners.worker import data_plane, statesampler
6759
from apache_beam.runners.worker.operations import InefficientExecutionWarning
6860
from apache_beam.testing.synthetic_pipeline import SyntheticSDFAsSource
6961
from apache_beam.testing.test_stream import TestStream
70-
from apache_beam.testing.util import assert_that
71-
from apache_beam.testing.util import equal_to
72-
from apache_beam.testing.util import has_at_least_one
62+
from apache_beam.testing.util import assert_that, equal_to, has_at_least_one
7363
from apache_beam.tools import utils
74-
from apache_beam.transforms import environments
75-
from apache_beam.transforms import trigger
76-
from apache_beam.transforms import userstate
77-
from apache_beam.transforms import window
64+
from apache_beam.transforms import environments, trigger, userstate, window
7865
from apache_beam.transforms.periodicsequence import PeriodicImpulse
79-
from apache_beam.utils import timestamp
80-
from apache_beam.utils import windowed_value
66+
from apache_beam.utils import timestamp, windowed_value
8167

8268
if statesampler.FAST_SAMPLER:
8369
DEFAULT_SAMPLING_PERIOD_MS = statesampler.DEFAULT_SAMPLING_PERIOD_MS

0 commit comments

Comments
 (0)