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

Pr433 #435

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Pr433 #435

merged 2 commits into from
Jan 22, 2025

Conversation

erikbosch
Copy link
Collaborator

Same as #433 but trying to fix build errors

jdacoello and others added 2 commits January 21, 2025 16:08
Signed-off-by: Erik Jaegervall <[email protected]>
@erikbosch
Copy link
Collaborator Author

@jdacoello - Can you check the changes in the commit I added on top, if they looks ok. If so I can merge this PR and close yours, or if you prefer you can incorporate the changes from this PR into yours.

@jdacoello
Copy link
Contributor

jdacoello commented Jan 22, 2025

They seem to be ok. You can go ahead and merge this PR and close the other one. I forgot that I changed a little the doc strings and the order in which elements appear in the resulting graphql schema. Apparently, that is why the tests were not passing. Thanks for addressing that and updating the expected files.

@erikbosch erikbosch merged commit 770a7a3 into COVESA:master Jan 22, 2025
5 checks passed
@erikbosch erikbosch deleted the pr433 branch January 22, 2025 07:51
@erikbosch erikbosch mentioned this pull request Jan 22, 2025
pass


def get_instance_root(root: VSSNode, depth: int = 1) -> tuple[VSSNode, int]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The go exporter initially defined that one. Should be removed from the go exporter then

raise NoInstanceRootException()


def add_children_map_entries(root: VSSNode, fqn: str, replace: str, map: dict[str, str]) -> None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

add_children_map_entries(child, fqn, replace, map)


def get_instance_mapping(root: VSSNode | None) -> dict[str, str]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is merged now - are you interested in doing the cleanup in a new PR?

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.

3 participants