Teymour Aldridge

Results 93 comments of Teymour Aldridge

I think I've solved in my case by reworking the types I'm using to not be mutually recursive.

Ah sorry, my inbox filter seemed to miss your earlier message. A regex-conforming mutator would be awesome! An arbitrary string-based one would be useful to, but I would imagine is...

@nathaniel-daniel patches are welcome!

> Why do you think it has to be a macro? A macro is nicer in this case because it's easier to return compile errors which reduce the need for...

> How would a macro return a compile-time error? There's a compiler built-in macro called `[compile_error!](https://doc.rust-lang.org/stable/std/macro.compile_error.html)`; if a macro outputs that in the code it generates, the compiler fails the...

> Have you considered using [arrow2-convert](https://github.com/DataEngineeringLabs/arrow2-convert)? @ncpenke designed a very neat API specifically for this use-case. I have; it solved my issue (thanks!) > I think that this issue is...

I'm on MacOS Catalina 10.15.6, using Instruments version 12.4.

> does this work for you? That example does work for me.

```python @app.get("/") def read_root(): return {"Hello": "World"} ``` Surely the expected behaviour here is to return `{"Hello": "World"}`? If you want this function to return `{"Hello": "Sara"}` you'd probably need...