Re: [vpp-dev] Python API modules

2020-11-18 Thread Paul Vinciguerra
On Wed, Nov 18, 2020 at 4:38 AM wrote: > > I think that generating the python code makes the most sense. The body > of the code can still defer to the dynamically generated object, since it's > not available until runtime anyway, but the user no longer has to resort to > using lambdas because of

Re: [vpp-dev] Python API modules

2020-11-18 Thread Ole Troan
> I think that generating the python code makes the most sense. The body of > the code can still defer to the dynamically generated object, since it's not > available until runtime anyway, but the user no longer has to resort to using > lambdas because of the deferred bindings. Could you ell

Re: [vpp-dev] Python API modules

2020-11-17 Thread Paul Vinciguerra
I think that generating the python code makes the most sense. The body of the code can still defer to the dynamically generated object, since it's not available until runtime anyway, but the user no longer has to resort to using lambdas because of the deferred bindings. I imagined it would work l

Re: [vpp-dev] Python API modules

2020-11-16 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco) via lists.fd.io
day, 2020-November-16 15:16 To: Paul Vinciguerra Cc: Vratko Polak -X (vrpolak - PANTHEON TECH SRO at Cisco) ; Marcos - Mgiga ; vpp-dev Subject: Re: [vpp-dev] Python API modules Hi Paul, > He/Vratko removed me as one of the maintainers of papi. > https://gerrit.fd.io/r/c/vpp/+/22672.

Re: [vpp-dev] Python API modules

2020-11-16 Thread Ole Troan
Hi Paul, > He/Vratko removed me as one of the maintainers of papi. > https://gerrit.fd.io/r/c/vpp/+/22672. I'm cool with not being a maintainer, > kinda funny that it was stuffed into another changeset. I have been called > out repeatedly for submitting unrelated changes ;) My apologies, so

Re: [vpp-dev] Python API modules

2020-11-14 Thread Ole Troan
Hi Paul, Picking off one issue at the time. > Why won't Ole, as maintainer, allow it? > > The build system uses something called vppapigen to generate the c include > files and the json files. It could as easily generate static stubs so that > development with python could be usable without a

Re: [vpp-dev] Python API modules

2020-11-13 Thread Marcos - Mgiga
Marcos - Mgiga , vpp-dev , Ole Troan Subject: Re: [vpp-dev] Python API modules Hi Marcos.Yes. Your assumption is correct. A library user expects access to the library.I'm going to ask the question that you haven't.Why won't Ole, as maintainer, allow it?The build system uses

Re: [vpp-dev] Python API modules

2020-11-13 Thread Paul Vinciguerra
gt; > Vratko. > > > > [0] > https://github.com/FDio/vpp/blob/66d10589f412d11841c4c8adc0a498b5527e88cb/src/vpp-api/python/vpp_papi/vpp_papi.py#L834-L836 > > > > *From:* vpp-dev@lists.fd.io *On Behalf Of *Ole Troan > *Sent:* Friday, 2020-November-13 15:51 > *To:* Marc

Re: [vpp-dev] Python API modules

2020-11-13 Thread Vratko Polak -X (vrpolak - PANTHEON TECHNOLOGIES at Cisco)
ists.fd.io On Behalf Of Ole Troan Sent: Friday, 2020-November-13 15:51 To: Marcos - Mgiga Cc: vpp-dev Subject: Re: [vpp-dev] Python API modules Hi Marcos, On 13 Nov 2020, at 15:08, Marcos - Mgiga mailto:mar...@mgiga.com.br>> wrote:  Hello There, I believe this is a trivial ques

Re: [vpp-dev] Python API modules

2020-11-13 Thread Ole Troan
Hi Marcos, > On 13 Nov 2020, at 15:08, Marcos - Mgiga wrote: > >  > > > Hello There, > > I believe this is a trivial question, but where / how can I get a list of all > avaialble Python modules to use in VPP API. > You can’t. They are auto generated from the available json representations of

[vpp-dev] Python API modules

2020-11-13 Thread Marcos - Mgiga
Hello There, I believe this is a trivial question, but where / how can I get a list of all avaialble Python modules to use in VPP API. Best Regards -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18010): https://lists.fd.io/g/vpp-dev/m