Skip to content

add python and JSON file export#218

Merged
lihebi merged 1 commit into
codepod-io:mainfrom
lihebi:export-to-file
Feb 23, 2023
Merged

add python and JSON file export#218
lihebi merged 1 commit into
codepod-io:mainfrom
lihebi:export-to-file

Conversation

@lihebi

@lihebi lihebi commented Feb 23, 2023

Copy link
Copy Markdown
Collaborator

UI in the sidebar:

Screenshot 2023-02-23 at 5 34 34 PM

When clicked, the files will be downloaded. The exported python file with indentation:

Screenshot 2023-02-23 at 5 37 09 PM

The exported JSON file:

Screenshot 2023-02-23 at 5 35 19 PM

@lihebi lihebi linked an issue Feb 23, 2023 that may be closed by this pull request
@lihebi lihebi merged commit b9cf6b7 into codepod-io:main Feb 23, 2023
@forrestbao

Copy link
Copy Markdown
Collaborator

When there are multiple pods, how are their orders determined in the exported Python files? Can we allow users to customize the order by drawing arrows? Or can allow users to select ordering schemes, like based on execution order?

@lihebi

lihebi commented Feb 25, 2023

Copy link
Copy Markdown
Collaborator Author

Yes, we’d handle those in next PR and make the .py runnable. This PR for now is mainly for backing up purpose before we have a proper VCS.

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.

Export to files and sync with GitHub

2 participants