apache / apache/beam

Remove imports from runner/init

Open
#18,265 0 comments 0 reactions 0 assignees View on GitHub
backward-incompatible bug core P3 python
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

for Version 3.0

Remove imports from runner/__init__, they cause circular dependencies. In general reduce init imports in the sdk.

https://github.com/apache/beam/blob/911bfbdef62a7bb750426da9cc59537c4ffd9e1f/sdks/python/apache_beam/runners/__init__.py

Imported from Jira [BEAM-2426](https://issues.apache.org/jira/browse/BEAM-2426). Original Jira may contain additional context.
Reported by: altay.

Contributor guide

Open the contributing guide

Research direction

Start by inspecting sdks/python/apache_beam/runners/__init__.py at the referenced revision and trace the imports that create circular dependencies. Review related init imports in the Python SDK; done means the problematic imports are reduced or removed without circular-import failures, with applicable tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.