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

Handle "empty" link relation target objects #473

Merged

Conversation

tnoczyns-volue
Copy link
Collaborator

Partially resolves #470 - specifically the "empty" target objects for versioned link relations, see: https://github.com/Volue/energy-mesh/issues/5425.

@tnoczyns-volue tnoczyns-volue added this to the Version 1.9 milestone Jun 17, 2024
target_object_id = (
_from_proto_guid(proto_version.target_object_id)
if proto_version.HasField("target_object_id")
else None
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't say I like python ternary syntax.

@tnoczyns-volue tnoczyns-volue merged commit 45e26e5 into master Jun 18, 2024
9 checks passed
@tnoczyns-volue tnoczyns-volue deleted the tnoczyns-2024-06-17-handle-empty-link-targets branch June 18, 2024 04:58
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.

Adjust to Mesh 2.15 versioned link relation changes
2 participants