Skip to content

Commit

Permalink
Passing lint via the run_pylint.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxmrs committed Jan 30, 2025
1 parent 096d12e commit 7e8b61f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/runners/dask/dask_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _parse_timeout(candidate):

@staticmethod
def _extract_bag_kwargs(dask_options: t.Dict) -> t.Dict:
"""Parse keyword arguments for `dask.Bag`s, used during graph translation."""
"""Parse keyword arguments for `dask.Bag`s; used in graph translation."""
out = {}

if npartitions := dask_options.pop('npartitions', None):
Expand Down
1 change: 1 addition & 0 deletions sdks/python/apache_beam/runners/dask/overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.
#
import dataclasses

import typing as t

import apache_beam as beam
Expand Down
7 changes: 4 additions & 3 deletions sdks/python/apache_beam/runners/dask/transform_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
A minimum set of operation substitutions, to adap Beam's PTransform model
to Dask Bag functions.
"""
import abc
import dataclasses
from dataclasses import field

import abc
import dask.bag as db
import math
import typing as t
from dataclasses import field

import apache_beam
import dask.bag as db
from apache_beam import DoFn
from apache_beam import TaggedOutput
from apache_beam.pipeline import AppliedPTransform
Expand Down

0 comments on commit 7e8b61f

Please sign in to comment.