search for: 3640ee39a

Displaying 3 results from an estimated 3 matches for "3640ee39a".

2020 Jul 06
2
[PATCH] python: Add type hints
...d we can use the new python3 syntax for type hints. Signed-off-by: Sam Eiderman <sameid@google.com> --- generator/python.ml | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/generator/python.ml b/generator/python.ml index f0d6b5d96..3640ee39a 100644 --- a/generator/python.ml +++ b/generator/python.ml @@ -685,6 +685,7 @@ logvols = g.lvs() import os import sys import libguestfsmod +from typing import Union, List, Tuple, Optional "; @@ -802,14 +803,44 @@ class GuestFS(object): fun f -> let ret, args, optargs = f...
2020 Jul 06
0
Re: [PATCH] python: Add type hints
....5 still. Rich. > Signed-off-by: Sam Eiderman <sameid@google.com> > --- > generator/python.ml | 39 +++++++++++++++++++++++++++++++++++---- > 1 file changed, 35 insertions(+), 4 deletions(-) > > diff --git a/generator/python.ml b/generator/python.ml > index f0d6b5d96..3640ee39a 100644 > --- a/generator/python.ml > +++ b/generator/python.ml > @@ -685,6 +685,7 @@ logvols = g.lvs() > import os > import sys > import libguestfsmod > +from typing import Union, List, Tuple, Optional > > "; > > @@ -802,14 +803,44 @@ class GuestFS(obje...
2020 Jul 07
1
Re: [PATCH] python: Add type hints
...-off-by: Sam Eiderman <sameid@google.com> > > --- > > generator/python.ml | 39 +++++++++++++++++++++++++++++++++++---- > > 1 file changed, 35 insertions(+), 4 deletions(-) > > > > diff --git a/generator/python.ml b/generator/python.ml > > index f0d6b5d96..3640ee39a 100644 > > --- a/generator/python.ml > > +++ b/generator/python.ml > > @@ -685,6 +685,7 @@ logvols = g.lvs() > > import os > > import sys > > import libguestfsmod > > +from typing import Union, List, Tuple, Optional > > > > "; > >...