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

Code generation failing in Python #206

Closed
weslenng opened this issue Aug 6, 2020 · 3 comments · Fixed by #215
Closed

Code generation failing in Python #206

weslenng opened this issue Aug 6, 2020 · 3 comments · Fixed by #215

Comments

@weslenng
Copy link

weslenng commented Aug 6, 2020

I'm trying to do #202 but cargo run -- generate fail with:

thread 'main' panicked at '[TODO: coerce_py(Sequence(Record("TodoEntry")))]', uniffi/src/bindings/python/gen_python.rs:97:18
  • Mac OS Mojave 10.14.6
  • Python 3.8.3

┆Issue is synchronized with this Jira Task

@tarikeshaq
Copy link
Contributor

Hi @weslenng! Thanks for uncovering this! it's a by-product of not having support for sequences yet in Python 😢 I added a comment in #202 that might help unblock you if you were on it. Let me know if you have any questions!

@rfk
Copy link
Collaborator

rfk commented Aug 7, 2020

Hi @weslenng, just want to give you a heads-up as well, we recently landed a pretty significant restructuring of the code in #205. I don't think it should affect much of the details of what you're working, but it has probably moved some of the files around!

@weslenng
Copy link
Author

weslenng commented Aug 7, 2020

Hi @weslenng, just want to give you a heads-up as well, we recently landed a pretty significant restructuring of the code in #205. I don't think it should affect much of the details of what you're working, but it has probably moved some of the files around!

Hi, I took a look at #205 and it was a really interesting code restructuring.
I'll start doing on top of it, thank you for letting me know!

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 a pull request may close this issue.

3 participants