l.s.f.URIField(TextLine) : class documentation

Part of lp.services.fields View In Hierarchy

Known subclasses: lp.bugs.interfaces.bugtracker.BugTrackerURL, lp.code.interfaces.branch.BranchURIField, lp.registry.interfaces.distributionmirror.DistroMirrorURIField

No class docstring
Method __init__ Undocumented
Method set Canonicalize a URL and set it as a field value.
Method normalize See IURIField.
Method _validate Ensure the value is a valid URI.
def __init__(self, allowed_schemes=(), allow_userinfo=True, allow_port=True, allow_query=True, allow_fragment=True, trailing_slash=None, **kwargs):
Undocumented
def set(self, object, value):
Canonicalize a URL and set it as a field value.
def normalize(self, input):
See IURIField.
def _validate(self, value):
Ensure the value is a valid URI.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.