Skip to content

Commit 63d8790

Browse files
Auto-update API lists and context files
1 parent 9fc76d3 commit 63d8790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llms_ctx.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ app, rt = fast_app(hdrs=hdrs)
296296
@rt
297297
async def get_test_file():
298298
import httpx
299-
url = "https://raw.githubusercontent.com/AnswerDotAI/FastHTML-Gallery/main/applications/start_simple/csv_editor/ex_data.csv"
299+
url = "https://raw.githubusercontent.com/AnswerDotAI/FastHTML-Gallery/refs/heads/main/examples/applications/csv_editor/ex_data.csv"
300300
response = await httpx.AsyncClient().get(url)
301301
return Response(response.text, media_type="text/csv",
302302
headers={'Content-Disposition': 'attachment; filename="ex_data.csv"'})
@@ -314,7 +314,7 @@ def index(sess):
314314

315315
def render_row(row):
316316
vals = [Td(Input(value=v, name=k, oninput="this.classList.add('edited')")) for k,v in row.items()]
317-
vals.append(Td(Group(Button('delete', hx_delete=remove.rt(id=row['id']).lstrip('/')),
317+
vals.append(Td(Group(Button('delete', hx_delete=remove.to(id=row['id']).lstrip('/')),
318318
Button('update', hx_post='update', hx_include="closest tr"))))
319319
return Tr(*vals, hx_target='closest tr', hx_swap='outerHTML')
320320

0 commit comments

Comments
 (0)