mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 04:04:25 +08:00
Add to_url() return type (#4831)
This commit is contained in:
6
third_party/2and3/werkzeug/routing.pyi
vendored
6
third_party/2and3/werkzeug/routing.pyi
vendored
@@ -112,7 +112,7 @@ class BaseConverter:
|
||||
map: Any
|
||||
def __init__(self, map): ...
|
||||
def to_python(self, value): ...
|
||||
def to_url(self, value): ...
|
||||
def to_url(self, value) -> str: ...
|
||||
|
||||
class UnicodeConverter(BaseConverter):
|
||||
regex: Any
|
||||
@@ -133,7 +133,7 @@ class NumberConverter(BaseConverter):
|
||||
max: Any
|
||||
def __init__(self, map, fixed_digits: int = ..., min: Optional[Any] = ..., max: Optional[Any] = ...): ...
|
||||
def to_python(self, value): ...
|
||||
def to_url(self, value): ...
|
||||
def to_url(self, value) -> str: ...
|
||||
|
||||
class IntegerConverter(NumberConverter):
|
||||
regex: Any
|
||||
@@ -147,7 +147,7 @@ class FloatConverter(NumberConverter):
|
||||
class UUIDConverter(BaseConverter):
|
||||
regex: Any
|
||||
def to_python(self, value): ...
|
||||
def to_url(self, value): ...
|
||||
def to_url(self, value) -> str: ...
|
||||
|
||||
DEFAULT_CONVERTERS: Any
|
||||
|
||||
|
||||
Reference in New Issue
Block a user