Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spacether
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
spacether
2y ago
Glad to hear that you like it! Yup that's the process. Titles are in a relational db and fetched titles for a rhyme are stored in redis to speed up queries after the first one.
2.
▲
Show HN: Puns from Wikipedia Page Titles
(punnily.com)
32 points
by
spacether
2y ago
|
18 comments
3.
▲
by
spacether
3y ago
Version 3.3.0 released, allowing easy to use openapi v3.1.0 code generation. Use apis in python with full typing on inputs and outputs. >66% of the new json schema keywords have been implemented including: - const: only string values are
4.
▲
by
spacether
3y ago
If you need a python client code generator for your openapi document please check out the project. It has type hints everywhere, passes mypy checks, and supports composition and multiple content types.
5.
▲
OpenAPI JSON Schema generator v3.0.0 released
(github.com)
1 points
by
spacether
3y ago
|
1 comments
6.
▲
by
spacether
3y ago
Thanks. I posted it there and it was closed as opinion based: https://stackoverflow.com/questions/76483545/what-are-indust...
7.
▲
Python: Best way to require a key value pair (with invalid key identifier)?
1 points
by
spacether
3y ago
|
2 comments
8.
▲
by
spacether
4y ago
The v6.2.0 python client uses type hints everywhere so model property access gives typed results Endpoint inputs are typed. Endpoint responses are typed so you know what deserialized body models you are getting back. Have you tried it?
9.
▲
by
spacether
4y ago
Have you taken a look at the v6.2.0 and onward 'python' client? It uses type hints, and model new instantiation includes required and optional property signatures. I am the author of that newer python generator.
10.
▲
New auto-generated python api client released
(github.com)
2 points
by
spacether
5y ago
|
1 comments
11.
▲
by
spacether
5y ago
For developers out there who use openapi to auto-generate documentation and client libraries. If you need to do this in python, please consider using the new https://github.com/OpenAPITools/openapi-generator/blob&#