digitalocean / digitalocean/sample-functions-python-sendgrid-email

Multiple functions within an App share same utilities.

Offen
#7 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
24
Forks
26
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Is there a way for multiple functions within the DO (DigitalOcean) App to share the same utils/constants and requirements file?

The issue I'm facing is that every time I create a new function, I have to redefine all the constants, package requirements, and even the build.sh file. This repetition is becoming cumbersome for me.

Here is my folder structure:

image

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.