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