From 8a18027eb0280d2ff04b5f5b9347044cd9b1d0ca Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 27 Mar 2024 22:14:00 -0300 Subject: [PATCH] Update code snippet language in features.mdx file --- docs/docs/guidelines/features.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/guidelines/features.mdx b/docs/docs/guidelines/features.mdx index 46913a093..6f50abb35 100644 --- a/docs/docs/guidelines/features.mdx +++ b/docs/docs/guidelines/features.mdx @@ -43,7 +43,7 @@ The Code button shows snippets to use your flow as a Python object or an API. Through the Langflow package, you can load a flow from a JSON file and use it as a LangChain object. -```py +```python from langflow.load import load_flow_from_json flow = load_flow_from_json("path/to/flow.json")