From c3b2d3508e2e03924488b38aefc8eb9f2d7d3c22 Mon Sep 17 00:00:00 2001 From: Julia Silge Date: Thu, 15 Dec 2022 20:05:03 -0700 Subject: [PATCH 1/2] Specify "Python Code" --- pins/rsconnect/html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pins/rsconnect/html/index.html b/pins/rsconnect/html/index.html index abca594e..12828b8b 100644 --- a/pins/rsconnect/html/index.html +++ b/pins/rsconnect/html/index.html @@ -47,7 +47,7 @@

{{pin_name}}

-

Code

+

Python Code

from pins import board_rsconnect
 board = {{board_deparse}}

From 08d2ce09afe4f3d2d22ccf7ff0f346534d4d6922 Mon Sep 17 00:00:00 2001
From: Michael Chow 
Date: Fri, 16 Dec 2022 15:37:48 -0700
Subject: [PATCH 2/2] tests: update snapshot for 'Python Code'

---
 .../_snapshots/test_board_pin_write_rsc_index_html/index.html   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pins/tests/_snapshots/test_board_pin_write_rsc_index_html/index.html b/pins/tests/_snapshots/test_board_pin_write_rsc_index_html/index.html
index bb9e3b1a..eec42214 100644
--- a/pins/tests/_snapshots/test_board_pin_write_rsc_index_html/index.html
+++ b/pins/tests/_snapshots/test_board_pin_write_rsc_index_html/index.html
@@ -56,7 +56,7 @@ 

derek/test_rsc_pin

-

Code

+

Python Code

from pins import board_rsconnect
 board = board_rsconnect(server_url='http://localhost:3939')