Skip to content

Accepting Union types for function arguments  #301

@mehcode

Description

@mehcode

I'd like to define a #[pyfunction] that accepts either a String or some custom #[pyclass].

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions