Skip to content

Conversation

@ingomueller-net
Copy link
Collaborator

This PR fixes and improves the type annotations for the export functions to_(json|protobuf|text). The fix consists of removing the Optional part for a manually defined signature that wasn't actually optional. The improvement consists of allowing OpView in addition to Operation, both of which can be accepted for an MlirOperation argument.

This PR fixes and improves the type annotations for the export functions
`to_(json|protobuf|text)`. The fix consists of removing the `Optional`
part for a manually defined signature that wasn't actually optional. The
improvement consists of allowing `OpView` in addition to `Operation`,
both of which can be accepted for an `MlirOperation` argument.

Signed-off-by: Ingo Müller <[email protected]>
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.

1 participant