lajoskatona | gtema: Hi , I would like to ask about your OpenAPI work (https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/BU5JH7FJ5VPS75QWPW47IYSZOFDI5R2W/ ) | 09:07 |
---|---|---|
lajoskatona | gtema: I added this topic to today's Neutron meeting | 09:08 |
lajoskatona | to have some more attention. | 09:08 |
lajoskatona | gtema: do you think that as Neutron team can somehow help this effort? Or perhaps from the other perspective: how users can benefit from it and how we can make this experience better and more visible? | 09:09 |
gtema | lajoskatona: I could participate probably in the meeting to answer all questions. When is it? | 09:15 |
gtema | generally yes, there is both how Neutron team can help me and how users can benefit from it | 09:16 |
lajoskatona | gtema: the meeting is from 1400UTC, I added the topic to the ondemand agenda, as that is at the end of the meeting usually I can ping you | 09:24 |
lajoskatona | gtema: thanks for your time | 09:24 |
gtema | perfect, thanks | 09:24 |
opendevreview | Stephen Finucane proposed openstack/openstacksdk master: RFC: Statically typed resources https://review.opendev.org/c/openstack/openstacksdk/+/902087 | 14:49 |
stephenfin | gtema: Think you might be interested in ^. It could work quite nicely with your OpenAPI stuff, either as a source or (more likely now) as an output of the OpenAPI schemas | 14:51 |
stephenfin | super WIP! | 14:51 |
gtema | stephenfin - if you end up in a better design of individual resources we can definitely generate it new style from openapi | 14:59 |
gtema | that is what I was roughly thinking of | 14:59 |
gtema | I actually thought of starting using pydantic for resources and generate as a code all the parameter mapping (for every api call, since the dynamics of attributes_iterator are too expensive | 15:00 |
stephenfin | Yeah, I think we'd be able to do that with the above example, since the base class only describes the resource while the nested classes describe the various request parameters (CRUD) | 15:01 |
stephenfin | It's just a case of figuring out a way to (a) implement it and (b) have a gradual transition that doesn't necessitate us rewriting everything at once | 15:02 |
stephenfin | unless I can learn how to use codepilot and train it to do that for me | 15:02 |
stephenfin | :) | 15:02 |
gtema | :) | 15:02 |
gtema | I think it should not be a big deal even having multiple iterations of the regeneration (step-by-step) | 15:03 |
gtema | I now already have experience (lol) of using inspect.getcode/obj) and looking at the code | 15:04 |
gtema | so generally we could gradually regenerate code by slowly adding bits into the existing code | 15:04 |
opendevreview | Merged openstack/keystoneauth master: Fix "dictionary changed size during iteration" https://review.opendev.org/c/openstack/keystoneauth/+/900530 | 15:27 |
opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adding CLI support for ``glance image-create-via-import`` https://review.opendev.org/c/openstack/python-openstackclient/+/893022 | 15:52 |
opendevreview | Stephen Finucane proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | 16:54 |
opendevreview | Benjamin Alan Beasley proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | 17:00 |
opendevreview | Benjamin Alan Beasley proposed openstack/cliff master: Use importlib.metadata on Python 3.10+ https://review.opendev.org/c/openstack/cliff/+/859579 | 17:08 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!