Skip to content

Commit 5108799

Browse files
authored
Merge pull request github#17448 from github/redsun82/rust-std-files
Rust: integrate into standard files+location library
2 parents c7be2ae + 0b850a2 commit 5108799

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+445
-1332
lines changed

misc/codegen/lib/schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def check_types(self, known: typing.Iterable[str]):
118118
@dataclass
119119
class Schema:
120120
classes: Dict[str, Class] = field(default_factory=dict)
121-
includes: Set[str] = field(default_factory=set)
121+
includes: List[str] = field(default_factory=list)
122122
null: Optional[str] = None
123123

124124
@property

misc/codegen/loaders/schemaloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def load(m: types.ModuleType) -> schema.Schema:
135135
if hasattr(defs, name):
136136
continue
137137
if name == "__includes":
138-
includes = set(data)
138+
includes = data
139139
continue
140140
if name.startswith("__"):
141141
continue

rust/extractor/src/generated/.generated.list

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)