Is there any way to import helper functions from a separate file?

Aperta
#8,857 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

Start by reading how workflow steps currently define and execute user-written functions, and identify what language and import mechanisms that path supports. The issue does not specify where helper files would live or how they would be shared; clarify those expectations before implementation. Done means users can import helpers from a separate file and reuse them across workflow steps.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Feature Summary

I'm developing a workflow which involves functions that I wrote up myself. These functions can get very long and complicated, sometimes can be repeated in multiple steps, so it'll be a lot more neat to have these helper functions in a different file. Can we do something line from helper_function import *? Thanks team!

Proposed Solution or Design

N/A

Affected Area

No response

Lingua principale
Scala
Stelle
333
Fork
202
Merge medio
3g 11h
PR unite (30g)
185

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di apache/texera

Tutte le issue di apache/texera

Issue simili

Altre issue su Scala

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.