Skip to content

Commit

Permalink
Daily Pathway examples refresh
Browse files Browse the repository at this point in the history
Co-authored-by: Manul from Pathway <[email protected]>
GitOrigin-RevId: d968d4fa61bf18aae8322017de05f28dc984270c
  • Loading branch information
Pathway-Dev and Manul from Pathway committed Feb 23, 2025
1 parent 325e46c commit 9107cc5
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 39 deletions.
72 changes: 35 additions & 37 deletions examples/notebooks/tutorials/asynctransformer.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@
"output_type": "stream",
"text": [
" | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 3 | 1740202545718 | 1\n",
"^3CZ78B4... | 2 | 3 | 1740202545718 | 1\n",
"^YYY4HAB... | 6 | 7 | 1740202546120 | 1\n",
"^3HN31E1... | 6 | 7 | 1740202546120 | 1\n",
"^X1MXHYY... | 12 | 13 | 1740202546720 | 1\n"
"^Z3QWT29... | 2 | 3 | 1740288834412 | 1\n",
"^3CZ78B4... | 2 | 3 | 1740288834412 | 1\n",
"^YYY4HAB... | 6 | 7 | 1740288834812 | 1\n",
"^3HN31E1... | 6 | 7 | 1740288834812 | 1\n",
"^X1MXHYY... | 12 | 13 | 1740288835412 | 1\n"
]
}
],
Expand Down Expand Up @@ -410,10 +410,10 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202555322 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202555522 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1740202555522 | 1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740202555722 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1740288843960 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740288844162 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1740288844162 | 1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740288844360 | 1\n"
]
}
],
Expand Down Expand Up @@ -535,14 +535,14 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202557930 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740202557930 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202558030 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740202558030 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740202558030 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740202558030 | 1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740202558130 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740202558130 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1740288846572 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740288846572 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740288846672 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740288846672 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740288846672 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740288846672 | 1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740288846772 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740288846772 | 1\n"
]
}
],
Expand Down Expand Up @@ -575,16 +575,14 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202559190 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1740202559190 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1740202559290 | -1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740202559290 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740202559392 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202559490 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740202559490 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1740202559590 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1740202559592 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740202559592 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1740288847836 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1740288847836 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1740288847936 | -1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740288847936 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740288848036 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740288848138 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740288848138 | 1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740288848236 | 1\n"
]
}
],
Expand Down Expand Up @@ -627,10 +625,10 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740202561048 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740202561048 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740202561048 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740202561048 | 1\n"
"^YYY4HAB... | 1 | 2 | 3 | 1740288849684 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1740288849684 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740288849684 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1740288849684 | 1\n"
]
}
],
Expand Down Expand Up @@ -674,12 +672,12 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202562308 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740202562308 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740202562406 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740202562406 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740202562506 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740202562506 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1740288850950 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740288850950 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1740288851050 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1740288851050 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1740288851150 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1740288851150 | 1\n"
]
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/tutorials/consistency.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:pathway_engine.connectors.monitoring:subscribe-0: Done writing 0 entries, time 1740202783254. Current batch writes took: 0 ms. All writes so far took: 0 ms.\n"
"INFO:pathway_engine.connectors.monitoring:subscribe-0: Done writing 0 entries, time 1740289070750. Current batch writes took: 0 ms. All writes so far took: 0 ms.\n"
]
},
{
Expand Down
8 changes: 7 additions & 1 deletion examples/notebooks/tutorials/udf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,13 @@
"inc_async(0.6) starting\n",
"inc_async(2.0) starting\n",
"inc_async(0.2) starting\n",
"inc_async(1.2) starting\n",
"inc_async(1.2) starting\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"inc_async(0.2) finishing\n"
]
},
Expand Down

0 comments on commit 9107cc5

Please sign in to comment.