Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust: integrate into standard files+location library #17448

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion misc/codegen/lib/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def check_types(self, known: typing.Iterable[str]):
@dataclass
class Schema:
classes: Dict[str, Class] = field(default_factory=dict)
includes: Set[str] = field(default_factory=set)
includes: List[str] = field(default_factory=list)
null: Optional[str] = None

@property
Expand Down
2 changes: 1 addition & 1 deletion misc/codegen/loaders/schemaloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def load(m: types.ModuleType) -> schema.Schema:
if hasattr(defs, name):
continue
if name == "__includes":
includes = set(data)
includes = data
continue
if name.startswith("__"):
continue
Expand Down
2 changes: 1 addition & 1 deletion rust/extractor/src/generated/.generated.list

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading