diff --git a/pyvo/dal/sia2.py b/pyvo/dal/sia2.py index 113e32f9..1d09fc19 100644 --- a/pyvo/dal/sia2.py +++ b/pyvo/dal/sia2.py @@ -163,8 +163,10 @@ def __init__(self, baseurl, *, capability_description=None, session=None, check_ Parameters ---------- - url : str + baseurl : str url - URL of the SIA2service (base or query endpoint) + capability_description : str + Optional description of the service. session : object optional session to use for network requests check_baseurl : bool diff --git a/pyvo/mivot/utils/mivot_utils.py b/pyvo/mivot/utils/mivot_utils.py index 17573fca..6da26d61 100644 --- a/pyvo/mivot/utils/mivot_utils.py +++ b/pyvo/mivot/utils/mivot_utils.py @@ -293,7 +293,7 @@ def populate_instance(property_instance, class_name, Table (from parsed VOTable) of the mapped data dmtype : string common dmtype of object attributes - as_literal : boolean, optional (default isTrue) + as_literals : boolean, optional (default is True) If True, all attribute are set with literal values (@value="...") package : str, optional (default as None) Package name possibly prefixing dmroles diff --git a/pyvo/registry/rtcons.py b/pyvo/registry/rtcons.py index 32ac97d0..8b80bcf7 100644 --- a/pyvo/registry/rtcons.py +++ b/pyvo/registry/rtcons.py @@ -1041,7 +1041,7 @@ def __init__(self, times, *, inclusive=False): Parameters ---------- - spec : astropy.Time or a 2-tuple of astropy.Time-s + times : astropy.Time or a 2-tuple of astropy.Time-s A point in time or time interval to cover. Plain numbers are interpreted as MJD. All resources *overlapping* the interval are returned. diff --git a/pyvo/utils/xml/elements.py b/pyvo/utils/xml/elements.py index 40dfa846..db623172 100644 --- a/pyvo/utils/xml/elements.py +++ b/pyvo/utils/xml/elements.py @@ -27,7 +27,7 @@ def parse_for_object( ---------- source : str or readable file-like object Path or file object containing a tableset xml file. - object : object type to return (subtype `~pyvo.utils.xml.elements.Element`) + object_type : object type to return (subtype `~pyvo.utils.xml.elements.Element`) pedantic : bool, optional When `True`, raise an error when the file violates the spec, otherwise issue a warning. Warnings may be controlled using