Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Reusing code in multiple functions #2528

Open
funkindy opened this issue Oct 1, 2024 · 0 comments
Open

[Python] Reusing code in multiple functions #2528

funkindy opened this issue Oct 1, 2024 · 0 comments

Comments

@funkindy
Copy link

funkindy commented Oct 1, 2024

I have a repo which has a structure like this:

├── common
│   └── utils.py
├── func1
│   └── func.py
└── func2
    └── func.py

common package contains some code that i'd like to share between my functions.

The problem is that when i func build my func1, the resulting image only contain func1 content in its internal workspace folder.

Is it possible to somehow instruct the builder to include some outer modules to the build?

I know that packaging is an option but i dont want to package and install, say, shared configs.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant