Skip to content

Commit 06a7ef2

Browse files
committed
update services.yaml schema to support 2021.3
1 parent c97cdf0 commit 06a7ef2

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

custom_components/pyscript/services.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,37 +6,89 @@ reload:
66
global_ctx:
77
description: only reload this specific global context (file or app)
88
example: file.example
9+
required: false
10+
selector:
11+
text:
912

1013
jupyter_kernel_start:
1114
description: Start a jupyter kernel for interactive use; called by Jupyter front end
1215
fields:
1316
shell_port:
1417
description: shell port number
1518
example: 63599
19+
required: false
20+
selector:
21+
number:
22+
min: 49152
23+
max: 65535
1624
iopub_port:
1725
description: iopub port number
1826
example: 63598
27+
required: false
28+
selector:
29+
number:
30+
min: 49152
31+
max: 65535
1932
stdin_port:
2033
description: stdin port number
2134
example: 63597
35+
required: false
36+
selector:
37+
number:
38+
min: 49152
39+
max: 65535
2240
control_port:
2341
description: control port number
2442
example: 63596
43+
required: false
44+
selector:
45+
number:
46+
min: 49152
47+
max: 65535
2548
hb_port:
2649
description: heartbeat port number
2750
example: 63595
51+
required: false
52+
selector:
53+
number:
54+
min: 49152
55+
max: 65535
2856
ip:
2957
description: ip address to connect to jupyter front end
3058
example: 127.0.0.1
59+
default: 127.0.0.1
60+
required: false
61+
selector:
62+
text:
3163
key:
3264
description: security key for signing
3365
example: 012345678-9abcdef023456789abcdef
66+
required: true
67+
selector:
68+
text:
3469
transport:
3570
description: type of transport
3671
example: tcp
72+
default: tcp
73+
required: false
74+
selector:
75+
select:
76+
options:
77+
- tcp
78+
- udp
3779
signature_scheme:
3880
description: signing algorithm
3981
example: hmac-sha256
82+
required: false
83+
default: hmac-sha256
84+
selector:
85+
select:
86+
options:
87+
- hmac-sha256
4088
kernel_name:
4189
description: name of kernel
4290
example: pyscript
91+
required: true
92+
default: pyscript
93+
selector:
94+
text:

0 commit comments

Comments
 (0)