Re: Publishing the REST Catalog Spec as a Python Package

2025-09-06 Thread Fokko Driesprong
Hey Alex, Thanks for raising this, and I'm happy to provide some historical context around this. Back in the days when developing PyIceberg, I've tried to purely rely on the output of the generator that we use for producing rest-catalog-open-api.py, however, I quickly noticed that the structure t

Re: Publishing the REST Catalog Spec as a Python Package

2025-09-06 Thread Ryan Blue
I don't think this is a good idea. We make no effort to ensure that the auto-generated Python code is usable. It's mainly for reference. Anyone can take the spec and generate code if that's what they want to do, so I don't think the project needs to be responsible for it. On Fri, Sep 5, 2025 at 4:

Publishing the REST Catalog Spec as a Python Package

2025-09-05 Thread Alex Stephen
Hi all, I noticed that we generate a set of Python models containing Request/Response objects for the REST Catalog. PyIceberg has recreated many of these models