File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,7 @@ def build_route_operation( # type:ignore
8686 self .endpoint_parameter_model = self .request_endpoint_args_model (
8787 path = self .path_format ,
8888 endpoint = self .endpoint ,
89- operation_unique_id = self .get_operation_unique_id (
90- methods = list (self .methods )
91- ),
89+ operation_unique_id = self .get_operation_unique_id (methods = self .methods ),
9290 param_converters = self .param_convertors ,
9391 )
9492
@@ -113,7 +111,9 @@ def _load_model(self) -> None:
113111 route_responses = self ._defined_responses # type: ignore
114112 )
115113
116- def get_operation_unique_id (self , methods : t .Union [t .Sequence [str ], str ]) -> str :
114+ def get_operation_unique_id (
115+ self , methods : t .Union [t .Set [str ], t .Sequence [str ], str ]
116+ ) -> str :
117117 _methods : t .Sequence [str ] = (
118118 list (methods ) if isinstance (methods , set ) else [t .cast (str , methods )]
119119 )
You can’t perform that action at this time.
0 commit comments