Web-Related Extras¶
-
class
properties.extras.URL(doc, **kwargs)[source]¶ String property that only accepts valid URLs
This property type uses
urllib.parseto validate input URLs and possibly remove fragments and query params.Available keywords (in addition to those inherited from
String):- remove_parameters - Query params are stripped from input URL (default is False).
- remove_fragment - Fragment is stripped from input URL (default is False).