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 · 1 comment
Open

[Python] Reusing code in multiple functions #2528

funkindy opened this issue Oct 1, 2024 · 1 comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

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.

Copy link
Contributor

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

1 participant