Skip to content

Stop trying to print text using click if not CLI #107

Description

@BMatischen01

click is used to print some text in exporter.py but this causes a crash if the interface is not a command line (e.g. Streamlit app version.) Need to redirect these messages or add checks for the environement?

To Reproduce an example of this issue:
Make a project with a component. Set the component as public and the parent as private. On Streamlit, attempt to export the single component.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions