WebTarget
yosoi.request.WebTarget
class WebTarget(ValidatedString):
Authored request target; Rust defers URL validation until preparation.
Source: python/yosoi/request.py:56
Base classes
Section titled “Base classes”Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Methods
Section titled “Methods”@classmethod
def new(cls, value: str) -> WebTarget:
Retain target text without URL validation or network I/O.
Args: value: Original target text to validate during request preparation.
Returns: A string value whose construction does not prove that the URL is usable.