Skip to content

Conversation

finn-rudolph
Copy link
Contributor

@finn-rudolph finn-rudolph commented Aug 21, 2025

  • The representation is always to be understood with the following imports (We don't print them, I think this would be too pedantic):
from pydiverse.transform import Table
from pydiverse.transform.extended import *
  • If a table name is not a valid python identifier, AST printing in this form may fail. (We handle spaces, dots and hyphens by replacing them with underscores)
  • To get from the printed AST repr to running source code, one needs to
    • fix the table definitions and fill them with actual data
    • Sometimes break the flow and introduce variables for aliases

@finn-rudolph finn-rudolph requested a review from a team as a code owner August 21, 2025 13:53
@windiana42 windiana42 merged commit 450254c into main Aug 22, 2025
19 checks passed
@windiana42 windiana42 deleted the ast-repr branch August 22, 2025 08:54
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.

2 participants