File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
scaleway-async/scaleway_async/lb/v1 Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1133,6 +1133,12 @@ def unmarshal_RouteMatch(data: Any) -> RouteMatch:
11331133 else :
11341134 args ["host_header" ] = None
11351135
1136+ field = data .get ("path_begin" , None )
1137+ if field is not None :
1138+ args ["path_begin" ] = field
1139+ else :
1140+ args ["path_begin" ] = None
1141+
11361142 return RouteMatch (** args )
11371143
11381144
@@ -2044,6 +2050,7 @@ def marshal_RouteMatch(
20442050 [
20452051 OneOfPossibility ("sni" , request .sni ),
20462052 OneOfPossibility ("host_header" , request .host_header ),
2053+ OneOfPossibility ("path_begin" , request .path_begin ),
20472054 ]
20482055 ),
20492056 )
Original file line number Diff line number Diff line change @@ -984,6 +984,8 @@ class RouteMatch:
984984
985985 host_header : Optional [str ]
986986
987+ path_begin : Optional [str ]
988+
987989
988990@dataclass
989991class CreateCertificateRequestCustomCertificate :
Original file line number Diff line number Diff line change @@ -1133,6 +1133,12 @@ def unmarshal_RouteMatch(data: Any) -> RouteMatch:
11331133 else :
11341134 args ["host_header" ] = None
11351135
1136+ field = data .get ("path_begin" , None )
1137+ if field is not None :
1138+ args ["path_begin" ] = field
1139+ else :
1140+ args ["path_begin" ] = None
1141+
11361142 return RouteMatch (** args )
11371143
11381144
@@ -2044,6 +2050,7 @@ def marshal_RouteMatch(
20442050 [
20452051 OneOfPossibility ("sni" , request .sni ),
20462052 OneOfPossibility ("host_header" , request .host_header ),
2053+ OneOfPossibility ("path_begin" , request .path_begin ),
20472054 ]
20482055 ),
20492056 )
Original file line number Diff line number Diff line change @@ -984,6 +984,8 @@ class RouteMatch:
984984
985985 host_header : Optional [str ]
986986
987+ path_begin : Optional [str ]
988+
987989
988990@dataclass
989991class CreateCertificateRequestCustomCertificate :
You can’t perform that action at this time.
0 commit comments