Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Gate node, super node or docs

Aperta
#118 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reviewing the existing stream-node APIs used in the zip_latest/filter/pluck example and compare how similar usage patterns are represented. Clarify whether the goal is a gate node, a super-node abstraction, or documentation before choosing an entry point. Done means one agreed approach with a defined implementation or documentation scope.

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

Descrizione

It may be helpful to have a Gate node, or super node or at least some usage docs/pattern docs.

A gate node would filter one stream by another stream. This could be done by

s1 = Stream()
s2 = Stream()

l = s1.zip_latest(s2).filter(lambda x: bool(x[1])).pluck(0).sink_to_list()

We have some options in terms of implementation:

  1. Make a node to do this as syntactical sugar
  2. Create some sort of system for "super nodes" where there are underlying nodes but we can treat it as a single big node.
  3. Just document usage patterns like this one (and the average square and others)

I don't know which one is better.
Thoughts?

Lingua principale
Python
Stelle
1.3k
Fork
149
Merge medio
17h 39m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

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 python-streamz/streamz

Tutte le issue di python-streamz/streamz

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.