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

Allow for importing render function #67

Open
gitkief opened this issue Feb 19, 2025 · 2 comments
Open

Allow for importing render function #67

gitkief opened this issue Feb 19, 2025 · 2 comments

Comments

@gitkief
Copy link

gitkief commented Feb 19, 2025

render()

It would be nice to wrap the render call in a if __name__ == "__main__": block to allow to import and use the render function in other Python scripts and tests.

@edufnt
Copy link

edufnt commented Feb 21, 2025

This would be obsoleted by discussion: #70 , which is IMO a cleaner approach.

@gitkief
Copy link
Author

gitkief commented Feb 22, 2025

Despite #70, I would still/in addition safe guard the render() function to allow unit testing the actual cli-interface.

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

No branches or pull requests

2 participants