Skip to content

Commit 93a1067

Browse files
Fix CI failures by using regular markdown code blocks for async examples
Co-Authored-By: Alek Petuskey <alek@pynecone.io>
1 parent 9b01131 commit 93a1067

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/vars/computed_vars.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Async computed vars are useful for operations that require asynchronous processi
102102
- File I/O operations
103103
- Any other operations that benefit from async/await
104104

105-
```python demo box
105+
```python
106106
class AsyncVarState(rx.State):
107107
count: int = 0
108108

@@ -134,7 +134,7 @@ When the count changes, the async computed var is automatically recomputed.
134134
Just like regular computed vars, async computed vars can also be cached. This is especially
135135
useful for expensive async operations like API calls or database queries.
136136

137-
```python demo box
137+
```python
138138
class AsyncCachedVarState(rx.State):
139139
user_id: int = 1
140140
refresh_trigger: int = 0

0 commit comments

Comments
 (0)