1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-11-04 09:22:29 +01:00

Add versionadded doc annotation for is_business_account and business_category_name

This commit is contained in:
Alexander Graf 2020-05-11 20:24:04 +02:00
parent dcba25a40e
commit e7437310ea

View File

@ -656,10 +656,12 @@ class Profile:
@property @property
def is_business_account(self) -> bool: def is_business_account(self) -> bool:
""".. versionadded:: 4.4"""
return self._metadata('is_business_account') return self._metadata('is_business_account')
@property @property
def business_category_name(self) -> str: def business_category_name(self) -> str:
""".. versionadded:: 4.4"""
return self._metadata('business_category_name') return self._metadata('business_category_name')
@property @property