funcnodes-react-flow 0.3.8__py3-none-any.whl → 0.3.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,56 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/static/favicon.ico"/><link rel="apple-touch-icon" href="/static/logo192.png"/><link rel="manifest" href="/static/manifest.json"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Funcnodes via react"/><title>FuncNodes</title><script defer="defer" src="static/js/830.js"></script><script defer="defer" src="static/js/main.js"></script><link href="static/css/style.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="/static/favicon.ico" />
6
+ <link rel="apple-touch-icon" href="/static/logo192.png" />
7
+ <link rel="manifest" href="/static/manifest.json" />
8
+ <meta name="viewport" content="width=device-width,initial-scale=1" />
9
+ <meta name="theme-color" content="#000000" />
10
+ <meta name="description" content="Funcnodes via react" />
11
+ <title>FuncNodes</title>
12
+ <script defer="defer" src="static/js/index.js"></script>
13
+ <link href="static/css/style.css" rel="stylesheet" />
14
+ </head>
15
+ <body>
16
+ <noscript>You need to enable JavaScript to run this app.</noscript>
17
+ <div id="root" style="width: 100vw; height: 100vh;"></div>
18
+ <script>// wait till window is loaded
19
+ window.onload = async function() {
20
+ const _init_wm = async ()=>{
21
+ res = await fetch("/worker_manager", {
22
+ method: "GET",
23
+ headers: {
24
+ "Content-Type": "text/plain",
25
+ },
26
+ });
27
+ // cehck 2xx status
28
+ if (!res.ok) {
29
+ throw new Error(`HTTP error! status: ${res.status}`);
30
+ }
31
+
32
+ const managerurl = await res.text();
33
+ FuncNodes("root",{
34
+ "workermanager_url": managerurl,
35
+ });
36
+
37
+ }
38
+
39
+ const ini_wm = async ()=>{
40
+ while (true) {
41
+ try {
42
+ await _init_wm();
43
+ break;
44
+ } catch (e) {
45
+ console.log(e);
46
+ await new Promise(r => setTimeout(r, 5000));
47
+ }
48
+ }
49
+ }
50
+
51
+ ini_wm();
52
+
53
+ };
54
+ </script>
55
+ </body>
56
+ </html>