| ▲ | bloaf 6 hours ago | |
I've always thought the flexibility should allow python to consume things like gRPC proto files or OpenAPI docs and auto-generate the classes/methods at runtime as opposed to using codegen tools. But as far as I know, there aren't any libraries out there actually doing that. | ||
| ▲ | haimez 2 hours ago | parent | next [-] | |
Generating code at runtime is often an anti-goal because you can’t easily introspect it. “Build-time” generation gives you that, but print often choose to go further and check the generated code to source control to be able to see the change history. | ||
| ▲ | skeledrew 4 hours ago | parent | prev [-] | |
But it's an fairly easy build if you want any of that. | ||