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

Fix autodoc #456

Merged
merged 1 commit into from
Jan 6, 2025
Merged

Fix autodoc #456

merged 1 commit into from
Jan 6, 2025

Conversation

nhuet
Copy link
Contributor

@nhuet nhuet commented Jan 6, 2025

The new solver characteristic Maskable has a (hidden) attribute initialized to None. Thus the method get_ref() does not work on it, and updating the types_dict for the code generator was failing. As this attribute is not used in type annotations of methods (which was the purpose of types_dict) this is not a real issue. So we merely skip adding a type to it when member["ref"] does not exist.

The new solver characteristic Maskable has a (hidden) attribute initialized to None.
Thus the method  `get_ref()` does not work on it, and updating the
types_dict for the code generator was failing. As this attribute is not
used in type annotations of methods (which was the purpose of
types_dict) this is not a real issue. So we merely skip adding a type to
it when member["ref"] does not exist.
@fteicht fteicht merged commit c3c16b8 into airbus:master Jan 6, 2025
12 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants