This commit is contained in:
Jesse Bannon 2022-11-10 22:10:14 -08:00
parent ea51387888
commit 2e52e595bc

View file

@ -71,9 +71,9 @@ class UrlValidator(StrictDictValidator):
@property
def url(self) -> OverridesStringFormatterValidator:
"""
Required. URL to download from, listed in priority from lowest (top) to highest (bottom). If a
download exists in more than one URL, it will resolve to the bottom-most one and inherit
those variables.
Required. URL to download from, listed in priority from lowest (top) to highest (bottom).
If a download exists in more than one URL, it will resolve to the bottom-most one and
inherit those variables.
"""
return self._url
@ -182,9 +182,9 @@ class MultiUrlValidator(StrictDictValidator, AddsVariablesMixin):
@property
def variables(self) -> DictFormatterValidator:
"""
Optional. Source variables to add to each entry downloaded from its respective :ref:`url`. The top-most
:ref:`url` must define all possible variables. Other :ref:`url` entries can redefine all of them or a subset of
the top-most variables.
Optional. Source variables to add to each entry downloaded from its respective :ref:`url`.
The top-most :ref:`url` must define all possible variables. Other :ref:`url` entries can
redefine all of them or a subset of the top-most variables.
"""
# keep for readthedocs documentation
return self._urls.list[0].variables