🏷️ fix docstring hints

This commit is contained in:
Ondrej Samohel 2022-11-11 15:08:55 +01:00
parent 9d304f07da
commit cae09e0002
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -389,10 +389,11 @@ def get_subset_by_name(project_name, subset_name, asset_id, fields=None):
returned if 'None' is passed.
Returns:
None: If subset with specified filters was not found.
Dict: Subset document which can be reduced to specified 'fields'.
"""
Union[str, Dict]: None if subset with specified filters was not found.
or dict subset document which can be reduced to
specified 'fields'.
"""
if not subset_name:
return None