Skip to content

Commit df1c4e3

Browse files
authored
Merge pull request #1216 from vespa-engine/thomasht86/add-missing-tags
Thomasht86/add missing tags
2 parents f618186 + b51f35e commit df1c4e3

File tree

5 files changed

+181
-161
lines changed

5 files changed

+181
-161
lines changed

vespa/configuration/deployment.pyi

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
from vespa.configuration.vt import VT
22

3-
def region(*c, **kwargs) -> VT: ...
4-
def steps(*c, **kwargs) -> VT: ...
5-
def instance(*c, **kwargs) -> VT: ...
3+
def allow(*c, **kwargs) -> VT: ...
64
def bcp(*c, **kwargs) -> VT: ...
7-
def endpoint(*c, **kwargs) -> VT: ...
8-
def staging(*c, **kwargs) -> VT: ...
9-
def nodes(*c, **kwargs) -> VT: ...
105
def block_change(*c, **kwargs) -> VT: ...
6+
def delay(*c, **kwargs) -> VT: ...
7+
def deployment(*c, **kwargs) -> VT: ...
118
def dev(*c, **kwargs) -> VT: ...
9+
def endpoint(*c, **kwargs) -> VT: ...
10+
def endpoints(*c, **kwargs) -> VT: ...
11+
def group(*c, **kwargs) -> VT: ...
12+
def instance(*c, **kwargs) -> VT: ...
13+
def nodes(*c, **kwargs) -> VT: ...
1214
def parallel(*c, **kwargs) -> VT: ...
13-
def allow(*c, **kwargs) -> VT: ...
1415
def prod(*c, **kwargs) -> VT: ...
15-
def deployment(*c, **kwargs) -> VT: ...
16+
def region(*c, **kwargs) -> VT: ...
17+
def staging(*c, **kwargs) -> VT: ...
18+
def steps(*c, **kwargs) -> VT: ...
19+
def test_(*c, **kwargs) -> VT: ...
1620
def tester(*c, **kwargs) -> VT: ...
1721
def upgrade(*c, **kwargs) -> VT: ...
18-
def group(*c, **kwargs) -> VT: ...
19-
def test_(*c, **kwargs) -> VT: ...
20-
def delay(*c, **kwargs) -> VT: ...
21-
def endpoints(*c, **kwargs) -> VT: ...

vespa/configuration/generate_pyi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
with open(pyi_file, "w") as f:
1515
# write import statement for VT
1616
f.write("from vespa.configuration.vt import VT\n\n")
17-
for tag in tag_set:
17+
for tag in sorted(tag_set):
1818
f.write(f"def {tag}(*c, **kwargs) -> VT: ...\n")
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from vespa.configuration.vt import VT
22

3-
def dimensions(*c, **kwargs) -> VT: ...
4-
def strict(*c, **kwargs) -> VT: ...
5-
def query_profile_type(*c, **kwargs) -> VT: ...
63
def description(*c, **kwargs) -> VT: ...
4+
def dimensions(*c, **kwargs) -> VT: ...
5+
def field(*c, **kwargs) -> VT: ...
6+
def match_(*c, **kwargs) -> VT: ...
77
def query_profile(*c, **kwargs) -> VT: ...
8+
def query_profile_type(*c, **kwargs) -> VT: ...
89
def ref(*c, **kwargs) -> VT: ...
9-
def match_(*c, **kwargs) -> VT: ...
10-
def field(*c, **kwargs) -> VT: ...
10+
def strict(*c, **kwargs) -> VT: ...

vespa/configuration/services.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"admin",
1616
"adminserver",
1717
"age",
18+
"api-key-secret-ref",
19+
"batching",
1820
"binding",
1921
"bucket-splitting",
2022
"cache",
@@ -37,6 +39,7 @@
3739
"container",
3840
"content",
3941
"coverage",
42+
"dimensions",
4043
"disk",
4144
"disk-limit-factor",
4245
"diskbloatfactor",
@@ -49,6 +52,7 @@
4952
"document-token-id",
5053
"documentprocessor",
5154
"documents",
55+
"endpoint",
5256
"engine",
5357
"environment-variables",
5458
"execution-mode",
@@ -104,12 +108,14 @@
104108
"min-wait-after-coverage-factor",
105109
"minimum",
106110
"model",
111+
"model-config-override",
107112
"model-evaluation",
108113
"models",
109114
"native",
110115
"niceness",
111116
"node",
112117
"nodes",
118+
"normalize",
113119
"onnx",
114120
"onnx-execution-mode",
115121
"onnx-gpu-device",
@@ -124,6 +130,7 @@
124130
"proton",
125131
"provider",
126132
"prune",
133+
"quantization",
127134
"query",
128135
"query-timeout",
129136
"query-token-id",
@@ -157,6 +164,7 @@
157164
"timeout",
158165
"token",
159166
"tokenizer-model",
167+
"tokenizer-vocab",
160168
"top-k-probability",
161169
"total",
162170
"tracelevel",
@@ -169,7 +177,9 @@
169177
"transformer-output",
170178
"transformer-pad-token",
171179
"transformer-start-sequence-token",
180+
"transformer-token-type-ids",
172181
"transition-time",
182+
"truncate",
173183
"tuning",
174184
"type",
175185
"unpack",

0 commit comments

Comments
 (0)