langflow-ai / langflow

⛓️ Langflow is a dynamic graph where each node is an executable unit. Its modular and interactive design fosters rapid experimentation and prototyping, pushing hard on the limits of creativity.
http://www.langflow.org
MIT License
17.87k stars 2.68k forks source link

Fix custom_repr assignment in instantiate_custom_component function #1828

Closed ogabrielluiz closed 2 weeks ago

ogabrielluiz commented 2 weeks ago

This pull request fixes the assignment of the custom_repr variable in the instantiate_custom_component function. The previous code used the "not" operator to check if custom_repr was empty, but this caused incorrect behavior when custom_repr was set to an empty string. The fix changes the check to use "is None" instead, ensuring that custom_repr is correctly assigned.

render[bot] commented 2 weeks ago

Your Render PR Server URL is https://langflow-v1-0-pr-1828.onrender.com.

Follow its progress at https://dashboard.render.com/web/srv-copvarkf7o1s73fji8tg.

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langflow ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 2, 2024 8:20pm