@alloy-js/python 0.5.0-dev.1 → 0.5.0-dev.2
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.
- package/dist/dev/src/components/SourceFile.js +44 -32
- package/dist/dev/src/components/SourceFile.js.map +1 -1
- package/dist/dev/test/callsignatures.test.js +471 -297
- package/dist/dev/test/callsignatures.test.js.map +1 -1
- package/dist/dev/test/class-method-declaration.test.js +21 -10
- package/dist/dev/test/class-method-declaration.test.js.map +1 -1
- package/dist/dev/test/classdeclarations.test.js +459 -393
- package/dist/dev/test/classdeclarations.test.js.map +1 -1
- package/dist/dev/test/classinstantiations.test.js +201 -168
- package/dist/dev/test/classinstantiations.test.js.map +1 -1
- package/dist/dev/test/constructordeclaration.test.js +22 -11
- package/dist/dev/test/constructordeclaration.test.js.map +1 -1
- package/dist/dev/test/dataclassdeclarations.test.js +322 -368
- package/dist/dev/test/dataclassdeclarations.test.js.map +1 -1
- package/dist/dev/test/decoratorlist.test.js +96 -49
- package/dist/dev/test/decoratorlist.test.js.map +1 -1
- package/dist/dev/test/dundermethoddeclaration.test.js +22 -11
- package/dist/dev/test/dundermethoddeclaration.test.js.map +1 -1
- package/dist/dev/test/enums.test.js +218 -184
- package/dist/dev/test/enums.test.js.map +1 -1
- package/dist/dev/test/externals.test.js +57 -45
- package/dist/dev/test/externals.test.js.map +1 -1
- package/dist/dev/test/factories.test.js +124 -50
- package/dist/dev/test/factories.test.js.map +1 -1
- package/dist/dev/test/functioncallexpressions.test.js +199 -164
- package/dist/dev/test/functioncallexpressions.test.js.map +1 -1
- package/dist/dev/test/functiondeclaration.test.js +439 -272
- package/dist/dev/test/functiondeclaration.test.js.map +1 -1
- package/dist/dev/test/imports.test.js +273 -221
- package/dist/dev/test/imports.test.js.map +1 -1
- package/dist/dev/test/memberexpressions.test.js +1237 -972
- package/dist/dev/test/memberexpressions.test.js.map +1 -1
- package/dist/dev/test/methoddeclaration.test.js +142 -78
- package/dist/dev/test/methoddeclaration.test.js.map +1 -1
- package/dist/dev/test/namepolicies.test.js +130 -94
- package/dist/dev/test/namepolicies.test.js.map +1 -1
- package/dist/dev/test/propertydeclaration.test.js +88 -59
- package/dist/dev/test/propertydeclaration.test.js.map +1 -1
- package/dist/dev/test/pydanticclassdeclarations.test.js +299 -347
- package/dist/dev/test/pydanticclassdeclarations.test.js.map +1 -1
- package/dist/dev/test/pydocs.test.js +888 -715
- package/dist/dev/test/pydocs.test.js.map +1 -1
- package/dist/dev/test/references.test.js +42 -35
- package/dist/dev/test/references.test.js.map +1 -1
- package/dist/dev/test/sourcefiles.test.js +1109 -841
- package/dist/dev/test/sourcefiles.test.js.map +1 -1
- package/dist/dev/test/staticmethoddeclaration.test.js +21 -10
- package/dist/dev/test/staticmethoddeclaration.test.js.map +1 -1
- package/dist/dev/test/type-checking-imports.test.js +408 -359
- package/dist/dev/test/type-checking-imports.test.js.map +1 -1
- package/dist/dev/test/typereference.test.js +55 -40
- package/dist/dev/test/typereference.test.js.map +1 -1
- package/dist/dev/test/uniontypeexpression.test.js +222 -146
- package/dist/dev/test/uniontypeexpression.test.js.map +1 -1
- package/dist/dev/test/utils.js +39 -77
- package/dist/dev/test/utils.js.map +1 -1
- package/dist/dev/test/values.test.js +237 -101
- package/dist/dev/test/values.test.js.map +1 -1
- package/dist/dev/test/variables.test.js +321 -203
- package/dist/dev/test/variables.test.js.map +1 -1
- package/dist/dev/test/vitest.setup.js +2 -0
- package/dist/dev/test/vitest.setup.js.map +1 -0
- package/dist/src/components/SourceFile.d.ts +2 -2
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +12 -0
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/test/callsignatures.test.js +346 -272
- package/dist/test/callsignatures.test.js.map +1 -1
- package/dist/test/class-method-declaration.test.js +7 -4
- package/dist/test/class-method-declaration.test.js.map +1 -1
- package/dist/test/classdeclarations.test.js +302 -288
- package/dist/test/classdeclarations.test.js.map +1 -1
- package/dist/test/classinstantiations.test.js +112 -103
- package/dist/test/classinstantiations.test.js.map +1 -1
- package/dist/test/constructordeclaration.test.js +7 -4
- package/dist/test/constructordeclaration.test.js.map +1 -1
- package/dist/test/dataclassdeclarations.test.js +134 -184
- package/dist/test/dataclassdeclarations.test.js.map +1 -1
- package/dist/test/decoratorlist.test.js +59 -36
- package/dist/test/decoratorlist.test.js.map +1 -1
- package/dist/test/dundermethoddeclaration.test.js +7 -4
- package/dist/test/dundermethoddeclaration.test.js.map +1 -1
- package/dist/test/enums.test.js +161 -159
- package/dist/test/enums.test.js.map +1 -1
- package/dist/test/externals.test.js +24 -24
- package/dist/test/externals.test.js.map +1 -1
- package/dist/test/factories.test.js +75 -33
- package/dist/test/factories.test.js.map +1 -1
- package/dist/test/functioncallexpressions.test.js +117 -106
- package/dist/test/functioncallexpressions.test.js.map +1 -1
- package/dist/test/functiondeclaration.test.js +247 -180
- package/dist/test/functiondeclaration.test.js.map +1 -1
- package/dist/test/imports.test.js +171 -143
- package/dist/test/imports.test.js.map +1 -1
- package/dist/test/memberexpressions.test.js +582 -453
- package/dist/test/memberexpressions.test.js.map +1 -1
- package/dist/test/methoddeclaration.test.js +66 -46
- package/dist/test/methoddeclaration.test.js.map +1 -1
- package/dist/test/namepolicies.test.js +90 -78
- package/dist/test/namepolicies.test.js.map +1 -1
- package/dist/test/propertydeclaration.test.js +25 -20
- package/dist/test/propertydeclaration.test.js.map +1 -1
- package/dist/test/pydanticclassdeclarations.test.js +134 -190
- package/dist/test/pydanticclassdeclarations.test.js.map +1 -1
- package/dist/test/pydocs.test.js +573 -532
- package/dist/test/pydocs.test.js.map +1 -1
- package/dist/test/references.test.js +31 -28
- package/dist/test/references.test.js.map +1 -1
- package/dist/test/sourcefiles.test.js +700 -580
- package/dist/test/sourcefiles.test.js.map +1 -1
- package/dist/test/staticmethoddeclaration.test.js +7 -4
- package/dist/test/staticmethoddeclaration.test.js.map +1 -1
- package/dist/test/type-checking-imports.test.js +297 -284
- package/dist/test/type-checking-imports.test.js.map +1 -1
- package/dist/test/typereference.test.js +29 -22
- package/dist/test/typereference.test.js.map +1 -1
- package/dist/test/uniontypeexpression.test.js +124 -88
- package/dist/test/uniontypeexpression.test.js.map +1 -1
- package/dist/test/utils.d.ts +10 -17
- package/dist/test/utils.d.ts.map +1 -1
- package/dist/test/utils.js +32 -74
- package/dist/test/utils.js.map +1 -1
- package/dist/test/values.test.js +135 -67
- package/dist/test/values.test.js.map +1 -1
- package/dist/test/variables.test.js +201 -151
- package/dist/test/variables.test.js.map +1 -1
- package/dist/test/vitest.setup.d.ts +2 -0
- package/dist/test/vitest.setup.d.ts.map +1 -0
- package/dist/test/vitest.setup.js +2 -0
- package/dist/test/vitest.setup.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/api/components/SourceFile.md +20 -8
- package/package.json +2 -2
- package/src/components/SourceFile.tsx +6 -1
- package/temp/api.json +16 -2
- package/test/callsignatures.test.tsx +309 -283
- package/test/class-method-declaration.test.tsx +3 -4
- package/test/classdeclarations.test.tsx +263 -248
- package/test/classinstantiations.test.tsx +115 -109
- package/test/constructordeclaration.test.tsx +9 -6
- package/test/dataclassdeclarations.test.tsx +243 -361
- package/test/decoratorlist.test.tsx +78 -59
- package/test/dundermethoddeclaration.test.tsx +3 -4
- package/test/enums.test.tsx +65 -81
- package/test/externals.test.tsx +25 -25
- package/test/factories.test.tsx +64 -22
- package/test/functioncallexpressions.test.tsx +123 -109
- package/test/functiondeclaration.test.tsx +209 -148
- package/test/imports.test.tsx +119 -91
- package/test/memberexpressions.test.tsx +265 -207
- package/test/methoddeclaration.test.tsx +84 -63
- package/test/namepolicies.test.tsx +69 -69
- package/test/propertydeclaration.test.tsx +7 -8
- package/test/pydanticclassdeclarations.test.tsx +355 -487
- package/test/pydocs.test.tsx +531 -579
- package/test/references.test.tsx +24 -23
- package/test/sourcefiles.test.tsx +527 -492
- package/test/staticmethoddeclaration.test.tsx +3 -4
- package/test/type-checking-imports.test.tsx +206 -218
- package/test/typereference.test.tsx +15 -12
- package/test/uniontypeexpression.test.tsx +74 -61
- package/test/utils.tsx +26 -110
- package/test/values.test.tsx +82 -32
- package/test/variables.test.tsx +162 -142
- package/test/vitest.setup.ts +1 -0
- package/vitest.config.ts +3 -0
|
@@ -1,36 +1,59 @@
|
|
|
1
1
|
import { createComponent as _$createComponent } from "@alloy-js/core/jsx-runtime";
|
|
2
2
|
import { refkey } from "@alloy-js/core";
|
|
3
|
-
import { d } from "@alloy-js/core/testing";
|
|
4
3
|
import { describe, expect, it } from "vitest";
|
|
5
4
|
import * as py from "../src/index.js";
|
|
6
|
-
import {
|
|
5
|
+
import { TestOutput, TestOutputDirectory } from "./utils.js";
|
|
7
6
|
describe("UnionTypeExpression", () => {
|
|
8
7
|
it("renders a Python union expression - 1 item", () => {
|
|
9
|
-
expect(
|
|
10
|
-
children
|
|
8
|
+
expect(_$createComponent(TestOutput, {
|
|
9
|
+
get children() {
|
|
10
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
11
|
+
children: ["int"]
|
|
12
|
+
}, {
|
|
13
|
+
fileName: import.meta.url,
|
|
14
|
+
lineNumber: 10,
|
|
15
|
+
columnNumber: 9
|
|
16
|
+
});
|
|
17
|
+
}
|
|
11
18
|
}, {
|
|
12
19
|
fileName: import.meta.url,
|
|
13
|
-
lineNumber:
|
|
14
|
-
columnNumber:
|
|
15
|
-
})
|
|
20
|
+
lineNumber: 9,
|
|
21
|
+
columnNumber: 7
|
|
22
|
+
})).toRenderTo("int");
|
|
16
23
|
});
|
|
17
24
|
it("renders a Python union expression - 2 items", () => {
|
|
18
|
-
expect(
|
|
19
|
-
children
|
|
25
|
+
expect(_$createComponent(TestOutput, {
|
|
26
|
+
get children() {
|
|
27
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
28
|
+
children: ["int", "str"]
|
|
29
|
+
}, {
|
|
30
|
+
fileName: import.meta.url,
|
|
31
|
+
lineNumber: 18,
|
|
32
|
+
columnNumber: 9
|
|
33
|
+
});
|
|
34
|
+
}
|
|
20
35
|
}, {
|
|
21
36
|
fileName: import.meta.url,
|
|
22
|
-
lineNumber:
|
|
23
|
-
columnNumber:
|
|
24
|
-
})
|
|
37
|
+
lineNumber: 17,
|
|
38
|
+
columnNumber: 7
|
|
39
|
+
})).toRenderTo("int | str");
|
|
25
40
|
});
|
|
26
41
|
it("renders a Python union expression - N items", () => {
|
|
27
|
-
expect(
|
|
28
|
-
children
|
|
42
|
+
expect(_$createComponent(TestOutput, {
|
|
43
|
+
get children() {
|
|
44
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
45
|
+
children: ["int", "str", "float", "bool", "list", "dict", "set", "tuple", "frozenset", "bytes", "bytearray", "memoryview", "complex"]
|
|
46
|
+
}, {
|
|
47
|
+
fileName: import.meta.url,
|
|
48
|
+
lineNumber: 26,
|
|
49
|
+
columnNumber: 9
|
|
50
|
+
});
|
|
51
|
+
}
|
|
29
52
|
}, {
|
|
30
53
|
fileName: import.meta.url,
|
|
31
54
|
lineNumber: 25,
|
|
32
|
-
columnNumber:
|
|
33
|
-
})
|
|
55
|
+
columnNumber: 7
|
|
56
|
+
})).toRenderTo(`
|
|
34
57
|
(
|
|
35
58
|
int
|
|
36
59
|
| str
|
|
@@ -48,94 +71,126 @@ describe("UnionTypeExpression", () => {
|
|
|
48
71
|
)`);
|
|
49
72
|
});
|
|
50
73
|
it("renders a Python union expression - 2 items again", () => {
|
|
51
|
-
expect(
|
|
52
|
-
children
|
|
74
|
+
expect(_$createComponent(TestOutput, {
|
|
75
|
+
get children() {
|
|
76
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
77
|
+
children: ["int", "str"]
|
|
78
|
+
}, {
|
|
79
|
+
fileName: import.meta.url,
|
|
80
|
+
lineNumber: 67,
|
|
81
|
+
columnNumber: 9
|
|
82
|
+
});
|
|
83
|
+
}
|
|
53
84
|
}, {
|
|
54
85
|
fileName: import.meta.url,
|
|
55
|
-
lineNumber:
|
|
56
|
-
columnNumber:
|
|
57
|
-
})
|
|
86
|
+
lineNumber: 66,
|
|
87
|
+
columnNumber: 7
|
|
88
|
+
})).toRenderTo("int | str");
|
|
58
89
|
});
|
|
59
90
|
it("renders a Python union expression - 2 items with None", () => {
|
|
60
|
-
expect(
|
|
61
|
-
children
|
|
91
|
+
expect(_$createComponent(TestOutput, {
|
|
92
|
+
get children() {
|
|
93
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
94
|
+
children: ["int", "str", "None"]
|
|
95
|
+
}, {
|
|
96
|
+
fileName: import.meta.url,
|
|
97
|
+
lineNumber: 75,
|
|
98
|
+
columnNumber: 9
|
|
99
|
+
});
|
|
100
|
+
}
|
|
62
101
|
}, {
|
|
63
102
|
fileName: import.meta.url,
|
|
64
|
-
lineNumber:
|
|
65
|
-
columnNumber:
|
|
66
|
-
})
|
|
103
|
+
lineNumber: 74,
|
|
104
|
+
columnNumber: 7
|
|
105
|
+
})).toRenderTo("int | str | None");
|
|
67
106
|
});
|
|
68
107
|
it("renders a Python union with generic types", () => {
|
|
69
|
-
expect(
|
|
108
|
+
expect(_$createComponent(TestOutput, {
|
|
70
109
|
get children() {
|
|
71
|
-
return
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
110
|
+
return _$createComponent(py.UnionTypeExpression, {
|
|
111
|
+
get children() {
|
|
112
|
+
return [_$createComponent(py.TypeReference, {
|
|
113
|
+
name: "list",
|
|
114
|
+
typeArgs: ["int"]
|
|
115
|
+
}, {
|
|
116
|
+
fileName: import.meta.url,
|
|
117
|
+
lineNumber: 85,
|
|
118
|
+
columnNumber: 13
|
|
119
|
+
}), _$createComponent(py.TypeReference, {
|
|
120
|
+
name: "dict",
|
|
121
|
+
typeArgs: ["str", "int"]
|
|
122
|
+
}, {
|
|
123
|
+
fileName: import.meta.url,
|
|
124
|
+
lineNumber: 86,
|
|
125
|
+
columnNumber: 13
|
|
126
|
+
})];
|
|
127
|
+
}
|
|
81
128
|
}, {
|
|
82
129
|
fileName: import.meta.url,
|
|
83
|
-
lineNumber:
|
|
84
|
-
columnNumber:
|
|
85
|
-
})
|
|
130
|
+
lineNumber: 83,
|
|
131
|
+
columnNumber: 9
|
|
132
|
+
});
|
|
86
133
|
}
|
|
87
134
|
}, {
|
|
88
135
|
fileName: import.meta.url,
|
|
89
|
-
lineNumber:
|
|
90
|
-
columnNumber:
|
|
91
|
-
})
|
|
136
|
+
lineNumber: 82,
|
|
137
|
+
columnNumber: 7
|
|
138
|
+
})).toRenderTo("list[int] | dict[str, int]");
|
|
92
139
|
});
|
|
93
140
|
it("renders a Python type expression with references", () => {
|
|
94
141
|
const classRefkey = refkey();
|
|
95
142
|
const otherClassRefkey = refkey();
|
|
96
|
-
expect(
|
|
143
|
+
expect(_$createComponent(TestOutput, {
|
|
97
144
|
get children() {
|
|
98
|
-
return
|
|
99
|
-
name: "Bar",
|
|
100
|
-
refkey: classRefkey
|
|
101
|
-
}, {
|
|
102
|
-
fileName: import.meta.url,
|
|
103
|
-
lineNumber: 93,
|
|
104
|
-
columnNumber: 11
|
|
105
|
-
}), _$createComponent(py.ClassDeclaration, {
|
|
106
|
-
name: "Foo",
|
|
107
|
-
refkey: otherClassRefkey
|
|
108
|
-
}, {
|
|
109
|
-
fileName: import.meta.url,
|
|
110
|
-
lineNumber: 97,
|
|
111
|
-
columnNumber: 11
|
|
112
|
-
}), _$createComponent(py.UnionTypeExpression, {
|
|
145
|
+
return _$createComponent(py.StatementList, {
|
|
113
146
|
get children() {
|
|
114
|
-
return [_$createComponent(py.
|
|
147
|
+
return [_$createComponent(py.ClassDeclaration, {
|
|
148
|
+
name: "Bar",
|
|
115
149
|
refkey: classRefkey
|
|
116
150
|
}, {
|
|
117
151
|
fileName: import.meta.url,
|
|
118
|
-
lineNumber:
|
|
119
|
-
columnNumber:
|
|
120
|
-
}), _$createComponent(py.
|
|
152
|
+
lineNumber: 100,
|
|
153
|
+
columnNumber: 11
|
|
154
|
+
}), _$createComponent(py.ClassDeclaration, {
|
|
155
|
+
name: "Foo",
|
|
121
156
|
refkey: otherClassRefkey
|
|
122
157
|
}, {
|
|
123
158
|
fileName: import.meta.url,
|
|
124
159
|
lineNumber: 104,
|
|
125
|
-
columnNumber:
|
|
160
|
+
columnNumber: 11
|
|
161
|
+
}), _$createComponent(py.UnionTypeExpression, {
|
|
162
|
+
get children() {
|
|
163
|
+
return [_$createComponent(py.Reference, {
|
|
164
|
+
refkey: classRefkey
|
|
165
|
+
}, {
|
|
166
|
+
fileName: import.meta.url,
|
|
167
|
+
lineNumber: 110,
|
|
168
|
+
columnNumber: 15
|
|
169
|
+
}), _$createComponent(py.Reference, {
|
|
170
|
+
refkey: otherClassRefkey
|
|
171
|
+
}, {
|
|
172
|
+
fileName: import.meta.url,
|
|
173
|
+
lineNumber: 111,
|
|
174
|
+
columnNumber: 15
|
|
175
|
+
})];
|
|
176
|
+
}
|
|
177
|
+
}, {
|
|
178
|
+
fileName: import.meta.url,
|
|
179
|
+
lineNumber: 108,
|
|
180
|
+
columnNumber: 11
|
|
126
181
|
})];
|
|
127
182
|
}
|
|
128
183
|
}, {
|
|
129
184
|
fileName: import.meta.url,
|
|
130
|
-
lineNumber:
|
|
131
|
-
columnNumber:
|
|
132
|
-
})
|
|
185
|
+
lineNumber: 99,
|
|
186
|
+
columnNumber: 9
|
|
187
|
+
});
|
|
133
188
|
}
|
|
134
189
|
}, {
|
|
135
190
|
fileName: import.meta.url,
|
|
136
|
-
lineNumber:
|
|
137
|
-
columnNumber:
|
|
138
|
-
})
|
|
191
|
+
lineNumber: 98,
|
|
192
|
+
columnNumber: 7
|
|
193
|
+
})).toRenderTo(`
|
|
139
194
|
class Bar:
|
|
140
195
|
pass
|
|
141
196
|
|
|
@@ -147,70 +202,77 @@ describe("UnionTypeExpression", () => {
|
|
|
147
202
|
});
|
|
148
203
|
it("emits import for TypeReference with refkey and typeArgs across files", () => {
|
|
149
204
|
const classRefkey = refkey();
|
|
150
|
-
|
|
151
|
-
path: "defs.py",
|
|
205
|
+
expect(_$createComponent(TestOutputDirectory, {
|
|
152
206
|
get children() {
|
|
153
|
-
return _$createComponent(py.
|
|
154
|
-
|
|
155
|
-
|
|
207
|
+
return [_$createComponent(py.SourceFile, {
|
|
208
|
+
path: "defs.py",
|
|
209
|
+
get children() {
|
|
210
|
+
return _$createComponent(py.ClassDeclaration, {
|
|
211
|
+
name: "Bar",
|
|
212
|
+
refkey: classRefkey
|
|
213
|
+
}, {
|
|
214
|
+
fileName: import.meta.url,
|
|
215
|
+
lineNumber: 134,
|
|
216
|
+
columnNumber: 11
|
|
217
|
+
});
|
|
218
|
+
}
|
|
156
219
|
}, {
|
|
157
220
|
fileName: import.meta.url,
|
|
158
|
-
lineNumber:
|
|
221
|
+
lineNumber: 133,
|
|
159
222
|
columnNumber: 9
|
|
160
|
-
})
|
|
161
|
-
|
|
162
|
-
}, {
|
|
163
|
-
fileName: import.meta.url,
|
|
164
|
-
lineNumber: 123,
|
|
165
|
-
columnNumber: 7
|
|
166
|
-
}), _$createComponent(py.SourceFile, {
|
|
167
|
-
path: "use.py",
|
|
168
|
-
get children() {
|
|
169
|
-
return _$createComponent(py.StatementList, {
|
|
223
|
+
}), _$createComponent(py.SourceFile, {
|
|
224
|
+
path: "use.py",
|
|
170
225
|
get children() {
|
|
171
|
-
return _$createComponent(py.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
226
|
+
return _$createComponent(py.StatementList, {
|
|
227
|
+
get children() {
|
|
228
|
+
return _$createComponent(py.VariableDeclaration, {
|
|
229
|
+
name: "v",
|
|
230
|
+
get type() {
|
|
231
|
+
return _$createComponent(py.TypeReference, {
|
|
232
|
+
refkey: classRefkey,
|
|
233
|
+
typeArgs: ["T"]
|
|
234
|
+
}, {
|
|
235
|
+
fileName: import.meta.url,
|
|
236
|
+
lineNumber: 140,
|
|
237
|
+
columnNumber: 21
|
|
238
|
+
});
|
|
239
|
+
}
|
|
177
240
|
}, {
|
|
178
241
|
fileName: import.meta.url,
|
|
179
|
-
lineNumber:
|
|
180
|
-
columnNumber:
|
|
242
|
+
lineNumber: 138,
|
|
243
|
+
columnNumber: 13
|
|
181
244
|
});
|
|
182
245
|
}
|
|
183
246
|
}, {
|
|
184
247
|
fileName: import.meta.url,
|
|
185
|
-
lineNumber:
|
|
248
|
+
lineNumber: 137,
|
|
186
249
|
columnNumber: 11
|
|
187
250
|
});
|
|
188
251
|
}
|
|
189
252
|
}, {
|
|
190
253
|
fileName: import.meta.url,
|
|
191
|
-
lineNumber:
|
|
254
|
+
lineNumber: 136,
|
|
192
255
|
columnNumber: 9
|
|
193
|
-
});
|
|
256
|
+
})];
|
|
194
257
|
}
|
|
195
258
|
}, {
|
|
196
259
|
fileName: import.meta.url,
|
|
197
|
-
lineNumber:
|
|
260
|
+
lineNumber: 132,
|
|
198
261
|
columnNumber: 7
|
|
199
|
-
})
|
|
200
|
-
assertFileContents(res, {
|
|
262
|
+
})).toRenderTo({
|
|
201
263
|
"defs.py": `
|
|
202
|
-
|
|
203
|
-
|
|
264
|
+
class Bar:
|
|
265
|
+
pass
|
|
204
266
|
|
|
205
|
-
|
|
267
|
+
`,
|
|
206
268
|
"use.py": `
|
|
207
|
-
|
|
269
|
+
from typing import TYPE_CHECKING
|
|
208
270
|
|
|
209
|
-
|
|
210
|
-
|
|
271
|
+
if TYPE_CHECKING:
|
|
272
|
+
from defs import Bar
|
|
211
273
|
|
|
212
|
-
|
|
213
|
-
|
|
274
|
+
v: Bar[T] = None
|
|
275
|
+
`
|
|
214
276
|
});
|
|
215
277
|
});
|
|
216
278
|
});
|
|
@@ -223,36 +285,44 @@ describe("TypeExpression in different scenarios", () => {
|
|
|
223
285
|
refkey: classRefkey
|
|
224
286
|
}, {
|
|
225
287
|
fileName: import.meta.url,
|
|
226
|
-
lineNumber:
|
|
288
|
+
lineNumber: 168,
|
|
227
289
|
columnNumber: 34
|
|
228
290
|
})];
|
|
229
291
|
}
|
|
230
292
|
}, {
|
|
231
293
|
fileName: import.meta.url,
|
|
232
|
-
lineNumber:
|
|
294
|
+
lineNumber: 167,
|
|
233
295
|
columnNumber: 7
|
|
234
296
|
});
|
|
235
|
-
expect(
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
297
|
+
expect(_$createComponent(TestOutput, {
|
|
298
|
+
get children() {
|
|
299
|
+
return [_$createComponent(py.ClassDeclaration, {
|
|
300
|
+
name: "Foo",
|
|
301
|
+
refkey: classRefkey
|
|
302
|
+
}, {
|
|
303
|
+
fileName: import.meta.url,
|
|
304
|
+
lineNumber: 173,
|
|
305
|
+
columnNumber: 9
|
|
306
|
+
}), _$createComponent(py.FunctionDeclaration, {
|
|
307
|
+
name: "fooFunction",
|
|
308
|
+
parameters: [{
|
|
309
|
+
name: "x",
|
|
310
|
+
type: type
|
|
311
|
+
}],
|
|
312
|
+
args: true,
|
|
313
|
+
kwargs: true,
|
|
314
|
+
returnType: type
|
|
315
|
+
}, {
|
|
316
|
+
fileName: import.meta.url,
|
|
317
|
+
lineNumber: 177,
|
|
318
|
+
columnNumber: 9
|
|
319
|
+
})];
|
|
320
|
+
}
|
|
251
321
|
}, {
|
|
252
322
|
fileName: import.meta.url,
|
|
253
|
-
lineNumber:
|
|
254
|
-
columnNumber:
|
|
255
|
-
})
|
|
323
|
+
lineNumber: 172,
|
|
324
|
+
columnNumber: 7
|
|
325
|
+
})).toRenderTo(`
|
|
256
326
|
class Foo:
|
|
257
327
|
pass
|
|
258
328
|
|
|
@@ -260,7 +330,6 @@ describe("TypeExpression in different scenarios", () => {
|
|
|
260
330
|
def foo_function(x: int | str | Foo, *args, **kwargs) -> int | str | Foo:
|
|
261
331
|
pass
|
|
262
332
|
|
|
263
|
-
|
|
264
333
|
`);
|
|
265
334
|
});
|
|
266
335
|
it("renders an UnionTypeExpression as a variable type", () => {
|
|
@@ -271,36 +340,43 @@ describe("TypeExpression in different scenarios", () => {
|
|
|
271
340
|
refkey: classRefkey
|
|
272
341
|
}, {
|
|
273
342
|
fileName: import.meta.url,
|
|
274
|
-
lineNumber:
|
|
343
|
+
lineNumber: 207,
|
|
275
344
|
columnNumber: 34
|
|
276
345
|
})];
|
|
277
346
|
}
|
|
278
347
|
}, {
|
|
279
348
|
fileName: import.meta.url,
|
|
280
|
-
lineNumber:
|
|
349
|
+
lineNumber: 206,
|
|
281
350
|
columnNumber: 7
|
|
282
351
|
});
|
|
283
|
-
expect(
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
352
|
+
expect(_$createComponent(TestOutput, {
|
|
353
|
+
get children() {
|
|
354
|
+
return [_$createComponent(py.ClassDeclaration, {
|
|
355
|
+
name: "Foo",
|
|
356
|
+
refkey: classRefkey
|
|
357
|
+
}, {
|
|
358
|
+
fileName: import.meta.url,
|
|
359
|
+
lineNumber: 212,
|
|
360
|
+
columnNumber: 9
|
|
361
|
+
}), _$createComponent(py.VariableDeclaration, {
|
|
362
|
+
name: "fooVariable",
|
|
363
|
+
type: type
|
|
364
|
+
}, {
|
|
365
|
+
fileName: import.meta.url,
|
|
366
|
+
lineNumber: 216,
|
|
367
|
+
columnNumber: 9
|
|
368
|
+
})];
|
|
369
|
+
}
|
|
293
370
|
}, {
|
|
294
371
|
fileName: import.meta.url,
|
|
295
|
-
lineNumber:
|
|
296
|
-
columnNumber:
|
|
297
|
-
})
|
|
372
|
+
lineNumber: 211,
|
|
373
|
+
columnNumber: 7
|
|
374
|
+
})).toRenderTo(`
|
|
298
375
|
class Foo:
|
|
299
376
|
pass
|
|
300
377
|
|
|
301
378
|
|
|
302
379
|
foo_variable: int | str | Foo = None
|
|
303
|
-
|
|
304
380
|
`);
|
|
305
381
|
});
|
|
306
382
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["refkey","
|
|
1
|
+
{"version":3,"names":["refkey","describe","expect","it","py","TestOutput","TestOutputDirectory","_$createComponent","children","UnionTypeExpression","fileName","import","meta","url","lineNumber","columnNumber","toRenderTo","TypeReference","name","typeArgs","classRefkey","otherClassRefkey","StatementList","ClassDeclaration","Reference","SourceFile","path","VariableDeclaration","type","FunctionDeclaration","parameters","args","kwargs","returnType"],"sources":["../../../test/uniontypeexpression.test.tsx"],"sourcesContent":[null],"mappings":";AAAA,SAASA,MAAM,QAAQ,gBAAgB;AACvC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,QAAQ;AAC7C,OAAO,KAAKC,EAAE,MAAM,iBAAiB;AACrC,SAASC,UAAU,EAAEC,mBAAmB,QAAQ,YAAY;AAE5DL,QAAQ,CAAC,qBAAqB,EAAE,MAAM;EACpCE,EAAE,CAAC,4CAA4C,EAAE,MAAM;IACrDD,MAAM,CAAAK,iBAAA,CACHF,UAAU;MAAA,IAAAG,SAAA;QAAA,OAAAD,iBAAA,CACRH,EAAE,CAACK,mBAAmB;UAACD,QAAQ,EAAE,CAAC,KAAK;QAAC;UAAAE,QAAA,EAAAC,MAAA,CAAAC,IAAA,CAAAC,GAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA;MAAA;IAAA;MAAAL,QAAA,EAAAC,MAAA,CAAAC,IAAA,CAAAC,GAAA;MAAAC,UAAA;MAAAC,YAAA;IAAA,EAE7C,CAAC,CAACC,UAAU,CAAC,KAAK,CAAC;EACrB,CAAC,CAAC;EAEFb,EAAE,CAAC,6CAA6C,EAAE,MAAM;IACtDD,MAAM,CAAAK,iBAAA,CACHF,UAAU;MAAA,IAAAG,SAAA;QAAA,OAAAD,iBAAA,CACRH,EAAE,CAACK,mBAAmB;UAACD,QAAQ,EAAE,CAAC,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