@@ -249,6 +249,7 @@ class BazaarType(StringEnum):
249249
250250 @property
251251 def subtopic (self ):
252+ """The subtopic argument for this Bazaar type."""
252253 return "currentcharactertrades" if self == self .CURRENT else "pastcharactertrades"
253254
254255
@@ -388,15 +389,18 @@ class NewsCategory(StringEnum):
388389
389390 @property
390391 def filter_name (self ):
392+ """The name of the filter parameter for this value."""
391393 return f"filter_{ self .value } "
392394
393395 @property
394396 def big_icon_url (self ):
397+ """The URL to the big icon representing this category."""
395398 from tibiapy .urls import get_static_file_url
396399 return get_static_file_url ("images" , "global" , "content" , f"newsicon_{ self .value } _big.gif" )
397400
398401 @property
399402 def small_icon_url (self ):
403+ """The URL to the small icon representing this category."""
400404 from tibiapy .urls import get_static_file_url
401405 return get_static_file_url ("images" , "global" , "content" , f"newsicon_{ self .value } _small.gif" )
402406
@@ -410,10 +414,12 @@ class NewsType(StringEnum):
410414
411415 @property
412416 def filter_name (self ):
417+ """The filter parameter name for this value."""
413418 return f"filter_{ self .value .split (' ' )[- 1 ].lower ()} "
414419
415420 @property
416421 def filter_value (self ):
422+ """The filter parameter value for this value."""
417423 return self .value .split (" " )[- 1 ].lower ()
418424
419425
@@ -552,6 +558,7 @@ class Vocation(StringEnum):
552558
553559 @property
554560 def base (self ):
561+ """The base vocation of this vocation if promoted. If not promoted, the same value is returned."""
555562 if self == self .ELDER_DRUID :
556563 return self .DRUID
557564 elif self == self .MASTER_SORCERER :
0 commit comments