Skip to content

Commit

Permalink
Remove now unneeded langauge level specifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Aug 8, 2024
1 parent c825434 commit 2b7e842
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/coders/coder_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""Coder implementations.
The actual encode/decode implementations are split off from coders to
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/coders/stream.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""Compiled version of the Stream objects used by CoderImpl.
For internal use only; no backwards-compatibility guarantees.
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/metrics/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""
This file contains metric cell classes. A metric cell is used to accumulate
in-memory changes to a metric. It represents a specific metric in a single
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/metrics/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""
This module is for internal use only; no backwards-compatibility guarantees.
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/metrics/monitoring_infos.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

# pytype: skip-file

import collections
Expand Down
1 change: 0 additions & 1 deletion sdks/python/apache_beam/runners/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# cython: language_level=3

"""Worker operations executor.
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/runners/worker/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""Python worker logging."""

# pytype: skip-file
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/runners/worker/opcounters.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""Counters collect the progress of the Worker for reporting to the service."""

# pytype: skip-file
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/runners/worker/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""Worker operations executor."""

# pytype: skip-file
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/runners/worker/statesampler_fast.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""State sampler for tracking time spent in execution steps.
The state sampler profiles the time spent in each step of a pipeline.
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/testing/fast_test_utils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

cimport libc.stdint
cimport libc.stdlib
cimport libc.string
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/transforms/cy_combiners.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""A library of basic cythonized CombineFn subclasses.
For internal use only; no backwards-compatibility guarantees.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# limitations under the License.
#

# cython: language_level=3

""" For internal use only. No backwards compatibility guarantees."""

cimport cython
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/transforms/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# limitations under the License.
#

# cython: language_level=3

"""This module has all statistic related transforms.
This ApproximateUnique class will be deprecated [1]. PLease look into using
Expand Down
1 change: 0 additions & 1 deletion sdks/python/apache_beam/utils/counters.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

# cython: profile=False
# cython: overflowcheck=True
# cython: language_level=3

"""Counters collect the progress of the Worker for reporting to the service.
Expand Down
2 changes: 0 additions & 2 deletions sdks/python/apache_beam/utils/windowed_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
# editing this file as WindowedValues are created for every element for
# every step in a Beam pipeline.

# cython: language_level=3

# pytype: skip-file

import collections
Expand Down

0 comments on commit 2b7e842

Please sign in to comment.