shunping commented on PR #37134:
URL: https://github.com/apache/beam/pull/37134#issuecomment-3671481937

   @derrickaw: looks like there is another circular import problem of 
`RecordingManager`, introduced in #36853.
   
   ```
   Traceback (most recent call last):
     File "./sdks/python/playpen/import_loop", line 3, in <module>
       from apache_beam.runners.interactive.recording_manager import 
RecordingManager
     File "./sdks/python/apache_beam/runners/interactive/recording_manager.py", 
line 38, in <module>
       from apache_beam.runners.interactive import background_caching_job as bcj
     File 
"./sdks/python/apache_beam/runners/interactive/background_caching_job.py", line 
46, in <module>
       from apache_beam.runners.interactive import interactive_environment as ie
     File 
"./sdks/python/apache_beam/runners/interactive/interactive_environment.py", 
line 41, in <module>
       from apache_beam.runners.interactive.recording_manager import 
RecordingManager
   ImportError: cannot import name 'RecordingManager' from partially 
initialized module 'apache_beam.runners.interactive.recording_manager' (most 
likely due to a circular import) 
(./sdks/python/apache_beam/runners/interactive/recording_manager.py)
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to