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: 8a15107eb3f811394d1fe09dda454db3c0b5e0aa
  • Loading branch information
Pathway-Dev and Manul from Pathway committed Feb 3, 2025
1 parent 576ac5b commit eeb0738
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 57 deletions.
110 changes: 55 additions & 55 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 | 1738474429832 | 1\n",
"^3CZ78B4... | 2 | 3 | 1738474430032 | 1\n",
"^YYY4HAB... | 6 | 7 | 1738474430032 | 1\n",
"^3HN31E1... | 6 | 7 | 1738474430432 | 1\n",
"^X1MXHYY... | 12 | 13 | 1738474430432 | 1\n"
"^Z3QWT29... | 2 | 3 | 1738560805898 | 1\n",
"^3CZ78B4... | 2 | 3 | 1738560806100 | 1\n",
"^YYY4HAB... | 6 | 7 | 1738560806100 | 1\n",
"^3HN31E1... | 6 | 7 | 1738560806500 | 1\n",
"^X1MXHYY... | 12 | 13 | 1738560806500 | 1\n"
]
}
],
Expand Down Expand Up @@ -410,12 +410,12 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474439680 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474439780 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1738474439780 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474439980 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474440182 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738474440182 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738560815676 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560815776 | -1\n",
"^Z3QWT29... | 2 | 3 | 4 | 1738560815776 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560815978 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560816178 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738560816178 | 1\n"
]
}
],
Expand Down Expand Up @@ -537,18 +537,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474442116 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474442116 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474442416 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474442416 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738474442416 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738474442416 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474442516 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474442516 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474442616 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474442616 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738474442616 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738474442616 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738560818114 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560818114 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560818416 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560818416 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738560818416 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738560818416 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560818516 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560818516 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560818616 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560818616 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738560818616 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738560818616 | 1\n"
]
}
],
Expand Down Expand Up @@ -581,16 +581,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474443562 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738474443662 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474443764 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474443864 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474443864 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738474443864 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738474443864 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474443964 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474444064 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738474444064 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738560819570 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738560819670 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560819772 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560819872 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560819872 | -1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738560819872 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738560819872 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560819972 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560820072 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738560820072 | 1\n"
]
}
],
Expand Down Expand Up @@ -633,18 +633,18 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474445028 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474445028 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474445028 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474445028 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474445528 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474445528 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474445528 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474445528 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738474445528 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738474445528 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738474445528 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738474445528 | 1\n"
"^YYY4HAB... | 1 | 5 | 6 | 1738560821008 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560821008 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560821008 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560821008 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560821508 | -1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560821508 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560821508 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560821508 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738560821508 | 1\n",
"^Z3QWT29... | 2 | 4 | 5 | 1738560821508 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738560821508 | 1\n",
"^3HN31E1... | 4 | 2 | 3 | 1738560821508 | 1\n"
]
}
],
Expand Down Expand Up @@ -688,16 +688,16 @@
"output_type": "stream",
"text": [
" | group | value | ret | __time__ | __diff__\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474446480 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474446480 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738474446780 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738474446780 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474446882 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474446882 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738474446980 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738474446980 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738474446980 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738474446980 | 1\n"
"^Z3QWT29... | 2 | 1 | 2 | 1738560822478 | 1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560822478 | 1\n",
"^Z3QWT29... | 2 | 1 | 2 | 1738560822778 | -1\n",
"^3HN31E1... | 4 | 3 | 4 | 1738560822778 | -1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560822880 | 1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560822880 | 1\n",
"^YYY4HAB... | 1 | 5 | 6 | 1738560822978 | -1\n",
"^3CZ78B4... | 3 | 1 | 2 | 1738560822978 | -1\n",
"^YYY4HAB... | 1 | 2 | 3 | 1738560822978 | 1\n",
"^3CZ78B4... | 3 | 2 | 3 | 1738560822978 | 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 @@ -327,7 +327,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"INFO:pathway_engine.connectors.monitoring:subscribe-0: Done writing 0 entries, time 1738474662778. 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 1738561040698. 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 eeb0738

Please sign in to comment.