Skip to content
YosoiDocs

WebTarget

yosoi.request.WebTarget

class WebTarget(ValidatedString):

Authored request target; Rust defers URL validation until preparation.

Source: python/yosoi/request.py:56

ValidatedString

Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.

@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.

Source: python/yosoi/request.py:62