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

Experimental: Peek, Print, and in-place operations #391

Closed
wants to merge 2 commits into from

Conversation

tim-quix
Copy link
Contributor

  • Added SDF.peek(), which is basically a rename of SDF.update()
  • Added SDF.print(metadata: bool), which prints the value, and optionally metadata
  • Enables SDF.print(), SDF.peek() and SDF.to_topic() to be used without reassigning them (and you can chain them as normal)
sdf = SDF()
sdf = sdf.apply(a_func)
sdf.peek(other_func)
sdf.print(metadata=True).to_topic(my_topic)

@tim-quix tim-quix closed this Jul 16, 2024
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

Successfully merging this pull request may close these issues.

1 participant