GoogleCloudPlatform / GoogleCloudPlatform/composer-local-dev

Unable to use Python SDK from container in IDEs

Open
#20 1 comment 4 reactions 0 assignees View on GitHub
Backlog feature request
Dominant language
Python
Stars
108
Forks
67
PR merge metrics
No merged PRs in 30d

Description

Hi,

Is there a way to expose to IDE Python SDK from the docker container? The idea is that development should be done with the same Python SDK and pip libraries as it would run on Composer.

e.g. I tried in IntelliJ IDEA Ultimate >> File >> Project Structure >> SDKs
image
pip packages seem to be working:
image
but the classpath seems to be empty:
![image](https://user-images.githubusercontent.com/2332638/232226054-99758f8c-8501-47b4-88c3-8fdb86128374.png)

which causes unresolved source dependencies:

image

Is there maybe some workaround?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.