Skip to content

Implement Model query methods and Drop#258

Open
alessandroforina wants to merge 2 commits into
metatomic-corefrom
alessandro-metatomic-core
Open

Implement Model query methods and Drop#258
alessandroforina wants to merge 2 commits into
metatomic-corefrom
alessandro-metatomic-core

Conversation

@alessandroforina
Copy link
Copy Markdown

@alessandroforina alessandroforina commented Jun 4, 2026

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

📚 Download documentation for this pull-request

Copy link
Copy Markdown
Member

@Luthaf Luthaf left a comment

Choose a reason for hiding this comment

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

Looks good overall, thanks! Do you think you could add some test as well? Implementing a basic mta_model_t and using it here.

return Ok(json_str);
}

pub fn metadata(&self) -> Result<ModelMetadata, Error> {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All functions should have some documentation

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